From: Fredrik Elestedt [mailto:[EMAIL PROTECTED]
> Bowie Bailey wrote:
> > From: Fredrik Elestedt [mailto:[EMAIL PROTECTED]
> >>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
> >>>>>
> >>>>>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.
> >>
> >>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.
> > 
> > Ok, changing permissions on /var/spool/courier/tmp showed the problem.
> > 
> > Apparently, courierfilter is trying to run as 'daemon'.  All of the
other
> > processes are running as 'root' or 'mailuser'.  Is there a configuration
> > for that somewhere?  I thought I had fixed all of them, but I may have
> > missed one.
> 
> Sorry, canät help you there. sifting thru the config-files should lead
> you to it though.

There may be more problems than I thought.  I just noticed that this is
repeating over and over in the logs:

Dec 14 13:29:20 bnofdn1 courierd: Started ./courieruucp, pid=32337,
maxdels=4, maxhost=4, maxrcpt=16
Dec 14 13:29:20 bnofdn1 courierd: Started ./courierlocal, pid=32338,
maxdels=10, maxhost=4, maxrcpt=1
Dec 14 13:29:20 bnofdn1 courierd: Started ./courierfax, pid=32339,
maxdels=1, maxhost=1, maxrcpt=1
Dec 14 13:29:20 bnofdn1 courierd: Started ./courieresmtp, pid=32340,
maxdels=40, maxhost=4, maxrcpt=100
Dec 14 13:29:20 bnofdn1 courierd: Started ./courierdsn, pid=32341,
maxdels=4, maxhost=1, maxrcpt=1
Dec 14 13:29:20 bnofdn1 courierd: queuelo=200, queuehi=400
Dec 14 13:29:20 bnofdn1 courierd: Purging /var/spool/courier/msgq
Dec 14 13:29:20 bnofdn1 courierd: Purging /var/spool/courier/msgs
Dec 14 13:29:20 bnofdn1 courierd: Permission denied
Dec 14 13:29:20 bnofdn1 courierd: ABNORMAL TERMINATION, exit status: 1
Dec 14 13:29:20 bnofdn1 courierd: Will restart in 60 seconds.

Same deal.  /var/spool/courier/msgq (and msgs) has the proper permissions
and
ownership.  Maybe something got screwed up during the build.  Unless someone
else can come up with another option, I may remove Courier completely,
rebuild
the RPMS, and reinstall.

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_idv37&alloc_id865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to