<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Century Schoolbook";
        panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
        {font-family:"Baskerville Old Face";
        panose-1:2 2 6 2 8 5 5 2 3 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Century Schoolbook","serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Century Schoolbook","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;;
color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;;
color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;;
color:#1F497D">How can I tell if it&#8217;s running under UID or GID?&nbsp; I never had a problem before with this running.&nbsp; I&#8217;m running this under root on both master and slave
 server.&nbsp; Secrets.conf is owned by root user and group.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;;
color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;
color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:
&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> Peter Kristolaitis [mailto:alter3d@alter3d.ca]
<br>
<b>Sent:</b> Tuesday, November 03, 2009 15:25<br>
<b>To:</b> Eric Chatham<br>
<b>Cc:</b> smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> Re: [smokeping-users] Slave cannot open Secrets file (Permisson Denied)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I suspect it's a file ownership problem.<br>
<br>
Is smokeping running with UID root or GID root (the two conditions which would allow it to access that file given the ownership and permissions)?&nbsp;&nbsp; Most installations of smokeping run under non-privileged UID/GID for security.
<br>
<br>
<br>
<br>
<br>
<br>
Eric Chatham wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">I had this working at one time with giving the secrets file 640 permissions.&nbsp; Our hardware failed on our Linux server, so I had to re-install all our applications from
 a backup.&nbsp; One of the apps was smokeping.&nbsp; I re-installed the program and just restored the configs from the backup.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">Can someone tell me why I&#8217;m now having a problem on the slave server trying to open the secrets.conf file on the master server?&nbsp; I keep getting this error:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">WARNING: Opening secrets file /opt/smokeping/etc/secrets.conf: Permission denied</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">Here is my secrets.conf stat:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">stat secrets.conf
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">&nbsp; File: `secrets.conf'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">&nbsp; Size: 56&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks: 16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IO Block: 4096&nbsp;&nbsp; regular file</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Device: fd00h/64768d&nbsp;&nbsp;&nbsp; Inode: 4423683&nbsp;&nbsp;&nbsp;&nbsp; Links: 1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Access: (0640/-rw-r-----)&nbsp; Uid: (&nbsp;&nbsp;&nbsp; 0/&nbsp;&nbsp;&nbsp; root)&nbsp;&nbsp; Gid: (&nbsp;&nbsp;&nbsp; 0/&nbsp;&nbsp;&nbsp; root)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Access: 2009-11-03 13:21:26.000000000 -0600</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Modify: 2009-11-02 15:06:10.000000000 -0600</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">Change: 2009-11-03 13:36:58.000000000 -0600</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Century Schoolbook&quot;,&quot;serif&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;">Eric Chatham</span></i><o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;">MIS Department</span></i><o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;">Phone: (216) 373-4683</span></i><o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;">Fax: (216) 373-4669</span></i><o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;"><a href="mailto:echatham@broadvox.com">echatham@broadvox.com</a></span></i><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Baskerville Old Face&quot;,&quot;serif&quot;"><img border="0" width="230" height="76" id="Picture_x0020_1" src="cid:image001.gif@01CA5C9A.5B430BC0" alt="BroadvoxLogo2"></span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:gray">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
<br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
<pre><o:p>&nbsp;</o:p></pre>
<pre style="text-align:center">

<hr size="4" width="90%" align="center">

</pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>smokeping-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><o:p></o:p></pre>
<pre><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><o:p></o:p></pre>
<pre>&nbsp; <o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
</font>
</body>
</html>