[Exim] exim 4.10-1 pid issue

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Zander
Dátum:  
Címzett: exim-users
Tárgy: [Exim] exim 4.10-1 pid issue
Hi all,

I'm having a problem with exim 4.10-1 rpm running on RH 7.3 (2.4.18-3). I'm
still learning linux in general so I'm not sure where to look and what to
do. When I check the status of the exim daemon I see:

/sbin/service exim restart
Shutting down exim: [FAILED]
Starting exim: [ OK ]

/sbin/service exim status
exim dead but pid file exists

I have changed /etc/sysconfig/exim from:

DAEMON="no"
QUEUE="15m"

to

DAEMON="yes"
QUEUE="15m"

I have seen a test command in a previous post which I ran and saw other errors:

/usr/sbin/exim -bd -q15m -d+all-memory-load-queue_run-process_info
Exim version 4.10 uid=0 gid=0 pid=2580 L=834cd8 D=fffc5fff
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: <none>
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
listening on all interfaces (IPv4) port 25
pid written to /var/run/exim.pid
changed uid/gid: running as a daemon
uid=1001 gid=1001
auxiliary group list: <none>
LOG: MAIN
exim 4.10 daemon started: pid=2580, -q15m, listening for SMTP on port 25
(IPv4)
LOG: PANIC DIE
Cannot open main log file "/var/log/exim/mainlog": Permission denied:
euid=1001 egid=1001
2002-10-09 23:15:34 Cannot open main log file "/var/log/exim/mainlog":
Permission denied: euid=1001 egid=1001
exim: could not open panic log - aborting: original error above
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=2580 terminating with rc=1 >>>>>>>>>>>>>>>>>>


I have checked all the log files and they belong to the exim user and
group. I have added exim to the mail group. Could the issue be:

grep exim /etc/group
mail:x:12:mail,exim
exim:x:101:

do I just change the 101 to 1001?

any help will be gratefully received.

regards

Zander