Page 1 of 1
OpenEMM 5.3.1c
Posted: Fri Nov 30, 2007 4:13 pm
by slackamp
I just upgraded to this version and I see this in my maillog
unable to write pid to /home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied
How can I resolve this? the openemm user account has full access to the said directory.
Posted: Thu Dec 06, 2007 11:04 am
by ud
Is there any type of secure linux running, e.g. SELinux or AppArmour? Either you disable them or change the sendmail policy for them
-- ud
Posted: Mon Dec 10, 2007 5:24 pm
by slackamp
no, i disabled SELinux. I am using CentOS 5.1 btw.
ls -ld /home/openemm/var/run
drwxr-xr-x 2 openemm openemm 4096 Dec 10 11:22 /home/openemm/var/run
Posted: Tue Dec 11, 2007 8:30 am
by ud
Strange - as sendmail is started with root permissions it should have no problems to write to this directory. Can you check, if the program
bin/smctrl is owned by root and the setuid bit is set, e.g.:
Code: Select all
$ ls -l bin/smctrl
-rwsr-sr-x 1 root root 9812 Nov 14 08:37 bin/smctrl
And, can you check if every part of the path is at least searchable using
Code: Select all
ls -ld /home
ls -ld /home/openemm
ls -ld /home/openemm/var
Otherwise I cannot see any reason for this error.
-- ud