<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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:
<blockquote
 cite="mid:4ABA3E162F60624A949503A7F960245EB1D23A79F5@CLEHBEXMS01.broadvox.local"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <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";}
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;}
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";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Century Schoolbook","serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@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="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;">Hello,<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; 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.<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; 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:<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">WARNING: Opening
secrets file /opt/smokeping/etc/secrets.conf: Permission denied<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; 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 ?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;">Here
is my secrets.conf stat:<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">stat secrets.conf
  <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">&nbsp; File: `secrets.conf'<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; 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<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">Device: fd00h/64768d&nbsp;&nbsp;&nbsp;
Inode: 4423683&nbsp;&nbsp;&nbsp;&nbsp; Links: 1<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; 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)<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">Access: 2009-11-03
13:21:26.000000000 -0600<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">Modify: 2009-11-02
15:06:10.000000000 -0600<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 9pt; font-family: Consolas;">Change: 2009-11-03
13:36:58.000000000 -0600<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Century Schoolbook&quot;,&quot;serif&quot;;"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><i><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;">Eric Chatham<o:p></o:p></span></i></p>
  <p class="MsoNormal"><i><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;">MIS Department<o:p></o:p></span></i></p>
  <p class="MsoNormal"><i><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;">Phone: (216)
373-4683<o:p></o:p></span></i></p>
  <p class="MsoNormal"><i><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;">Fax: (216)
373-4669<o:p></o:p></span></i></p>
  <p class="MsoNormal"><i><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;"><a class="moz-txt-link-abbreviated" href="mailto:echatham@broadvox.com">echatham@broadvox.com</a><o:p></o:p></span></i></p>
  <p class="MsoNormal"><span
 style="font-family: &quot;Baskerville Old Face&quot;,&quot;serif&quot;;"><img
 id="Picture_x0020_1" src="cid:part1.01080304.00090609@alter3d.ca"
 alt="BroadvoxLogo2" height="76" width="230"><o:p></o:p></span></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
  <br>
  <hr>
  <font color="Gray" face="Arial" 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>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>