Bowie Bailey wrote:
> From: Fredrik Elestedt [mailto:[EMAIL PROTECTED]
> 
>>Bowie Bailey wrote:
>>
>>>I've got an odd problem.  I haven't run into this on any of my other
>>>Courier installs.
>>>
>>>
>>># /usr/lib/courier/sbin/courierfilter start
>>>/var/spool/courier/tmp/courierfilter.pid: Permission denied
>>>
>>># ll /var/spool/courier/
>>>total 28
>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 allfilters
>>>drwx------  2 mailuser mailuser 4096 Nov 29 11:02 faxtmp
>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 filters
>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 msgq
>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 msgs
>>>drwxrwx---  2 mailuser mailuser 4096 Dec 14 11:30 tmp
>>>drwxr-xr-x  2 mailuser mailuser 4096 Nov 29 11:02 track
>>>
>>># ll /var/spool/courier/tmp/
>>>total 12
>>>-rw-------  1 root   root   0 Dec 14 09:00 courierd.lock
>>>-rw-------  1 root   root   0 Dec 14 09:00 esmtpd-msa.pid.lock
>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 esmtpd.pid
>>>-rw-------  1 root   root   0 Dec 14 09:00 esmtpd.pid.lock
>>>-rw-------  1 root   root   0 Dec 14 10:53 esmtpd-ssl.pid.lock
>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 imapd.pid
>>>-rw-------  1 root   root   0 Dec 14 09:00 imapd.pid.lock
>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 imapd-ssl.pid
>>>-rw-------  1 root   root   0 Dec 14 09:00 imapd-ssl.pid.lock
>>>prw-rw----  1 daemon daemon 0 Dec 14 11:30 trigger
>>>
>>>
>>>All of the courier processes should be running as either root or
>>>mailuser.  So why am I getting a "Permission denied" here?
>>>
>>>Any suggestions on how to track this down?
>>
>>What's the permissions of the directories '/var/spool' and
>>'/var/spool/courier'?
>>Perhaps the problem lies there.
> 
> 
> $ ll -d /var/spool
> drwxr-xr-x  15 root root 4096 Nov 29 11:09 /var/spool
> 
> $ ll -d /var/spool/courier
> drwxr-xr-x  9 bin bin 4096 Nov 29 11:09 /var/spool/courier
> 
> I don't think those are the problem.  The permissions and ownership are
> identical to my other (operational) server.
> 
> Bowie
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Other than permissions I cannot think of anything. Have you tried
creating the file and giving ownership to root? (same as all the other
pid-files). Or just try - to eliminate it - to set 'chmod 777
/var/spool/courier/tmp' and see if it works.
Could be that on your other server all processes are run inder mailuser,
but not here.

// Fredrik


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to