Xymon Mailing List Archive search

msgs test on Linux host

list Josh Luthman
Fri, 13 Mar 2009 10:20:14 -0400
Message-Id: <user-0bd48776f2bc@xymon.invalid>

Type namei -m /var/log

On 3/13/09, Nico <user-2c7a80acbe2b@xymon.invalid> wrote:
Hi

Could you check the rights of the directory /var/log/
Maybe hobbit can t go inside.

Regards

Nico


Le 13 mars 09 à 14:13, Benedikt Kristinsson <user-9c0cd169164b@xymon.invalid> a
écrit :
Hello.

I have a slight problem with the msgs test.

This is what shows up in the client data:
[msgs:/var/log/messages]
Cannot open logfile /var/log/messages : Permission denied

But these are the permissions for the /var/log/messages:
-rwxr-x--- 1 root admin 216864 Mar 13 12:19 /var/log/messages

And as you see, hobbit is a member of the admin group
# id hobbit
uid=504(hobbit) gid=505(hobbit) groups=505(hobbit),506(admin)

And the hobbit client is indeed running as that user (output from
ps, unneccesary parts omitted)
hobbit    3781  [...] /usr/libexec/hobbit/client/bin/hobbitlaunch [..]

Any ideas?

Regards,
Benedikt

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer