HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Major recovery (http://www.howtoforge.com/forums/showthread.php?t=53604)

Toucan 1st August 2011 10:42

Major recovery
 
Sunday was a bad day...

I had one debian Lenny master dedicated server controlling a debian Lenny virtual machine at a data centre.

The virtual slave hung and on reboot couldn't get past the grub loader. I was told there seemed significant damage to the file system.

As a result they created me a new virtual machine using the same name and same ip with the intention to get this working as if it were the original machine and attach the old hard drive to it to try and recover data.

The installation of ispconfig slave seemed to go well on the new machine. It is now added to the control panel alongside the old machine that is now off line.

My first question is how do I completely remove the old machine when it's not there to communicate with?

The new machine has two services offline. Smtp and mysql server. Mysql does appear to be working despite what's in the control panel.
How should I start to problem shoot smtp? Squirrel mail also complains of no smtp stream when sending mail.

Thanks In advance.

till 1st August 2011 12:05

Please take a look into the mail.log file in /var/log/ to find the reason for the email problem.

Toucan 1st August 2011 13:03

Good point. That folder is completely empty.

I guess something hadn't installed. I used the perfect guide for Lenny with courier and my dns.

If that folder is empty, is it courier or postfix or another that didn't install properly?

Toucan 1st August 2011 13:50

Cancel that.... the log file was not empty. It is as below:
Code:

Aug  1 12:42:28 badbison postfix/trivial-rewrite[22953]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:42:29 badbison postfix/smtpd[22035]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[20345]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22948 exit status 1
Aug  1 12:42:29 badbison postfix/master[22060]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 12:42:29 badbison postfix/smtpd[22433]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[19979]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22949 exit status 1
Aug  1 12:42:29 badbison postfix/smtpd[15890]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[21227]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22950 exit status 1
Aug  1 12:42:29 badbison postfix/smtpd[22445]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[22438]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22951 exit status 1
Aug  1 12:42:29 badbison postfix/smtpd[22512]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[18028]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22952 exit status 1
Aug  1 12:42:29 badbison postfix/smtpd[22816]: warning: problem talking to service rewrite: Success
Aug  1 12:42:29 badbison postfix/smtpd[22947]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:42:29 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22953 exit status 1
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22972]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22972]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22973]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22973]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22974]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22974]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22975]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22975]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22976]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22976]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22977]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 12:43:29 badbison postfix/trivial-rewrite[22977]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 12:43:30 badbison postfix/smtpd[22035]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[20345]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22972 exit status 1
Aug  1 12:43:30 badbison postfix/master[22060]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 12:43:30 badbison postfix/smtpd[22433]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[19979]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22973 exit status 1
Aug  1 12:43:30 badbison postfix/smtpd[15890]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[21227]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22974 exit status 1
Aug  1 12:43:30 badbison postfix/smtpd[22445]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[22438]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22975 exit status 1
Aug  1 12:43:30 badbison postfix/smtpd[22512]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[18028]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22976 exit status 1
Aug  1 12:43:30 badbison postfix/smtpd[22816]: warning: problem talking to service rewrite: Success
Aug  1 12:43:30 badbison postfix/smtpd[22947]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 12:43:30 badbison postfix/master[22060]: warning: process /usr/lib/postfix/trivial-rewrite pid 22977 exit status 1


Toucan 1st August 2011 14:20

having restarted mysql the control panel has now gone green, but squirrel mail still won't send mail. it just hangs.

The mail.log looks like this now, still reporting connection problems to mysql i think:
Code:

