Xymon Mailing List Archive search

msgs test on Linux host

list Malcolm Hunter
Fri, 13 Mar 2009 17:05:41 +0100
Message-Id: <user-54c8a48b0398@xymon.invalid>

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?
Silly question: You have tried restarting the daemon, haven't you?

By the way, you don't want execute permission on the messages file.

Malcolm

-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Nur bis 16.03.! DSL-Komplettanschluss inkl. WLAN-Modem für nur 
17,95 ¿/mtl. + 1 Monat gratis!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a