OpenEMM 5.3.1c

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

slackamp
Posts: 13
Joined: Thu Jun 21, 2007 3:56 pm

OpenEMM 5.3.1c

Post 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.
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post 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
slackamp
Posts: 13
Joined: Thu Jun 21, 2007 3:56 pm

Post 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
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post 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
Post Reply