Aug  1 13:04:31 badbison imapd: LOGIN, user=test@testdom.com, ip=[::ffff:127.0.0.1], port=[39633], protocol=IMAP
Aug  1 13:04:31 badbison imapd: LOGOUT, user=test@testdom.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=119, sent=900, time=0
Aug  1 13:04:40 badbison postfix/trivial-rewrite[3464]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:04:40 badbison postfix/trivial-rewrite[3464]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:04:41 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:04:41 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3464 exit status 1
Aug  1 13:04:41 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:04:41 badbison postfix/smtpd[3465]: connect from localhost.localdomain[127.0.0.1]
Aug  1 13:05:03 badbison imapd: Connection, ip=[::ffff:127.0.0.1]
Aug  1 13:05:03 badbison imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Aug  1 13:05:03 badbison pop3d: Connection, ip=[::ffff:127.0.0.1]
Aug  1 13:05:03 badbison pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Aug  1 13:05:03 badbison postfix/smtpd[3499]: connect from localhost.localdomain[127.0.0.1]
Aug  1 13:05:03 badbison postfix/smtpd[3499]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Aug  1 13:05:03 badbison postfix/smtpd[3499]: disconnect from localhost.localdomain[127.0.0.1]
Aug  1 13:05:41 badbison postfix/trivial-rewrite[3531]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:05:41 badbison postfix/trivial-rewrite[3531]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:05:42 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:05:42 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:05:42 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3531 exit status 1
Aug  1 13:05:43 badbison postfix/trivial-rewrite[3532]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:05:43 badbison postfix/trivial-rewrite[3532]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:05:44 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:05:44 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:05:44 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3532 exit status 1
Aug  1 13:05:44 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:06:44 badbison postfix/trivial-rewrite[3547]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:06:44 badbison postfix/trivial-rewrite[3547]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:06:45 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:06:45 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:06:45 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3547 exit status 1
Aug  1 13:06:45 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:07:45 badbison postfix/trivial-rewrite[3598]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:07:45 badbison postfix/trivial-rewrite[3598]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:07:46 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:07:46 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:07:46 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3598 exit status 1
Aug  1 13:07:46 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:08:46 badbison postfix/trivial-rewrite[3613]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:08:46 badbison postfix/trivial-rewrite[3613]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:08:47 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:08:47 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:08:47 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3613 exit status 1
Aug  1 13:08:47 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:09:37 badbison postfix/smtpd[3640]: connect from localhost.localdomain[127.0.0.1]
Aug  1 13:09:47 badbison postfix/trivial-rewrite[3641]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:09:47 badbison postfix/trivial-rewrite[3641]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:09:47 badbison postfix/trivial-rewrite[3642]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:09:47 badbison postfix/trivial-rewrite[3642]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:09:48 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:09:48 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:09:48 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3641 exit status 1
Aug  1 13:09:48 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:09:48 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3642 exit status 1
Aug  1 13:10:03 badbison pop3d: Connection, ip=[::ffff:127.0.0.1]
Aug  1 13:10:03 badbison imapd: Connection, ip=[::ffff:127.0.0.1]
Aug  1 13:10:03 badbison pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Aug  1 13:10:03 badbison imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Aug  1 13:10:03 badbison postfix/smtpd[3671]: connect from localhost.localdomain[127.0.0.1]
Aug  1 13:10:03 badbison postfix/smtpd[3671]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Aug  1 13:10:03 badbison postfix/smtpd[3671]: disconnect from localhost.localdomain[127.0.0.1]
Aug  1 13:10:48 badbison postfix/trivial-rewrite[3695]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:10:48 badbison postfix/trivial-rewrite[3695]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:10:48 badbison postfix/trivial-rewrite[3696]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Aug  1 13:10:48 badbison postfix/trivial-rewrite[3696]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  1 13:10:49 badbison postfix/smtpd[3436]: warning: problem talking to service rewrite: Success
Aug  1 13:10:49 badbison postfix/smtpd[3465]: warning: problem talking to service rewrite: Connection reset by peer
Aug  1 13:10:49 badbison postfix/smtpd[3640]: warning: problem talking to service rewrite: Success
Aug  1 13:10:49 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3695 exit status 1
Aug  1 13:10:49 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Aug  1 13:10:49 badbison postfix/master[3237]: warning: process /usr/lib/postfix/trivial-rewrite pid 3696 exit status 1




netstat -tap | grep mysql
output
Code:

tcp        0      0 *:mysql                *:*                    LISTEN      2627/mysqld
tcp        0      0 badbison.badbison:54964 badbison.co.uk:mysql    TIME_WAIT  -

badbison.badbison.com is the slave and badbison.co.uk is the master.

till 1st August 2011 14:30

Have you copied any config files from the old server to the enw server?
Please post the output of:

ls -la /var/run/mysqld/

Toucan 1st August 2011 16:04

badbison:~# ls -la /var/run/mysqld/
total 12
drwxr-xr-x *2 mysql root *4096 2011-08-01 13:01 .
drwxr-xr-x 12 root *root *4096 2011-08-01 13:01 ..
-rw-rw---- *1 mysql mysql * *5 2011-08-01 13:01 mysqld.pid
srwxrwxrwx *1 mysql mysql * *0 2011-08-01 13:01 mysqld.sock
badbison:~#*

