Re: PNG images not showing on Ubuntu 10.04
Barry von Tobel <barry <at> vontobel.cc>
2010-09-13 14:36:43 GMT
Comments embedded below
On 09/13/2010 06:00 AM, Niko Tyni wrote:
> On Sun, Sep 12, 2010 at 08:55:27PM -0500, Barry von Tobel wrote:
>> I'm trying to run smokeping on my 10.04 LTS computer but the images
>> don't show up. Nothing is shown on Firefox, and Chrome only shows
>> the image outline and time axis information. Below is a 'copy url'
>> from Chrome.
> Was this a new installation of the smokeping package or an upgrade from
> an earlier version?
I upgraded to 10.04 LTS from previous versions
> I put quite a bit of effort into getting this right in the package,
> and I'd love to find out what went wrong for you.
>> [Mon Sep 06 09:58:19 2010] [error] [client 192.168.1.54] File does
>> not exist: /var/www/cache, referer:
> I have no idea where this is coming from. Please include your
> /etc/smokeping/apache2.conf and /etc/smokeping/config.d/pathnames.
I attached the two files. I played around with the pathnames, but
before I did that, I made a copy, so this 'should' be the original.
> Some background: earlier versions of the package installed the web
> side in /var/www, but as this was a violation of the Debian policy
> (and the Filesystem Hierarchy Standard) they now (as of 2.3.6-4) go in
> /usr/share/smokeping and /var/cache/smokeping/images.
> 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.
>> I've played around with the 'pathnames' file in /ect/smokeping, but
>> that didn't seem to work. I browsed from another machine and get the
>> same results. I also re-installed it. I"m using the smokeping
>> version available from apt-get sources, and version is 2.3.6-5
> Reinstalling it probably doesn't change anything. If you're prepared to
> lose the measurement data, you might want to try 'dpkg --purge smokeping'
> (which removes all the config files and data) and reinstalling afterwards.
ScriptAlias /smokeping/smokeping.cgi /usr/share/smokeping/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www
sendmail = /usr/sbin/sendmail
imgcache = /var/cache/smokeping/images
imgurl = ../smokeping/images
datadir = /var/lib/smokeping
dyndir = /var/lib/smokeping/__cgi
piddir = /var/run/smokeping
smokemail = /etc/smokeping/smokemail
tmail = /etc/smokeping/tmail
precreateperms = 2775
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch