Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12

Hans

New member
Joined
Dec 25, 2013
Messages
1
Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12

Hi,

I removed the logfiles and after that exim doesn't start anymore

Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12

mkdir /var/log/exim/
touch /var/log/exim/mainlog
chown mail:mail /var/log/exim/mainlog

service exim restart

Shutting down exim: /etc/init.d/exim: line 40: kill: (13401) - No such process

reinstalled exim with
rpm -e --nodeps da_exim
cd /usr/local/directadmin/scripts
./exim.sh

set_permissions.sh for the exim rights

Exim doesn't start and I cannot disable the logging.

Hans

Os and diectadmin version
cat /etc/*release*
CentOS release 6.5 (Final)
Directadmin Server Version 1.44.1
 
You don't use directadmin custombuild?

Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
If you reinstalled and get this message, it seems the init script might be looking for an old userid.

Maybe if you remove exim again.
Check if the init script is removed also and the Exim user does not exist anymore.
Then reinstall again. You still have the problem then?
 
Last edited:
Back
Top