I'm monitoring about 8 log files on a system, and on some
of them, I'm getting a "Logfile not accessible" .
I can login to the box as the hobbit user and cat the files out
just fine. The privileges all match up with the other logfiles that are
working just fine. Manually, I can see the files just fine.
How does Hobbit try to read the log files?
I would appreciate any suggestions.
Thanks.James
On Tuesday 28 November 2006 01:02, James Wade wrote:
I'm monitoring about 8 log files on a system, and on some
of them, I'm getting a "Logfile not accessible" .
I can login to the box as the hobbit user and cat the files out
just fine. The privileges all match up with the other logfiles that are
working just fine. Manually, I can see the files just fine.
But, if you changed the hobbit user's group memberships since you last restarted the hobbit client, you would receive the new group when logging in, but the client would still be running without that group.
So, try restarting the client.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
The group membership has always been the same. I've never changed it, and the group membership and ownership of the logfiles, both working and non-working are the same.
How does Hobbit look at log files? A standard Cat, Grep, Tail?
Can anyone give me a way to debug this?
Thanks.....James
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Tuesday, November 28, 2006 3:01 AM To: hobbit at hswn.dk Cc: James Wade Subject: Re: [hobbit] Logfile not accessible
On Tuesday 28 November 2006 01:02, James Wade wrote:
I'm monitoring about 8 log files on a system, and on some
of them, I'm getting a "Logfile not accessible" .
I can login to the box as the hobbit user and cat the files out
just fine. The privileges all match up with the other logfiles that are
working just fine. Manually, I can see the files just fine.
But, if you changed the hobbit user's group memberships since you last restarted the hobbit client, you would receive the new group when logging in, but the client would still be running without that group.
So, try restarting the client.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
what OS r u on ? could it be some ACL or SELinux policy or alike to forbid the process/daemon to access while interactive shell is ok?
On 11/28/06, James Wade <jkwade at futurefrontiers.com> wrote:
The group membership has always been the same. I've never changed it, and the group membership and ownership of the logfiles, both working and non-working are the same.
How does Hobbit look at log files? A standard Cat, Grep, Tail?
Can anyone give me a way to debug this?
Thanks.....James
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: Tuesday, November 28, 2006 3:01 AM To: hobbit at hswn.dk Cc: James Wade Subject: Re: [hobbit] Logfile not accessible
On Tuesday 28 November 2006 01:02, James Wade wrote:
I'm monitoring about 8 log files on a system, and on some
of them, I'm getting a "Logfile not accessible" .
I can login to the box as the hobbit user and cat the files out
just fine. The privileges all match up with the other logfiles that are
working just fine. Manually, I can see the files just fine.
But, if you changed the hobbit user's group memberships since you last restarted the hobbit client, you would receive the new group when logging in, but the client would still be running without that group.
So, try restarting the client.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Tue, Nov 28, 2006 at 08:52:41AM -0600, James Wade wrote:
The group membership has always been the same. I've never changed it, and the group membership and ownership of the logfiles, both working and non-working are the same.
How does Hobbit look at log files? A standard Cat, Grep, Tail?
It uses Hobbit's "logfetch" utility, which basically opens the file for reading.
Can anyone give me a way to debug this?
Have you checked for errors in the client logs ? ~hobbit/client/logs/ on the client system.
Regards, Henrik
Yes, I did.
I've suspended monitoring the log files with problems for now. I'll try again later in the week. I had to work out another monitoring problem late last night. I'll send a email on the problem because I need assistance.
Thanks....James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Wednesday, November 29, 2006 6:36 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Logfile not accessible
On Tue, Nov 28, 2006 at 08:52:41AM -0600, James Wade wrote:
The group membership has always been the same. I've never changed it, and the group membership and ownership of the logfiles, both working and non-working are the same.
How does Hobbit look at log files? A standard Cat, Grep, Tail?
It uses Hobbit's "logfetch" utility, which basically opens the file for reading.
Can anyone give me a way to debug this?
Have you checked for errors in the client logs ? ~hobbit/client/logs/ on the client system.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk
-
jjj863@gmail.com
-
jkwade@futurefrontiers.com