[smokeping-users] ubuntu 14.04 install from repo shows no graphs

goZoom SysAdmin sysadmin at gozoom.ca
Thu Jul 3 13:52:36 CEST 2014


I found this in the mailing list archive : 
https://lists.oetiker.ch/pipermail/smokeping-users/2010-September/004151.html

The Apache configuration snippet in /etc/smokeping/apache2.conf (which
should be symlinked into /etc/apache2/conf.d) makes Apache look in the
right place, and upgrades from earlier versions also add a few symlinks
in /var/www to try and keep things working.

Niko refers to /etc/apache2/conf.d but that directory does not exist....

ian at draco:~$ locate apache | grep conf.d
/etc/php5/apache2/conf.d
/etc/php5/apache2/conf.d/05-opcache.ini
/etc/php5/apache2/conf.d/10-pdo.ini
/etc/php5/apache2/conf.d/20-json.ini
/etc/php5/apache2/conf.d/20-mysql.ini
/etc/php5/apache2/conf.d/20-mysqli.ini
/etc/php5/apache2/conf.d/20-pdo_mysql.ini
/etc/php5/apache2/conf.d/20-readline.ini
/var/lib/apache2/conf/disabled_by_maint
ian at draco:~$

And there are no symlinks in the /var/www/html

Maybe that post is too old to apply (?)

Niko?

Ian


On 02/07/2014 9:22 PM, goZoom SysAdmin wrote:
> I can't see any indicators in the logs, but would welcome an opinion.
>
> ian at draco:~$ tail /var/log/apache2/access.log
> 192.168.11.81 - - [02/Jul/2014:21:08:08 -0400] "GET 
> /smokeping/images/smokeping.png HTTP/1.1" 404 521 
> "http://192.168.11.86/cgi-bin/smokeping.cgi" "Mozilla/5.0 (Windows NT 
> 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
> Chrome/35.0.1916.153 Safari/537.36"
> ::1 - - [02/Jul/2014:21:08:16 -0400] "OPTIONS * HTTP/1.0" 200 125 "-" 
> "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 (internal dummy connection)"
> ::1 - - [02/Jul/2014:21:08:17 -0400] "OPTIONS * HTTP/1.0" 200 125 "-" 
> "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 (internal dummy connection)"
> 192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET 
> /cgi-bin/smokeping.cgi?target=Local.LocalMachine HTTP/1.1" 200 1691 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET 
> /smokeping/prototype/prototype.js HTTP/1.1" 404 523 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET 
> /smokeping/scriptaculous/scriptaculous.js?load=builder,effects,dragdrop HTTP/1.1" 
> 404 532 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET 
> /smokeping/cropper/cropper.js HTTP/1.1" 404 520 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:18 -0400] "GET 
> /smokeping/smokeping-zoom.js HTTP/1.1" 404 519 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET 
> /smokeping/images/Local/LocalMachine_last_108000.png HTTP/1.1" 404 543 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET 
> /smokeping/images/Local/LocalMachine_last_10800.png HTTP/1.1" 404 542 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET 
> /smokeping/images/Local/LocalMachine_last_31104000.png HTTP/1.1" 404 
> 544 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
> 192.168.11.81 - - [02/Jul/2014:21:09:19 -0400] "GET 
> /smokeping/images/smokeping.png HTTP/1.1" 404 521 
> "http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine" 
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
> Gecko) Chrome/35.0.1916.153 Safari/537.36"
>
>
> ian at draco:~$ tail /var/log/apache2/error.log
> [Wed Jul 02 21:07:47.938618 2014] [mpm_prefork:notice] [pid 26663] 
> AH00169: caught SIGTERM, shutting down
> [Wed Jul 02 21:07:49.102716 2014] [mpm_prefork:notice] [pid 30349] 
> AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 configured -- 
> resuming normal operations
> [Wed Jul 02 21:07:49.102903 2014] [core:notice] [pid 30349] AH00094: 
> Command line: '/usr/sbin/apache2'
> [Wed Jul 02 21:11:54.540881 2014] [mpm_prefork:notice] [pid 30349] 
> AH00169: caught SIGTERM, shutting down
> [Wed Jul 02 21:11:55.673276 2014] [mpm_prefork:notice] [pid 30468] 
> AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.2 configured -- 
> resuming normal operations
> [Wed Jul 02 21:11:55.673460 2014] [core:notice] [pid 30468] AH00094: 
> Command line: '/usr/sbin/apache2'
>
>
> Cheers,
> Ian
>
> On 02/07/2014 8:07 PM, Gregory Sloop wrote:
>> Re: [smokeping-users] ubuntu 14.04 install from repo shows no graphs 
>> Check the apache logs - that will probably point you in the right 
>> direction.
>>
>> If it turns out, it's a general problem and most people will have it 
>> in Ubuntu 14.04, posting follow-up to the list [describing the 
>> problem and the work-around/fix] would be great. I can try to get it 
>> into the Wiki/Howto.
>>
>> -Greg
>>
>> *gS> This is a clean Ubuntu 14.04 64 bit. installed smokeping following
>> *gS> 
>> http://heggel4.wordpress.com/2012/10/22/install-and-configure-smokeping-on-ubuntu-12-04-lts/
>>
>> *gS> sudo apt-get install smokeping curl libauthen-radius-perl
>> gS> libnet-ldap-perl libnet-dns-perl libio-socket-ssl-perl
>> gS> libnet-telnet-perl libsocket6-perl libio-socket-inet6-perl apache2
>>
>> gS> I changed only /etc/smokeping/config.d/General adding my server's ip
>>
>> gS> cgiurl =" http://<your ip or dns name>/cgi-bin/smokeping.cgi"
>>
>> gS> Started smokeping sudo service smokeping start, and the url
>> *gS> http://192.168.11.86/cgi-bin/smokeping.cgi?target=Local.LocalMachine
>> *gS> shows no png's.
>>
>> gS> I had Smokeping running on 10.04 previously and seem to remember a
>> gS> similar problem when I first installed it but can't recall the 
>> solution.
>>
>> gS> I've added a couple of Targets and see the RRD's updating but still
>> gS> nothing in the webview. I can copy the generated png's to 
>> apache's html
>> gS> directory and they have content.
>>
>> gS> I also created a test.cgi script and placed it in apache's CGI 
>> directory
>> gS> and it works fine.... So this seems like a permission problem to 
>> me but
>> gS> don't know where to look or why it would not work straight from 
>> the repo....
>>
>>
>> gS> Cheers,
>> gS> Ian
>>
>>
>>
>> gS> _______________________________________________
>> gS> smokeping-users mailing list
>> *gS> smokeping-users at lists.oetiker.ch 
>> <mailto:smokeping-users at lists.oetiker.ch>
>> gS> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users 
>> <https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users>
>>
>> /--
>> Gregory Sloop, Principal: Sloop Network & Computer Consulting
>> Voice: 503.251.0452 x82
>> EMail: /gregs at sloop.net <mailto:gregs at sloop.net>
>> http://www.sloop.net
>> /--- /
>
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140703/f6c8511e/attachment-0001.htm 


More information about the smokeping-users mailing list