[hobbit] /var/log/messages permission denied

T.J. Yang tj_yang at hotmail.com
Fri May 16 19:54:42 CEST 2008


Our approach to this issue is  to have hobbit client install/removal non-intrusive to client system.


1. have hobbit client depend on sudo package.
2. add entry for hobbit client's account in sudoer file.
3. make sure SUDO is point to correct sudo binary.
4. remove hobbit client entry upon removal of hobbit client package.


T.J. Yang

Date: Fri, 16 May 2008 12:10:22 +0000
From: bjorgvin at anza.is
To: hobbit at hswn.dk
Subject: RE: [hobbit] /var/log/messages permission denied



















We had this problem aswell at our site.

 

What seems to be happening is logrotate makes a new
/var/log/messages file and changes the permissions on the file. What we did to
fix this was:

 

1.      
Make a new goup and add the hobbit/bb user to the grp.

2.      
Edit /etc/logrotate.d/syslog and add/edit the following line

create 640 root „name of group“

Then hobbit/bb should be able to read the file.

 

 

 

Kveðja / With regards



Björgvin Þorgrímsson 

Kerfisstjóri Unix - Þjónusta fyrirtækjasviðs



Sími / Tel. +354 522 5000

Fax +354 522 5099







Ármúli 31 • 108 Reykjavík • Iceland • http://www.siminn.is



Síminn auðgar lífið

 

 



From: Josh Luthman
[mailto:josh at imaginenetworksllc.com] 

Sent: 16. maí 2008 06:56

To: hobbit at hswn.dk

Subject: Re: [hobbit] /var/log/messages permission denied



 

chgrp HOBBITUSER
/var/log/messages

chmod g+r /var/log/messages



Taken from: http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide/Compiling_on_CentOS



On Fri, May 16, 2008 at 2:51 AM, Gavin Leonard <gleonard at progrexion.com> wrote:





When I look at my messages status on the Main BB page I
only see this?  Do I need to change the perms on the /var/log/messages
folder?

 

No entries in /var/log/messages  Full log /var/log/messagesCannot open logfile /var/log/messages : Permission denied

 

 


 
  
   
  
 
 
  
   
  
  
  
   
    
    Gavin Leonard
    
    
    
    
   
   
    
    Director,
    Systems-Network Engineering
    
   
   
    
    T
    
    
     801-828-1735
    
   
   
    
    F
    
    
     801-828-1704
    
   
   
    
    E
    
    
     gleonard at progrexion.com
    
   
  
  
  
   
  
 
 
  
   
  
 
 
  
   
  
 
 
  
  
   
    
    Research
    | Marketing | Sales Generation
    
    
    www.progrexion.com
    
   
  
  
 
 
  
   
  
 
 
  
  
   
    
    This
    email and its contents are confidential. If you are not the intended
    recipient, delete this email and do not use or disclose the information
    within this email or its attachments. Thank you.
    
   
  
  
 


 

 












-- 

Josh Luthman

Office: 937-552-2340

Direct: 937-552-2343

1100 Wayne St

Suite 1337

Troy, OH 45373



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

--- Henry Spencer 







_________________________________________________________________
Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080516/404fc8d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1173 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080516/404fc8d9/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1254 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080516/404fc8d9/attachment-0001.gif>


More information about the Xymon mailing list