I haven't copied any configuration files over. Just created A new slave and joiined it to the master using expert mode.

The data centre said they would connect the old hard drive to the new vm, but I don't think they meant to integrate withthe new os, just to retrieve data. I think. As it happens I've still not managed to find the connection.

Toucan 3rd August 2011 09:42

Looking further into it, the old hard disk has not become part of the new system filing system and I have definately not copied any of the old configuration files over.

The mail log now looks like this:
Code:

Aug  3 08:36:58 badbison postfix/trivial-rewrite[25180]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25181]: warning: connect to mys                                                                                        ql server localhost: Can't connect to local MySQL server through socket '/var/ru                                                                                        n/mysqld/mysqld.sock' (2)
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25181]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25182]: warning: connect to mys                                                                                        ql server localhost: Can't connect to local MySQL server through socket '/var/ru                                                                                        n/mysqld/mysqld.sock' (2)
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25182]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25183]: warning: connect to mys                                                                                        ql server localhost: Can't connect to local MySQL server through socket '/var/ru                                                                                        n/mysqld/mysqld.sock' (2)
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25183]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25184]: warning: connect to mys                                                                                        ql server localhost: Can't connect to local MySQL server through socket '/var/ru                                                                                        n/mysqld/mysqld.sock' (2)
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25184]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25185]: warning: connect to mys                                                                                        ql server localhost: Can't connect to local MySQL server through socket '/var/ru                                                                                        n/mysqld/mysqld.sock' (2)
Aug  3 08:36:58 badbison postfix/trivial-rewrite[25185]: fatal: mysql:/etc/postf                                                                                        ix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Aug  3 08:36:59 badbison postfix/smtpd[5169]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[3825]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25175 exit status 1
Aug  3 08:36:59 badbison postfix/master[3237]: warning: /usr/lib/postfix/trivial                                                                                        -rewrite: bad command startup -- throttling
Aug  3 08:36:59 badbison postfix/smtpd[22317]: warning: problem talking to servi                                                                                        ce rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[3442]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25176 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[22129]: warning: problem talking to servi                                                                                        ce rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[2426]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25177 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[5184]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[3367]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25178 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[1700]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[7122]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25179 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[3009]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[23056]: warning: problem talking to servi                                                                                        ce rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25180 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[7407]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[6423]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25181 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[5168]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[22732]: warning: problem talking to servi                                                                                        ce rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25182 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[6544]: warning: problem talking to servic                                                                                        e rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[5484]: warning: problem talking to servic                                                                                        e rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25183 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[24612]: warning: problem talking to servi                                                                                        ce rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[24464]: warning: problem talking to servi                                                                                        ce rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25184 exit status 1
Aug  3 08:36:59 badbison postfix/smtpd[24699]: warning: problem talking to servi                                                                                        ce rewrite: Success
Aug  3 08:36:59 badbison postfix/smtpd[24754]: warning: problem talking to servi                                                                                        ce rewrite: Connection reset by peer
Aug  3 08:36:59 badbison postfix/master[3237]: warning: process /usr/lib/postfix                                                                                        /trivial-rewrite pid 25185 exit status 1

I'm really stuck with this one... i've done lot's of installs but suffered this problem before. Help much appreciate.

falko 4th August 2011 11:30

Is Postfix running chrooted? What's in /etc/postfix/master.cf?

Toucan 4th August 2011 13:12

Linux badbison.badbison.com 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Aug *3 22:37:43 2011 from 5ad963c4.bb.sky.com

