Error /var/log/messages

nathan r. hruby nhruby at uga.edu
Thu May 27 09:27:00 CDT 2004


On Thu, 27 May 2004, Garcia, Arthur P. wrote:

> Can anyone tell me how to fix these errors, or what they mean?
> 
> Error messages.  /var/log/messages
> 
> May 26 04:28:23 sprocket sendmail: sendmail startup succeeded
> May 26 04:28:23 sprocket sendmail: can not chdir(/var/spool/clientmqueue/): Permission denied
> May 26 04:28:23 sprocket sendmail: Program mode requires special privileges, e.g., root or TrustedUser.
> May 26 04:28:23 sprocket sendmail: sm-client startup failed
> 
> May 26 04:28:26 sprocket cannaserver: cannaserver:Initialize failed
> May 26 04:28:26 sprocket cannaserver:
> May 26 04:28:26 sprocket canna:  failed
> 
> May 26 04:28:37 sprocket atd: atd startup failed
> 

Given the messages and their proximity, I'd say the permissions on /var
(and possibly child directories) are probably messed up.

You can use the command "rpm -q --dump filesystem | grep /var" to get a dump of all
the permissions for most of those directories.  The out put will look like
this:

[nathan at csatest09 var]$ rpm -q --dump filesystem | grep /var
/usr/tmp 10 1043452349 00000000000000000000000000000000 0120755 root root 0 0 0 ../var/tmp
/var 4096 1043452349 00000000000000000000000000000000 040755 root root 0 0 0 X
/var/cache 4096 1043452348 00000000000000000000000000000000 040755 root root 0 0 0 X
[... snip ...]
[nathan at csatest09 var]$ 

The fields you are interested in are the 5th (permissions), 6th (user
owner) and 7th (group owner).  Compare those with the output of "ls /var"
and see if things match up.  If not, try resetting them to what the RPM
states (eg, chmod to reset permissions, chown to reset user:group
ownersip)

HTH!

-n

-- 
-------------------------------------------
nathan hruby <nhruby at uga.edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------




More information about the Linux-PowerEdge mailing list