<html><head><title>Re: [smokeping-users] File paths not seeing what it is I'm doing wrong.</title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">That should have said:<br>
My guess: Either the config isn't being loaded because SP can't parse it. (i.e. There's an error/syntax error in the config.)<br>
<br>
-Greg<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">I don't know. It certainly appears as though smokeping isn't running, so that would explain why you don't have any data.<br>
<br>
My guess: Either the config isn't being loaded because SP can't open it, or there's a rights issue opening it. [SELinux perhaps.]<br>
<br>
The dig from here should be fairly straight-forward and will most likely just mean you keep looking at the error messages and trying things until you get it working.<br>
[For example, a very simple config file, changing perms on the config file...]<br>
<br>
-Greg<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 11pt; color: #1f497d;">Just tried to get debug running on Smokeping and I’m getting back the following.<br>
<br>
ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory<br>
<br>
I installed using apt-get should I can the install and re-install from scratch?<br>
<span style=" font-size: 12pt;">David Thompson <br>
Network Services Support Technician <br>
(O) 858.357.8794 <br>
(F) 858-225-1882 <br>
(E) </span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:dthompson@esi-estech.com">dthompson@esi-estech.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt; color: #1f497d;">(W) </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="http://www.esi-estech.com">www.esi-estech.com</a><br>
<br>
<span style=" font-family:'times new roman'; font-size: 10pt;"><b>From:</b> Gregory Sloop [mailto:</span><a style=" font-family:'times new roman'; font-size: 10pt;" href="mailto:gregs@sloop.net">gregs@sloop.net</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <br>
<b>Sent:</b> Monday, November 03, 2014 12:22 PM<br>
<b>To:</b> David Thompson<br>
<b>Subject:</b> Re: [smokeping-users] File paths not seeing what it is I'm doing wrong.<br>
<br>
<span style=" font-size: 9pt;">See:<br>
</span></span><a style=" font-family:'times new roman'; font-size: 9pt;" href="https://github.com/oetiker/SmokePing/wiki/FAQ">https://github.com/oetiker/SmokePing/wiki/FAQ</a> <br>
<br>
<span style=" font-family:'times new roman'; font-size: 9pt;">In short, you either have a problem with the RRD files getting written, or your web-server/cgi reading the RRD's.<br>
<br>
You need to actually do some looking to figure out what's up. Running SP in debug mode should help you determine if you can write to the RRD's. Apache logs will get you some data about reading the RRD files.<br>
<br>
There's just not much else to go wrong that I've ever seen.<br>
<br>
Master/slave mode makes things a bit more complicated, since the slaves are *writing* to the RRD's via the webserver - but the principles still apply.<br>
<br>
-Greg<br>
<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 11pt; color: #1f497d;">No that’s not it SELinux isn’t even installed on this box.<br>
<br>
<span style=" font-size: 12pt;">David Thompson <br>
Network Services Support Technician <br>
(O) 858.357.8794 <br>
(F) 858-225-1882 <br>
(E) </span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:dthompson@esi-estech.com">dthompson@esi-estech.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt; color: #1f497d;">(W) </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="http://www.esi-estech.com">www.esi-estech.com</a><br>
<br>
<span style=" font-family:'times new roman'; font-size: 10pt;"><b>From:</b> Sam Jones [mailto:</span><a style=" font-family:'times new roman'; font-size: 10pt;" href="mailto:jonesamu@isu.edu">jonesamu@isu.edu</a><span style=" font-family:'times new roman'; font-size: 10pt;">] <br>
<b>Sent:</b> Friday, October 31, 2014 9:23 PM<br>
<b>To:</b> David Thompson<br>
<b>Cc: </b></span><a style=" font-family:'times new roman'; font-size: 10pt;" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<span style=" font-family:'times new roman'; font-size: 10pt;"><b>Subject:</b> Re: [smokeping-users] File paths not seeing what it is I'm doing wrong.<br>
<br>
<span style=" font-size: 12pt;">I had a similar issue with permission errors in the Apache logs and it turned out to be SELinux.<br>
Sam Jones<br>
On Oct 31, 2014 8:52 AM, "David Thompson" <</span></span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:dthompson@esi-estech.com">dthompson@esi-estech.com</a><span style=" font-family:'times new roman'; font-size: 12pt;">> wrote:<br>
Just installed a fresh instance of Smokeping and none of my images are loading for some reason. The files are there when I download them to my desktop machine I can open it up and view it. Here is a copy and paste from my pathnames file.<br>
<br>
sendmail = /usr/sbin/sendmail<br>
imgcache = /var/cache/smokeping/images<br>
imgurl = ../smokeping/images<br>
datadir = /var/lib/smokeping<br>
piddir = /var/run/smokeping<br>
smokemail = /etc/smokeping/smokemail<br>
tmail = /etc/smokeping/tmail<br>
<br>
I’ve tried editing imgurl to be the full path of /var/cache/smokeping/images and restarted both Apache and Smokeping to no avail. I’m not out of disk space either. Any ideas of what it is I’m doing wrong are appreciated.<br>
David Thompson <br>
Network Services Support Technician <br>
(O) 858.357.8794 <br>
(F) 858-225-1882 <br>
(E) </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:dthompson@esi-estech.com">dthompson@esi-estech.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">(W) </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="http://www.esi-estech.com">www.esi-estech.com</a><br>
<br>
<br>
<span style=" font-family:'times new roman'; font-size: 12pt;">_______________________________________________<br>
smokeping-users mailing list<br>
</span><a style=" font-family:'times new roman'; font-size: 12pt;" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<a style=" font-family:'times new roman'; font-size: 12pt;" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>-- <br>
Gregory Sloop, Principal: Sloop Network & Computer Consulting<br>
Voice: 503.251.0452 x82<br>
EMail: </i></span><a style=" font-family:'arial';" href="mailto:gregs@sloop.net">gregs@sloop.net</a><br>
<a style=" font-family:'arial';" href="http://www.sloop.net">http://www.sloop.net</a><br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>---</body></html>