<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Our approach to this issue is  to have hobbit client install/removal non-intrusive to client system.<br>
<br>1. have hobbit client depend on sudo package.<br>2. add entry for hobbit client's account in sudoer file.<br>3. make sure SUDO is point to correct sudo binary.<br>4. remove hobbit client entry upon removal of hobbit client package.<br><br><br>T.J. Yang<br><br><blockquote><hr>Date: Fri, 16 May 2008 12:10:22 +0000<br>From: bjorgvin@anza.is<br>To: hobbit@hswn.dk<br>Subject: RE: [hobbit] /var/log/messages permission denied<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">



<style>
.ExternalClass .EC_shape
{;}
</style>

<style>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass pre
{margin-bottom:.0001pt;font-size:10.0pt;font-family:'Courier New';}
.ExternalClass p.EC_MsoAcetate, .ExternalClass li.EC_MsoAcetate, .ExternalClass div.EC_MsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:'Tahoma','sans-serif';}
.ExternalClass p.EC_MsoListParagraph, .ExternalClass li.EC_MsoListParagraph, .ExternalClass div.EC_MsoListParagraph
{margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_HTMLPreformattedChar
{font-family:Consolas;}
.ExternalClass span.EC_EmailStyle20
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.EC_BalloonTextChar
{font-family:'Tahoma','sans-serif';}
.ExternalClass .EC_MsoChpDefault
{;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.EC_Section1
{page:Section1;}
.ExternalClass ol
{margin-bottom:0cm;}
.ExternalClass ul
{margin-bottom:0cm;}

</style>





<div class="EC_Section1">

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">We had this problem aswell at our site.</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">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:</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoListParagraph" style="text-indent: -18pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"><span style="">1.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      
</span></span></span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Make a new goup and add the hobbit/bb user to the grp.</span></p>

<p class="EC_MsoListParagraph" style="text-indent: -18pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"><span style="">2.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      
</span></span></span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Edit /etc/logrotate.d/syslog and add/edit the following line</span></p>

<p class="EC_MsoListParagraph"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">create 640 root „name of group“</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Then hobbit/bb should be able to read the file.</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(31, 73, 125);">Kveðja / With regards<br>
<b><br>
Björgvin Þorgrímsson </b><br>
Kerfisstjóri Unix - Þjónusta fyrirtækjasviðs</span></p>

<p class="EC_MsoNormal"><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(31, 73, 125);"><br>
Sími / Tel. +354 522 5000<br>
Fax +354 522 5099</span></p>

<p class="EC_MsoNormal"><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(31, 73, 125);"><br>
</span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"><img id="EC_Picture_x0020_1" src="cid:image002.gif@01C8B74D.D10241D0" alt="cid:_1_0E958CD80E9727A80055FBE600257308" height="39" width="100"></span><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(31, 73, 125);"><br>
<br>
Ármúli 31 • 108 Reykjavík • Iceland • </span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"><a href="http://www.siminn.is/" target="_blank"><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif';">http://www.siminn.is</span></a></span><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(31, 73, 125);"><br>
</span><b><span style="font-size: 7.5pt; font-family: 'Verdana','sans-serif'; color: rgb(0, 130, 191);"><br>
Síminn auðgar lífið</span></b><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);" lang="EN-US"></span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <br>
<b>Sent:</b> 16. maí 2008 06:56<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> Re: [hobbit] /var/log/messages permission denied</span></p>

</div>

<p class="EC_MsoNormal"> </p>

<p class="EC_MsoNormal" style="margin-bottom: 12pt;">chgrp HOBBITUSER
/var/log/messages<br>
chmod g+r /var/log/messages<br>
<br>
Taken from: <a href="http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide/Compiling_on_CentOS" target="_blank">http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide/Compiling_on_CentOS</a></p>

<div>

<p class="EC_MsoNormal">On Fri, May 16, 2008 at 2:51 AM, Gavin Leonard <<a href="mailto:gleonard@progrexion.com">gleonard@progrexion.com</a>> wrote:</p>

<div>

<div>

<span lang="EN-US">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?</span><BR>

<span lang="EN-US"> </span><BR>

<pre><span lang="EN-US">No entries in <a href="http://misery.pgx.local/hobbit-cgi/bb-hostsvc.sh?CLIENT=pbx-01&SECTION=msgs:/var/log/messages" target="_blank">/var/log/messages</a></span></pre><pre><span lang="EN-US"> </span></pre><pre><span lang="EN-US"> </span></pre><pre><span lang="EN-US">Full log <a href="http://misery.pgx.local/hobbit-cgi/bb-hostsvc.sh?CLIENT=pbx-01&SECTION=msgs:/var/log/messages" target="_blank">/var/log/messages</a></span></pre><pre><span lang="EN-US">Cannot open logfile /var/log/messages : Permission denied</span></pre>

<span lang="EN-US"> </span><BR>

<span lang="EN-US"> </span><BR>

<table class="EC_MsoNormalTable" style="width: 291pt;" align="left" border="0" cellpadding="0" cellspacing="0" width="388">
 <tbody><tr style="height: 18.75pt;">
  <td colspan="3" style="padding: 0.75pt; background: rgb(240, 242, 239) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; height: 18.75pt;">
  <p style=""> </p>
  </td>
 </tr>
 <tr>
  <td style="padding: 0.75pt; background: rgb(240, 242, 239) none repeat scroll 0% 50%; width: 18.75pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" width="25">
  <p style=""> </p>
  </td>
  <td style="padding: 0.75pt; background: rgb(240, 242, 239) none repeat scroll 0% 50%; width: 253.5pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" width="338">
  <table class="EC_MsoNormalTable" style="width: 100%;" border="0" cellpadding="0" cellspacing="0" width="100%">
   <tbody><tr style="height: 11.25pt;">
    <td colspan="2" style="padding: 0cm; width: 190.55pt; height: 11.25pt;" width="254">
    <p style=""><b><span style="color: rgb(87, 89, 86);">Gavin Leonard</span></b></p>
    </td>
    <td rowspan="5" style="padding: 0cm; width: 83.45pt; height: 11.25pt;" valign="bottom" width="111">
    <p style="text-align: right;" align="right"><img id="EC__x0000_i1025" src="cid:image001.gif@01C8B747.EBF9B230" alt="cid:image001.gif@01C856AD.922EF120" border="0" height="72" width="99"></p>
    </td>
   </tr>
   <tr style="height: 24.75pt;">
    <td colspan="2" style="padding: 0cm; width: 190.55pt; height: 24.75pt;" valign="top" width="254">
    <p style=""><span style="font-size: 9pt; color: rgb(87, 89, 86);">Director,
    Systems-Network Engineering</span></p>
    </td>
   </tr>
   <tr style="height: 12.75pt;">
    <td style="padding: 0cm; width: 8.75pt; height: 12.75pt;" width="12">
    <p style=""><b><span style="font-size: 7.5pt; color: rgb(160, 175, 35);">T</span></b></p>
    </td>
    <td style="padding: 0cm; width: 181.8pt; height: 12.75pt;" width="242">
    <p style=""><span style="font-size: 9pt; color: rgb(87, 89, 86);"> 801-828-1735</span></p>
    </td>
   </tr>
   <tr style="height: 11.25pt;">
    <td style="padding: 0cm; width: 8.75pt; height: 11.25pt;" width="12">
    <p style="line-height: 11.25pt;"><b><span style="font-size: 7.5pt; color: rgb(160, 175, 35);">F</span></b></p>
    </td>
    <td style="padding: 0cm; width: 181.8pt; height: 11.25pt;" width="242">
    <p style="line-height: 11.25pt;"><span style="font-size: 9pt; color: rgb(87, 89, 86);"> 801-828-1704</span></p>
    </td>
   </tr>
   <tr style="height: 11.25pt;">
    <td style="padding: 0cm; width: 8.75pt; height: 11.25pt;" width="12">
    <p style="line-height: 11.25pt;"><b><span style="font-size: 7.5pt; color: rgb(160, 175, 35);">E</span></b></p>
    </td>
    <td style="padding: 0cm; width: 181.8pt; height: 11.25pt;" width="242">
    <p style="line-height: 11.25pt;"><span style="font-size: 9pt;"> <a href="mailto:gleonard@progrexion.com"><span style="color: rgb(87, 89, 86);">gleonard@progrexion.com</span></a></span></p>
    </td>
   </tr>
  </tbody></table>
  </td>
  <td style="padding: 0.75pt; background: rgb(240, 242, 239) none repeat scroll 0% 50%; width: 18.75pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" width="25">
  <p style=""> </p>
  </td>
 </tr>
 <tr style="height: 18.75pt;">
  <td colspan="3" style="padding: 0.75pt; background: rgb(240, 242, 239) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; height: 18.75pt;">
  <p style=""> </p>
  </td>
 </tr>
 <tr style="height: 9pt;">
  <td colspan="3" style="padding: 0.75pt; height: 9pt;">
  <p style="line-height: 9pt;"><span style="font-size: 9pt;"> </span></p>
  </td>
 </tr>
 <tr>
  <td colspan="3" style="padding: 0.75pt;">
  <table class="EC_MsoNormalTable" border="0" cellpadding="0" cellspacing="0">
   <tbody><tr>
    <td style="padding: 0cm; width: 187.5pt;" nowrap="nowrap" valign="top" width="250">
    <p style=""><span style="font-size: 10pt; color: rgb(179, 191, 173);">Research
    | Marketing | Sales Generation</span></p>
    </td>
    <td style="padding: 0cm; width: 90pt;" width="120">
    <p style="text-align: right;" align="right"><a href="http://www.progrexion.com/" target="_blank"><b><span style="color: rgb(179, 191, 173);">www.progrexion.com</span></b></a></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
 <tr style="height: 9pt;">
  <td colspan="3" style="padding: 0.75pt; height: 9pt;">
  <p style="line-height: 9pt;"><span style="font-size: 9pt;"> </span></p>
  </td>
 </tr>
 <tr>
  <td colspan="3" style="padding: 0.75pt;">
  <table class="EC_MsoNormalTable" style="width: 10cm;" border="0" cellpadding="0" cellspacing="0" width="378">
   <tbody><tr>
    <td style="padding: 0cm;" valign="top">
    <p style=""><span style="font-size: 10pt; color: rgb(220, 220, 215);">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.</span></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<span lang="EN-US"> </span><BR>

<span lang="EN-US"> </span><BR>

</div>

</div>

</div>

<p class="EC_MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer </p>

</div>




</blockquote><br /><hr />Give to a good cause with every e-mail. <a href='http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause' target='_new'>Join the i’m Initiative from Microsoft.</a></body>
</html>