<!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;'><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>Searching around and I didn't find much useful for resolutions to that issue, and I have no idea what it is.</div><div><br></div><div>I then feel this is the problem with the frontend, I don't get empty graphs - I get the following:</div><div><div style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(255, 255, 255);"></div><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(255, 255, 255);">ERROR: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory<br>'DEF:median1=/var/lib/smokeping/DNS/gdns.rrd:median:AVERAGE'<br>'DEF:loss1=/var/lib/smokeping/DNS/gdns.rrd:loss:AVERAGE'<br>'CDEF:ploss1=loss1,5,/,100,*'<br>'CDEF:dm1=median1,0,100000,LIMIT'<br>'DEF:pin1p1=/var/lib/smokeping/DNS/gdns.rrd:ping1:AVERAGE'<br>'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'<br>'DEF:pin1p2=/var/lib/smokeping/DNS/gdns.rrd:ping2:AVERAGE'<br>'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'<br>'DEF:pin1p3=/var/lib/smokeping/DNS/gdns.rrd:ping3:AVERAGE'<br>'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'<br>'DEF:pin1p4=/var/lib/smokeping/DNS/gdns.rrd:ping4:AVERAGE'<br>'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'<br>'DEF:pin1p5=/var/lib/smokeping/DNS/gdns.rrd:ping5:AVERAGE'<br>'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'<br>'CDEF:pings1=5,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,-'<br>'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,pings1,/'<br>'CDEF:sdev1=p1p1,m1,-,DUP,*,p1p2,m1,-,DUP,*,+,p1p3,m1,-,DUP,*,+,p1p4,m1,-,DUP,*,+,p1p5,m1,-,DUP,*,+,pings1,/,SQRT'<br>'CDEF:dmlow1=dm1,sdev1,2,/,-'<br>'CDEF:s2d1=sdev1'<br>'AREA:dmlow1'<br>'AREA:s2d1#00458630::STACK'<br>'LINE1:dm1#004586:med RTT'<br>'VDEF:avmed1=median1,AVERAGE'<br>'VDEF:avsd1=sdev1,AVERAGE'<br>'CDEF:msr1=median1,POP,avmed1,avsd1,/'<br>'VDEF:avmsr1=msr1,AVERAGE'<br>'GPRINT:avmed1:%5.1lf %ss av md '<br>'GPRINT:ploss1:AVERAGE:%5.1lf %% av ls'<br>'GPRINT:avsd1:%5.1lf %ss av sd'<br>'GPRINT:avmsr1:%5.1lf %s am/as\l'</div><div style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(255, 255, 255);">ERROR: opening '/var/lib/smokeping/DNS/VirginMedia_DNS.rrd': No such file or directory<br>'DEF:median1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:median:AVERAGE'<br>'DEF:loss1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:loss:AVERAGE'<br>'CDEF:ploss1=loss1,5,/,100,*'<br>'CDEF:dm1=median1,0,100000,LIMIT'<br>'DEF:pin1p1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping1:AVERAGE'<br>'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'<br>'DEF:pin1p2=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping2:AVERAGE'<br>'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'<br>'DEF:pin1p3=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping3:AVERAGE'<br>'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'<br>'DEF:pin1p4=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping4:AVERAGE'<br>'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'<br>'DEF:pin1p5=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping5:AVERAGE'<br>'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'<br>'CDEF:pings1=5,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,-'<br>'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,pings1,/'<br>'CDEF:sdev1=p1p1,m1,-,DUP,*,p1p2,m1,-,DUP,*,+,p1p3,m1,-,DUP,*,+,p1p4,m1,-,DUP,*,+,p1p5,m1,-,DUP,*,+,pings1,/,SQRT'<br>'CDEF:dmlow1=dm1,sdev1,2,/,-'<br>'CDEF:s2d1=sdev1'<br>'AREA:dmlow1'<br>'AREA:s2d1#00458630::STACK'<br>'LINE1:dm1#004586:med RTT'<br>'VDEF:avmed1=median1,AVERAGE'<br>'VDEF:avsd1=sdev1,AVERAGE'<br>'CDEF:msr1=median1,POP,avmed1,avsd1,/'<br>'VDEF:avmsr1=msr1,AVERAGE'<br>'GPRINT:avmed1:%5.1lf %ss av md '<br>'GPRINT:ploss1:AVERAGE:%5.1lf %% av ls'<br>'GPRINT:avsd1:%5.1lf %ss av sd'<br>'GPRINT:avmsr1:%5.1lf %s am/as\l'</div></div></blockquote> Which I assumed was because Smokeping was not able to write to the rrd folder, /var/lib/smokeping correct? Well, I have made sure smokeping was a member of the www-data group and have also given ownership to smokeping:www-data<div style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(255, 255, 255);"></div></div><div><br></div><div>Nothing. </div><div><br></div><div>I don't know if its an RRD problem I feel like I am a little screwed because I know very little about it.</div><div><br></div><div>Any help would be vastly appreciated, here is an excerpt from the Apache log:</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>[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.</div><div>[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.</div><div>[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory</div><div>[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.</div></div></blockquote> <br><div></div></div><div><br></div></div></body></html>