Is there a log whereby i can check why qmail-send is not restarted?
/var/log/qmail/current
What should i take note ok? There are too many info there.
If it is not restarting properly, look at the last lines. I often move
the existing file away, then attempt to restart again. Anything in the
file would be related to the most recent attempt to start.
my /var/log/qmail/current has lines like:
new msg
starting delivery
status:
end msg
delivery 123456: success:
info msg
Anything else is worth checking into.
Also look in ps for readproctitle service errors: If there is anything
after this line, it is errors detected by daemontools.
It happened after one of the junoir adminstrators deleted
/var/log/qmail/current, /var/log/qmail/smtpd/current and
/var/log/qmail/pop3d/current files.
That could be bad news. I'm not sure how the logging process will
handle having the file deleted out from under it. It might be good to
shut down qmail-send, and make sure its logging process dies too.
At this point you might also want to try commenting out the svscanboot
line in /etc/inittab then restart init (kill -1 1). ps and make sure
all the daemontools / qmail processes are shut down, then removing the
comment and killing it again to restart. Or if it doesn't hurt too
much, do a full reboot. (clear out the log files first.)
Rick