<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Hi Eric,<div><br></div><div>I just ran attempted to locate a smokeping config file and found it hasn't been created automatically by the apt-get process, which is a little strange - no? This was a fresh Raspbian installation so I am a little unsure as to how it has happened. </div><div><br></div><div>I think tried to generate some example files via commandline using smokeping --gen-examples, got a separate File not found this time</div><div><br></div><div><div></div><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>pi@raspberrypi ~ $ smokeping --gen-examples</div><div>Generating example files...</div><div>open template configuration file ../etc/config.dist for reading: No such file or directory at /usr/share/perl5/Smokeping/Examples.pm line 74.</div></div></blockquote> <br><div></div></div><div>Am I missing something really fundamental here?</div><div><br></div><div>Regards,</div><div>Jake</div><div><div class="zmail_extra"><div id="1"><br>---- On Wed, 28 Jan 2015 22:17:19 +0000 <b>Eric Brander <mailinglists@rednarb.com></b> wrote ---- <br></div><blockquote style="border-left: 1px solid #0000FF;padding-left: 6px; margin: 0 0 0 5px"><div dir="ltr"><br><div><br><div>On Wed, Jan 28, 2015 at 2:37 PM, Jake Hall <span dir="ltr"><<a href="mailto:jake@thegeek.info" target="_blank">jake@thegeek.info</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif"><br>Hi all,<div><br></div><div>I am trying to setup Smokeping on my Raspberry Pi to monitor some services local to our household, and I have come across a problem (with a fresh install of Raspbian and Apache). I installed using apt within the console</div><div><br></div><div>First and foremost, running smokeping --debug within console throws the following error:</div><div><br></div><div><div></div><br><blockquote style="border:1px solid rgb(204,204,204);padding:7px;background-color:rgb(245,245,245)"><div><div>pi@raspberrypi ~ $ sudo smokeping --debug</div><div>ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory</div></div></blockquote> <br><div></div></div><div><br></div></div></div></blockquote><div><snip></div><div><br></div><div>Stopping right there. Anything beyond this message is irelevent until this is resolved. Edit smokeping in the bin folder and make sure Smokeping::main("path/to/conf/file"); has the right path and file name! I have smokeping installed in /opt there for /opt/smokeping/bin/smokeping has an entry in it that looks like Smokeping::main("/opt/smokeping/etc/smokeping.conf"); because I have my conf file saved in /opt/smokeping/etc/. Another option is to tell smokeping where your config file is on the command line. RTFM for that syntax.</div><div><br></div><div>You may want to check this in smokeping.fcgi as well. It's critical they all point to the correct config file. </div><div><br></div><div>HTH,</div><div>Eric</div></div></div></div> _______________________________________________ <br>smokeping-users mailing list <br><a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">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> <br></blockquote><br></div><br></div></div></body></html>