Topic: iredmail error connecting to mysql
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: iRedMail-0.8.3.
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 5.6
- Related log if you're reporting an issue:
====
After a power outage our iRedMail is broken. Both Postfix, Dovecot, mysqld, Httpd are running but users are getting prompts to enter their passwords. It seems iRedMail cannot connect to the mysql server which has been evident from Roundcube and Postfix logs. However, am able to login to iRedAdmin website.
Please assist on what my be the issue
May 29 16:53:36 MxSvr postfix/error[4700]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
relay=127.0.0.1[127.0.0.1]:10024, delay=4718, delays=4717/0.02/0/1.2, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=04337-03, sql-enter FAILED: connect_to_sql: unable to connect to any dataset at (eval 87) line 241, <GEN20> line 16. (in reply to end of DATA command))
May 29 16:53:36 MxSvr postfix/error[4702]: 73E491580032: to=<xxxxxxxxxxxxxx>, relay=none, delay=934, delays=932/1.2/0/1, dsn=4.3.0, status=deferred (unknown mail transport error)
May 29 16:53:36 MxSvr postfix/error[4702]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:36 MxSvr postfix/smtp[4698]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:37 MxSvr postfix/error[4705]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:37 MxSvr postfix/qmgr[4696]: warning: private/retry socket: malformed response
May 29 16:53:37 MxSvr postfix/qmgr[4696]: warning: transport retry failure -- see a previous warning/fatal/panic logfile record for the problem description
May 29 16:53:37 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/error pid 4700 exit status 1
May 29 16:53:37 MxSvr postfix/master[4203]: warning: /usr/libexec/postfix/error: bad command startup -- throttling
May 29 16:53:37 MxSvr postfix/error[4707]: 73E491580032: to=<maurice@xxxxxxxxx>, relay=none, delay=935, delays=932/1.3/0/2, dsn=4.3.0, status=deferred (unknown mail transport error)
May 29 16:53:37 MxSvr postfix/error[4707]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:37 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/smtp pid 4698 exit status 1
May 29 16:53:37 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/error pid 4702 exit status 1
May 29 16:53:37 MxSvr postfix/qmgr[4696]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:37 MxSvr postfix/error[4701]: fatal: proxy:mysql:/etc/postfix/mysql/relay_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:38 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/error pid 4705 exit status 1
May 29 16:53:38 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/error pid 4707 exit status 1
May 29 16:53:38 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/qmgr pid 4696 exit status 1
May 29 16:53:38 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/error pid 4701 exit status 1
May 29 16:53:43 MxSvr postfix/proxymap[4634]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
May 29 16:53:43 MxSvr postfix/proxymap[4634]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
May 29 16:53:43 MxSvr postfix/trivial-rewrite[4711]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:43 MxSvr postfix/trivial-rewrite[4712]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:43 MxSvr postfix/trivial-rewrite[4713]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
May 29 16:53:44 MxSvr postfix/smtpd[4608]: warning: problem talking to service rewrite: Success
May 29 16:53:44 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4711 exit status 1
May 29 16:53:44 MxSvr postfix/master[4203]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
May 29 16:53:44 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4712 exit status 1
May 29 16:53:44 MxSvr postfix/smtpd[4633]: warning: problem talking to service rewrite: Success
May 29 16:53:44 MxSvr postfix/master[4203]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4713 exit status 1
May 29 16:53:44 MxSvr postfix/smtpd[4672]: warning: problem talking to service rewrite: Success
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.