Changelog Trafficlight
Please put newest item first
Fix in cricket' grapher.cgi
2007-07-12 by FreekDijkstra
Why: Cricket did not display any graphs.
How:
--- grapher.orig.cgi 2007-07-12 09:13:38.000000000 +0200
+++ grapher.cgi 2007-07-12 09:11:59.000000000 +0200
@@ -1892,7 +1892,9 @@
}
unshift @gprints, "--title", $title;
unshift @gprints, "COMMENT:\\s", "COMMENT:\\s";
- push @gprints, "COMMENT:\\s", "COMMENT:Last updated at $lasttime",
+ # copy $lasttime to $esclasttime, and replace 07:30:05 with 07\:30\:05
+ (my $esclasttime = $lasttime) =~ s/:/\\:/g;
+ push @gprints, "COMMENT:\\s", "COMMENT:Last updated at $esclasttime",
} else {
@gprints = ();
}
Huh?:
If you look in /var/log/apache2/error.log it contains errors:
Unable to create graph: Garbage ':05:04 2007' after command:
COMMENT:Last updated at Tue Jul 10 12:05:04 2007
Which are caused by running this command:
rrd graph: /tmp/cricket-cache/cricket-c8da4e13.png -a PNG --base 1024
--start -3628800 --vertical-label bytes --width 500 --height 200
DEF:ds0=/home/cricket/cricket-config/../cricket-data//nortel/system/dram_size.rrd:ds0:AVERAGE
DEF:ds1=/home/cricket/cricket-config/../cricket-data//nortel/system/dram_size.rrd:ds1:AVERAGE
DEF:ds2=/home/cricket/cricket-config/../cricket-data//nortel/system/dram_size.rrd:ds2:AVERAGE
CDEF:sds0=ds0,1048576,* CDEF:sds1=ds1,1024,* CDEF:sds2=ds2,1024,*
LINE2:sds0#ff0000:Size LINE2:sds1#0000ff:Free Size
AREA:sds2#00cc00:Max Bl Fr VRULE:1183240800#ff0000:
VRULE:1180648800#ff0000: COMMENT:\\s COMMENT:\\s --title Dram (Free) Size
GPRINT:sds0:LAST:Size Last\\: %8.1lf%S
GPRINT:sds0:AVERAGE:Avg\\: %8.1lf%S GPRINT:sds0:MIN:Min\\: %8.1lf%s
GPRINT:sds0:MAX:Max\\: %8.1lf%s\\l GPRINT:sds1:LAST:Free Size Last\\: %8.1lf%S
GPRINT:sds1:AVERAGE:Avg\\: %8.1lf%S GPRINT:sds1:MIN:Min\\: %8.1lf%s
GPRINT:sds1:MAX:Max\\: %8.1lf%s\\l GPRINT:sds2:LAST:Max Bl Fr Last\\: %8.1lf%S
GPRINT:sds2:AVERAGE:Avg\\: %8.1lf%S GPRINT:sds2:MIN:Min\\: %8.1lf%s
GPRINT:sds2:MAX:Max\\: %8.1lf%s\\l
COMMENT:\\s COMMENT:Last updated at Tue Jul 10 12:05:04 2007
In short, grapher.cgi makes a wrong call to rrdtool. The above fix changes the last line:
COMMENT:Last updated at Tue Jul 10 12:05:04 2007
to:
COMMENT:Last updated at Tue Jul 10 12\:05\:04 2007
Update to Debian Etch
2007-07-11 by FreekDijkstra
Why: Was still running Debian Sarge, the old stable.
How:
apt-get update
apt-get dist-upgrade
Notes:
I think most things work, but there are a few things to keep an eye on:
Automount seems to work, but the ocnfig file has considerable changed
since the last version. If someone could do a diff between
/etc/am-utils/amd.conf and /etc/am-utils/amd.conf.dpkg-dist that would
be great.
Apache does not work at the moment, because of this error:
Syntax error on line 6 of /etc/apache2/httpd.conf:
API module structure `aselect_filter_module' in file
/usr/lib/apache2/modules/mod_aselect_filter.so is garbled -
perhaps this is not an Apache module DSO?
I will simply remove the module shortly. If you need it back, you know
where too look. Also, the structure of the following configure files
were changed. I kept our old configs, but maybe we should look into merging:
/etc/apache2/apache2.conf
/etc/apache2/sites-available/default
/etc/apache2/mods-available/ssl.conf
/etc/apache2/mods-available/dav_svn.conf
Python2.4-xml package install
2005-08-02 by Paola Grosso
Why: To solve problem running ZSI Web Service in Python 2.4
How:
Installed Debia package python2.4-xml. This has solved the problem having when trying to import xml.dom.ext
SplitQName, used in ZSI
Categories
CategoryLogs
There are no comments on this page. [Add comment]