View Full Version : Postfix - terminating on signal 15
cryptic
1st October 2007, 21:53
A few of my ISPConfig/CentOS 5 boxes have a Postfix hiccup every Sunday night for the past month.
I have this in my maillogs -
Oct 1 00:00:45 server postfix/postfix-script: stopping the Postfix mail system
Oct 1 00:00:53 server postfix/smtpd[19053]: warning: database /etc/postfix/virtusertable.db is older than source file etc/postfix/virtusertable
Oct 1 00:14:09 server postfix/smtpd[13746]: table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting
Oct 1 00:15:59 server postfix/smtpd[19053]: table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting
Oct 1 00:13:21 server postfix/master[28578]: terminating on signal 15
Oct 1 00:17:09 server postfix/postfix-script: fatal: the Postfix mail system is already running
Following this, Postfix is down until I start it.
till
2nd October 2007, 00:37
Does this really only happen on every sunday? Then you should have a look at your weekly cronjobs if one of them affects postfix. ISPConfig has no cronjob that is run weekly, all cronjobs are at least run once a day.
cryptic
4th October 2007, 01:40
No, not every Sunday. It's happened 2 weeks in a row on a Sunday for one server, and just happened on another server on a Sunday.
falko
4th October 2007, 16:49
Maybe it's a good idea to install monit on your servers. It can restart Postfix if it finds it isn't running:
http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch
http://www.tildeslash.com/monit/index.php
bluethunder82
7th October 2007, 15:28
To solve the error:
Oct 1 00:00:53 server postfix/smtpd[19053]: warning: database /etc/postfix/virtusertable.db is older than source file etc/postfix/virtusertable
It is my understanding to run the command:
postmap /etc/postfix/virtusertable
--
For the error:
Oct 1 00:14:09 server postfix/smtpd[13746]: table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting
Try running:
newaliases
The only time I've seen a similar error was went both the alias_maps and alias_database where not correct.
What is your output of:
postconf alias_maps alias_database
I have no idea about the Sunday issue.
Cheers
cryptic
29th October 2007, 20:44
What is your output of:
postconf alias_maps alias_database
I have no idea about the Sunday issue.
Cheers
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
This issue happened again on Sunday.
I have tons of these errors in my maillog:
postfix/smtpd[11070]: warning: problem talking to server private/anvil: Connection timed out
postfix/smtpd[10060]: table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting
till
30th October 2007, 12:56
The question is which script or process is causing this as /etc/aliases is not managed by ISPConfig :confused:
cryptic
4th November 2007, 22:22
This is occurring a few times a week now.
It happened last night. Wierd thing is that my maillog.2 ends at Oct 28, maillog.1 has nov 4 from midnight to 4:30am, and then maillog starts at 4:30 am .
When postfix looks dead - If I try to run /etc/init.d/postfix stop it fails and I see postfix is still running. I have to kill this process before I can start postfix again.
I see a lot of this in my maillog,
postfix/postfix-script: fatal: the Postfix mail system is already running
cryptic
4th November 2007, 22:33
It looks like syslog AND ISPConfig are rotating a maillog. Could this be causing a conflict?
I see maillog, maillog.1, maillog.2, etc
and
maillog.31-10-07_23-59-01, etc etc
till
5th November 2007, 10:29
ISPConfig is just making a copy of the mail logfile to analyze it, it is not rotating the main logfile. But to be sure you can try to change the time of the ISPConfig mail log cronjob (in the root crontab) to run a few minues earlier or later.
cryptic
7th November 2007, 19:48
This issue is now happening daily. Any other ideas?
till
8th November 2007, 13:49
You can try to comment out the mal log script from ISPConfig in the root crontab file for one night and see if potfix does not crash then.
cryptic
8th November 2007, 21:05
I have done this last week. It made no difference.
till
8th November 2007, 21:16
Ok, then please check your syslog. Is there any cronjob started just before postfix dies?
cryptic
9th November 2007, 00:13
Only check_services.php, which runs every 30 minutes.
till
9th November 2007, 09:25
I'am getting out of ideas :confused:
cryptic
10th November 2007, 18:50
This happened again this morning. I see the anvil process died -
22815 ? Z 0:13 [anvil] <defunct>
Martin1982
3rd April 2008, 19:10
I'm having exactly the same issue, anyone came up with a solution yet?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.