Exim won't start up...

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
Exim will not start on our server, when it reboots fresh or otherwise. Restarting it via WHM shows this error message:

Attempting to restart exim

exim status exim dead but subsys locked

exim has failed, please contact the sysadmin.

Searches here, on Google and WHT.com have been fruitless. Any ideas what might be causing this?

Thanks - Brian
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:c6fb69bf73][i:c6fb69bf73]Originally posted by brianteeter[/i:c6fb69bf73]

Exim will not start on our server, when it reboots fresh or otherwise. Restarting it via WHM shows this error message:

Attempting to restart exim

exim status exim dead but subsys locked

exim has failed, please contact the sysadmin.

Searches here, on Google and WHT.com have been fruitless. Any ideas what might be causing this?

Thanks - Brian
[/quote:c6fb69bf73]

Have you got a file named exim with a size & 0 in /var/lock/subsys? If you do, first make a backup of the file just in case then delete the file and try to restart Exim to see if it works.
 

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
There is a file called exin in /var/lock/subsys, with size 0. I tried deleting it and restarting, but it failed. So, no luck.

Any other ideas?

Thanks - Brian
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
what is in /var/log/messages when you start it via /etc/rc.d/init.d/exim restart ?

That will tell you something I'd imagine.

also /scripts/sysup for fun.
 

brianteeter

Well-Known Member
Jan 6, 2002
72
0
306
root@web2 [/home/admin]# /etc/rc.d/init.d/exim restart
Shutting down exim: [FAILED]
Starting exim: exim: neither action flags nor mail addresses given
[FAILED]
root@web2 [/home/admin]# ls -l /var/log/messages
-rw------- 1 root root 0 Feb 17 04:02 /var/log/messages
root@web2 [/home/admin]#

But, if I run:

/usr/sbin/exim -bd -q1h

it starts. Strange...

Take care,

Brian


[quote:a3acc9a930][i:a3acc9a930]Originally posted by feanor[/i:a3acc9a930]


what is in /var/log/messages when you start it via /etc/rc.d/init.d/exim restart ?

That will tell you something I'd imagine.

also /scripts/sysup for fun.
[/quote:a3acc9a930]