If I do svc -d /var/qmail/supervise/qmail-pop3d then run the run script from a shell, the thing works. I can hit the pop server no problem. If I stop that shell and do svc -u /service/qmail-pop3d, qmailctl stat still shows it up for 0 or 1 second. If I do ps -ef | grep pop I see the errors below. I can't see why I can run the script from the shell no problem but supervise has problems with it.

root 309 301 0 09:47 ? 00:00:00 readproctitle service errors: ... unable to start qm
ail-pop3d/run: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec format erro
r?supervise: fatal: unable to start qmail-pop3d/run: exec format error?supervise: fatal: unable to s
tart qmail-pop3d/run: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec form
at error?supervise: fatal: unable to start qmail-pop3d/run: exec format error?
root 314 308 0 09:47 ? 00:00:00 supervise qmail-pop3d
qmaill 322 315 0 09:47 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail/pop3d





Peter Palmreuther writes:


Hi [EMAIL PROTECTED],

On Fri, 07 Mar 2003 12:36:27 -0600 [EMAIL PROTECTED] wrote:

Nothing in the pop3d log since 3/4, when this all started. If I just run the 'run' script it starts supervising pop3d, but it still only runs 1 sec

Do a 'svc -d /path/to/pop3d_startup' and execute the run-script
_manually_ on a shell. You should see why it is exiting immediately and
therefore be able to solve the problem before continuing and giving the
supervise-script a 'svc -u ...' again.
--
Peter




Reply via email to