francis_joe
Verified User
We are unable to start exim on our server.
Below are the details which i got from my investigation.
# /etc/init.d/exim status
exim dead but pid file exists
# exim -bd -d+all
00:17:44 3828 Exim version 4.34 uid=0 gid=0 pid=3828 D=ffffffff
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Support for: iconv() Perl OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
00:17:44 3828 changed uid/gid: forcing real = effective
00:17:44 3828 uid=0 gid=0 pid=3828
00:17:44 3828 auxiliary group list: <none>
00:17:44 3828 --Malloc 0x8345d40 8200 store.c 139 8200 4265
00:17:44 3828 ---1 Get 0x8345d48 16 string.c 345
00:17:44 3828 ---1 Get 0x8345d58 24 string.c 345
00:17:44 3828 ---1 Get 0x8345d70 24 string.c 345
00:17:44 3828 ---1 Get 0x8345d88 8 string.c 345
....
..
00:17:44 3828 ---0 Get 0x834d038 8 string.c 345
00:17:44 3828 originator: uid=0 gid=0 login=root name=root
00:17:44 3828 ---0 Get 0x834d040 8 daemon.c 932
00:17:44 3828 ---0 Get 0x834d048 64 host.c 451
00:17:44 3828 ---0 Get 0x834d088 8 daemon.c 1053
00:17:44 3828 ---0 Get 0x834d090 800 daemon.c 1072
00:17:44 3828 listening on all interfaces (IPv4) port 25
00:17:44 3828 pid written to /var/run/exim.pid
00:17:44 3828 changed uid/gid: running as a daemon
00:17:44 3828 uid=8 gid=12 pid=3828
00:17:44 3828 auxiliary group list: 12
00:17:44 3828 ---1 Get 0x834c978 24 string.c 345
00:17:44 3828 LOG: MAIN
00:17:44 3828 exim 4.34 daemon started: pid=3828, no queue runs, listening for SMTP on port 25 (IPv4)
00:17:44 3828 LOG: PANIC DIE
00:17:44 3828 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
00:17:44 3828 2005-02-04 00:17:44 exim 4.34 daemon started: pid=3828, no queue runs, listening for SMTP on port 25 (IPv4)
00:17:44 3828 2005-02-04 00:17:44 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
00:17:44 3828 exim: could not open panic log - aborting: see message(s) above
00:17:44 3828 search_tidyup called
00:17:44 3828 >>>>>>>>>>>>>>>> Exim pid=3828 terminating with rc=1 >>>>>>>>>>>>>>>>
# ll -d /var/log/exim
drwxr-xr-x 2 mail mail 4096 Jun 13 2004 /var/log/exim
# ll /var/log/exim
total 0
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 mainlog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 paniclog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 processlog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 rejectlog
Could somebody please guide me as soon as possible.
Below are the details which i got from my investigation.
# /etc/init.d/exim status
exim dead but pid file exists
# exim -bd -d+all
00:17:44 3828 Exim version 4.34 uid=0 gid=0 pid=3828 D=ffffffff
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Support for: iconv() Perl OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
00:17:44 3828 changed uid/gid: forcing real = effective
00:17:44 3828 uid=0 gid=0 pid=3828
00:17:44 3828 auxiliary group list: <none>
00:17:44 3828 --Malloc 0x8345d40 8200 store.c 139 8200 4265
00:17:44 3828 ---1 Get 0x8345d48 16 string.c 345
00:17:44 3828 ---1 Get 0x8345d58 24 string.c 345
00:17:44 3828 ---1 Get 0x8345d70 24 string.c 345
00:17:44 3828 ---1 Get 0x8345d88 8 string.c 345
....
..
00:17:44 3828 ---0 Get 0x834d038 8 string.c 345
00:17:44 3828 originator: uid=0 gid=0 login=root name=root
00:17:44 3828 ---0 Get 0x834d040 8 daemon.c 932
00:17:44 3828 ---0 Get 0x834d048 64 host.c 451
00:17:44 3828 ---0 Get 0x834d088 8 daemon.c 1053
00:17:44 3828 ---0 Get 0x834d090 800 daemon.c 1072
00:17:44 3828 listening on all interfaces (IPv4) port 25
00:17:44 3828 pid written to /var/run/exim.pid
00:17:44 3828 changed uid/gid: running as a daemon
00:17:44 3828 uid=8 gid=12 pid=3828
00:17:44 3828 auxiliary group list: 12
00:17:44 3828 ---1 Get 0x834c978 24 string.c 345
00:17:44 3828 LOG: MAIN
00:17:44 3828 exim 4.34 daemon started: pid=3828, no queue runs, listening for SMTP on port 25 (IPv4)
00:17:44 3828 LOG: PANIC DIE
00:17:44 3828 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
00:17:44 3828 2005-02-04 00:17:44 exim 4.34 daemon started: pid=3828, no queue runs, listening for SMTP on port 25 (IPv4)
00:17:44 3828 2005-02-04 00:17:44 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
00:17:44 3828 exim: could not open panic log - aborting: see message(s) above
00:17:44 3828 search_tidyup called
00:17:44 3828 >>>>>>>>>>>>>>>> Exim pid=3828 terminating with rc=1 >>>>>>>>>>>>>>>>
# ll -d /var/log/exim
drwxr-xr-x 2 mail mail 4096 Jun 13 2004 /var/log/exim
# ll /var/log/exim
total 0
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 mainlog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 paniclog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 processlog
-rw-r--r-- 1 mail mail 0 Feb 3 23:54 rejectlog
Could somebody please guide me as soon as possible.