Re: [courier-users] Courier-IMAP and MySQL problem

This is a discussion on Re: [courier-users] Courier-IMAP and MySQL problem within the Courier-Imap forums, part of the Mail Servers and Related category; *embarassed* and here I was thinking that it would automatically pick up the installation from a "registry" or ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-27-2005
Jonathan Chong
 
Posts: n/a
Default Re: [courier-users] Courier-IMAP and MySQL problem

*embarassed* and here I was thinking that it would automatically pick
up the installation from a "registry" or something, ala Windows.

Here's the output:

MySQL-server-standard-5.0.16-0.rhel4
MySQL-shared-standard-5.0.16-0.rhel3
courier-authlib-mysql-0.58-1
mysql-devel-3.23.58-16.RHEL3.1
MySQL-client-standard-5.0.16-0.rhel4

Thanks in advance for your help!


On 27/12/05, Lyndon Tiu <ltiu@alumni.sfu.ca> wrote:
>
> <sarcarsm>
> Aha! So if you don't know where it is, then how can Courier know where it=

is!?!!!
> </sarcasm>
>
> Try this command and send me the output and then I can tell you more:
>
> rpm -qa|grep -i mysql
>
> On Tue, 27 Dec 2005 16:53:13 0000 ashburrn@gmail.com wrote:
> > Hi
> >
> > Thanks for your reply.
> >
> > Sorry if this next question is a bit stupid, but my Linux knowledge is
> > very limited!
> >
> > How do I find out where the rpm for authlibmysql was installed?
> >
> >
> >
> > On 27/12/05, Lyndon Tiu <ltiu@alumni.sfu.ca> wrote:
> > >
> > > I believe you have to somehow tell Courier where authlibmysql is

> > installed.
> > >
> > > Usually, you do this from the command line:
> > >
> > > export LD_LIBRARY_PATH=3D<location of authlibmysql>:$LD_LIBRARY_PATH
> > >
> > > Then restart courier.
> > >
> > > Try that hopefully it works for you.
> > >
> > >
> > > On Tue, 27 Dec 2005 16:32:37 0000 ashburrn@gmail.com wrote:
> > > > Hi
> > > >
> > > > I installed Courier-IMAP using RPMs, and together with authlib and
> > > > authmysql.
> > > >
> > > > I can login fine using authpam, everything works fine with that. Th=

e
> > > > problem is when I try to use authmysql.
> > > >
> > > > Here's my line in the authdaemonrc file:
> > > >
> > > > authmodulelist=3D"authmysql authpam"
> > > >
> > > > My db schema is the same as in the "/etc/authlib/authmysqlrc" file,
> > > > and the password was generated using mysql's encrypt function. To
> > > > double check, I also tried using Perl's crypt function to generate =

the
> > > > password but this didn't work either.
> > > >
> > > > Here's the output from the log when I try to login with the

> > authmysql user:
> > > >
> > > > Dec 27 16:25:53 vps authdaemond: stopping authdaemond children
> > > > Dec 27 16:25:53 vps authdaemond: modules=3D"authmysql authpam", dae=

mons=3D5
> > > > Dec 27 16:25:53 vps authdaemond: Installing libauthmysql
> > > > Dec 27 16:25:53 vps authdaemond: file not found
> > > > Dec 27 16:25:53 vps authdaemond: Installing libauthpam
> > > > Dec 27 16:25:53 vps authdaemond: Installation complete: authpam
> > > >
> > > > As you can see, it's saying that it can't find libauthmysql, but it=

is
> > > > installed. If I try to install the rpm again, it tells me that
> > > > libauthmysql is already installed.
> > > >
> > > > I'm using CentOS 3 on an AMD64 machine.
> > > >
> > > > Thanks.
> > > >
> > > > --
> > > > Jonathan Chong
> > > >
> > > > http://www.arsenal-now.com/
> > > > http://www.arsenal-mania.com/
> > > > http://www.ashburrn.com/
> > > > http://www.jonathan-chong.com/
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through =

log
> > > > files
> > > > for problems? Stop! Download the new AJAX search engine that make=

s
> > > > searching your log files as easy as surfing the web. DOWNLOAD SPL=

UNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick
> > > > _______________________________________________
> > > > courier-users mailing list
> > > > courier-users@lists.sourceforge.net
> > > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-u=

sers
> > >
> > >
> > > --
> > > Lyndon Tiu
> > >

> >
> >
> > --
> > Jonathan Chong
> >
> > http://www.arsenal-now.com/
> > http://www.arsenal-mania.com/
> > http://www.ashburrn.com/
> > http://www.jonathan-chong.com/

>
>
> --
> Lyndon Tiu
>



--
Jonathan Chong

http://www.arsenal-now.com/
http://www.arsenal-mania.com/
http://www.ashburrn.com/
http://www.jonathan-chong.com/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0