badbison:~# cd /etc/postfix
badbison:/etc/postfix# ls
body_checks * * *mysql-virtual_mailboxes.cf
dynamicmaps.cf * * *mysql-virtual_recipient.cf
header_checks * * *mysql-virtual_relaydomains.cf
main.cf * * *mysql-virtual_relayrecipientmaps.cf
main.cf~ * * *mysql-virtual_sender.cf
main.cf~2 * * *mysql-virtual_transports.cf
master.cf * * *nested_header_checks
master.cf~ * * *postfix-files
mime_header_checks * * *postfix-script
mysql-virtual_client.cf * * * post-install
mysql-virtual_domains.cf * * *sasl
mysql-virtual_email2email.cf *smtpd.cert
mysql-virtual_forwardings.cf *smtpd.key
badbison:/etc/postfix# cat master.cf
#
# Postfix master process configuration file. *For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type *private unpriv *chroot *wakeup *maxproc command + args
# * * * * * * * (yes) * (yes) * (yes) * (never) (100)
# ================================================== ========================
smtp * * *inet *n * * * - * * * - * * * - * * * - * * * smtpd
#submission inet n * * * - * * * - * * * - * * * - * * * smtpd
# *-o smtpd_tls_security_level=encrypt
# *-o smtpd_sasl_auth_enable=yes
# *-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# *-o milter_macro_daemon_name=ORIGINATING
#smtps * * inet *n * * * - * * * - * * * - * * * - * * * smtpd
# *-o smtpd_tls_wrappermode=yes
# *-o smtpd_sasl_auth_enable=yes
# *-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# *-o milter_macro_daemon_name=ORIGINATING
#628 * * *inet *n * * * - * * * - * * * - * * * - * * * qmqpd
pickup * *fifo *n * * * - * * * - * * * 60 * * *1 * * * pickup
cleanup * unix *n * * * - * * * - * * * - * * * 0 * * * cleanup
qmgr * * *fifo *n * * * - * * * n * * * 300 * * 1 * * * qmgr
#qmgr * * fifo *n * * * - * * * - * * * 300 * * 1 * * * oqmgr
tlsmgr * *unix *- * * * - * * * - * * * 1000? * 1 * * * tlsmgr
rewrite * unix *- * * * - * * * - * * * - * * * - * * * trivial-rewrite
bounce * *unix *- * * * - * * * - * * * - * * * 0 * * * bounce
defer * * unix *- * * * - * * * - * * * - * * * 0 * * * bounce
trace * * unix *- * * * - * * * - * * * - * * * 0 * * * bounce
verify * *unix *- * * * - * * * - * * * - * * * 1 * * * verify
flush * * unix *n * * * - * * * - * * * 1000? * 0 * * * flush
proxymap *unix *- * * * - * * * n * * * - * * * - * * * proxymap
proxywrite unix - * * * - * * * n * * * - * * * 1 * * * proxymap
smtp * * *unix *- * * * - * * * - * * * - * * * - * * * smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay * * unix *- * * * - * * * - * * * - * * * - * * * smtp
-o smtp_fallback_relay=
# * * * -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq * * unix *n * * * - * * * - * * * - * * * - * * * showq
error * * unix *- * * * - * * * - * * * - * * * - * * * error
retry * * unix *- * * * - * * * - * * * - * * * - * * * error
discard * unix *- * * * - * * * - * * * - * * * - * * * discard
local * * unix *- * * * n * * * n * * * - * * * - * * * local
virtual * unix *- * * * n * * * n * * * - * * * - * * * virtual
lmtp * * *unix *- * * * - * * * - * * * - * * * - * * * lmtp
anvil * * unix *- * * * - * * * - * * * - * * * 1 * * * anvil
scache * *unix *- * * * - * * * - * * * - * * * 1 * * * scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. *See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop *unix *- * * * n * * * n * * * - * * * - * * * pipe
**flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp * * *unix *- * * * n * * * n * * * - * * * - * * * pipe
**flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail * *unix *- * * * n * * * n * * * - * * * - * * * pipe
**flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp * * unix *- * * * n * * * n * * * - * * * - * * * pipe
**flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
**flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman * unix *- * * * n * * * n * * * - * * * - * * * pipe
**flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
**${nexthop} ${user}


amavis unix - - - - 2 smtp
** * * *-o smtp_data_done_timeout=1200
** * * *-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
** * * *-o content_filter=
** * * *-o local_recipient_maps=
** * * *-o relay_recipient_maps=
** * * *-o smtpd_restriction_classes=
** * * *-o smtpd_client_restrictions=
** * * *-o smtpd_helo_restrictions=
** * * *-o smtpd_sender_restrictions=
** * * *-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
** * * *-o mynetworks=127.0.0.0/8
** * * *-o strict_rfc821_envelopes=yes
** * * *-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
** * * *-o smtpd_bind_address=127.0.0.1


All times are GMT +2. The time now is 20:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.