<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)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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: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:12.0pt;
        font-family:"Times New Roman","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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.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="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 lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText>I am not worried so much about permissions. The box is
behind a Pix firewall and I am the only human that works off of that network.
All other employees are behind another firewall. I’ve messed with chown for
root and www-data and still no luck. When I navigate to
http://localhost/smokeping I just get a directory listing like below there are
not any .htm files that I would expect. <o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Index of /smokeping<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Name Last modified Size Description<o:p></o:p></p>
<p class=MsoPlainText>________________________________________<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Parent Directory<o:p></o:p></p>
<p class=MsoPlainText> <o:p></o:p></p>
<p class=MsoPlainText>- Media_mini.png 14-Apr-2008 09:18 11K<o:p></o:p></p>
<p class=MsoPlainText>rrdtool.png 14-Apr-2008 09:18 3.8K<o:p></o:p></p>
<p class=MsoPlainText>smokeping.png 14-Apr-2008 09:18 4.3K<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>________________________________________<o:p></o:p></p>
<p class=MsoPlainText>Apache/2.2.4 (Ubuntu) Server at 192.168.102.6 Port 80<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText> Richey<o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<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:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Nathan Long
[mailto:nathanlong@gmail.com] <br>
<b>Sent:</b> Monday, April 14, 2008 8:35 AM<br>
<b>To:</b> Richey<br>
<b>Subject:</b> Re: [smokeping-users] SmokePing, Ubuntu, and Permission Errors<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>I had similar issues with
Smokeping and Ubuntu. To fix the problem I had to give ownership of the
folder /var/lib/smokeping and rrd files inside to root, and ownership of any
slave_cache files (if you're using slaves) to www-data. I'm not sure of
the security risks involved with this, but it's working for me.<br>
<br>
-Nate<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Apr 14, 2008 at 7:57 AM, Richey <<a
href="mailto:mylists@battleop.com">mylists@battleop.com</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>I am trying to get Smoke Ping running on Ubuntu 7.10 –
Gutsy Gibbon with<br>
Apache2. I can't get the graphs to do anything. When I look at<br>
/var/log/messages it's full of:<br>
<br>
Apr 11 07:40:38 toybox4 smokeping[5565]: RRDs::update ERROR: opening<br>
'/var/lib/smokeping/Media.rrd': Permission denied<br>
Apr 11 07:40:38 toybox4 smokeping[5565]: RRDs::update ERROR: opening<br>
'/var/lib/smokeping/Local/LocalMachine.rrd': Permission denied<br>
<br>
Googleing, I found a post that says that you need to change the ownership of<br>
the files in /var/lib/smokeping/* to apache. I think that ubuntu runs<br>
apache as www-data. So I have tried to change the ownership of the files
to<br>
both apache and www-data. I still get the same results.
Are there maybe<br>
some files in other places that need a change of ownership or
permissions? <br>
I have also messed with the ownership of /usr/lib/cgi-bin/smokeping.cgi.<br>
<br>
I've messed with this off and on for a few weeks. Ten minutes here ten<br>
there so I am sure I am over looking something simple.<br>
<br>
Richey<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users"
target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>