OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: mysql support won't work--but no errors

From: Keith Matthews (keith_msweeney.demon.co.uk)
Date: Wed Oct 01 2003 - 21:21:00 CDT


On Wed, 01 Oct 2003 21:10:12 -0400
lmh <lhdex.com> wrote:

> >
> I spoke a bit too soon. Now I have a compiled and installed Postfix
> system. However when I start it I get the following message in
> /var/log/mail/warnings:
>
> Oct 1 20:29:50 paris postfix/cleanup[29243]: warning: connect to mysql server unix:/var/lib/mysql/mysql.sock: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
> Oct 1 20:29:50 paris postfix/cleanup[29243]: warning: 12904149E9: virtual_alias_maps map lookup problem for avalidusermyvaliddomain.com
> Oct 1 20:29:50 paris postfix/cleanup[29243]: warning: 12904149E9: skipping further client input
> Oct 1 20:29:50 paris postfix/pickup[29241]: warning: maildrop/308F15C3FC: Error writing message file
>
> The system then throttles.
>
> The line which reads
>
> unix:/var/lib/mysql/mysql.sock:
>
>
> originally read:
>
> Oct 1 20:08:12 paris postfix/cleanup[28793]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
>
> I tried changing the hosts = localhost line in mysql-
> canonical.cf, mysql-virtual.cf and mysql-mysdestination.cf. I have also
> changed the entry in master.cf for smtpd to read "n" in the chroot column.
>

Check where MySQL is actually listening using netstat -l.