I did chorrt modification , no luck....

Next I modified in maps config files , I changed the line
hosts = localhost
to
hosts = 127.0.0.1

After that I find below error

Oct 19 23:03:24 Kamal postfix/master[2336]: daemon started -- version
2.9.6, configuration /etc/postfix
Oct 19 23:03:24 Kamal postfix/pickup[2339]: 34292C259E: uid=0 from=<root>
Oct 19 23:03:24 Kamal postfix/cleanup[2341]: warning: connect to mysql
server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)

Probably this time connection refused, any kind of permission issue



Now my question is which DB user on behalf of postfix is trying to connect
to DB.
If I can find this, probably I can give permission accordingly.

Thanks
Austin





On Mon, Oct 20, 2014 at 2:17 AM, Wietse Venema <wie...@porcupine.org> wrote:

> Austin Einter:
> > 29617 Oct 19 13:33:37 Austin postfix/cleanup[2139]: warning: connect to
> > mysql server localhost: Can't connect to local MySQL server through
> > socke      t '/var/run/mysqld/mysqld.sock' (2)
>
> Error 2 means "No such file or directory".
>
> As someone already posted here, is the MyqSQL daemon running?
>
> If the daemon is running, then turn off chroot as per instructions
> at http://www.postfix.org/DEBUG_README.html#no_chroot.
>
>         Wietse
>

Reply via email to