[Orca-users] disk plots failing with orca-snapshot-r411

Julian R C Briggs J.Briggs at dcs.shef.ac.uk
Thu May 12 10:41:04 PDT 2005


Blair,

Thanks

On build of Orca 0.28.0 dev 454, I see:

...
Making all in src
make[4]: Entering directory `/tmp/orca-454/packages/rrdtool-1.0.50/src'
/bin/bash ../libtool --tag=CC --mode=link gcc  -O3   -o rrdcgi  rrd_cgi.o librrd.la -lm 
gcc -O3 -o .libs/rrdcgi rrd_cgi.o  ./.libs/librrd -lm -R/usr/local/pkg/orca-454/lib
Undefined                       first referenced
 symbol                             in file
cgiInit                             rrd_cgi.o
cgiGetValue                         rrd_cgi.o
cgiDebug                            rrd_cgi.o
ld: fatal: Symbol referencing errors. No output written to .libs/rrdcgi
collect2: ld returned 1 exit status
make[4]: *** [rrdcgi] Error 1
make[4]: Leaving directory `/tmp/orca-454/packages/rrdtool-1.0.50/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/orca-454/packages/rrdtool-1.0.50'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/orca-454/packages/rrdtool-1.0.50'
make[1]: *** [make_rrdtool] Error 2
make[1]: Leaving directory `/tmp/orca-454/packages'
make: *** [all] Error 1

I can workaround this thus:

	#workaround for bug in configure in 1.0.49, 1.0.50 (JRCB 1-feb-05)
	perl -pi.bak -e 's:^rrdcgi_LDADD = librrd.la:$& ../cgilib-0.4/librrd_cgi.la:' packages/rrdtool-1.0.50/src/Makefile

Version 545 then works ok for me (so far).

Thanks

Julian

Blair Zajac wrote at 14:46 (GMT -0700) 11 May 2005 :
>Julian R C Briggs wrote:
>> Dear All,
>> 
>> I have just built and installed orca-snapshot-r411 under Solaris-9,
>> delighted to have a fix for the multiple disk plot issue.
>> 
>> I run orcallator and orca with the default orcallator.cfg
>> 
>> The orcallator files, rrds and most .pngs fill up nicely but ...
>> 
>> browsing the disk run and service plots fails with: not found:
>> 
>> http://www.dcs.shef.ac.uk/support/orca/o_holly_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+)).html
>> 
>> http://www.dcs.shef.ac.uk/support/orca/o_holly_gauge_volatile_disk_svct_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))_per_1000.html
>> 
>> The corresponding rrds look ok:
>> 
>> suna41# ll /share/orca/rrd/orcallator/o_hazel/gauge_disk_*
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_rd_per_s.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c0t0d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c0t1d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c0t2d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c0t3d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c1t6d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_runp_c2t0d0.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c0t0d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c0t1d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c0t2d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c0t3d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c1t6d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_svct_c2t0d0_per_1000.rrd
>> -rw-r--r--   1 root     other      50628 Feb  2 17:56 /share/orca/rrd/orcallator/o_hazel/gauge_disk_wr_per_s.rrd
>> suna41#
>> 
>> the .pngs don't:
>> 
>> suna41# ll /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_\(\(\?_c\\d+t\\d+d\\d+\)\|\(\?_c\\d+d\\d+\)\|\(\?_\[ms]d\\d+\)\|\(\?_c\\d+t\(\[A-Z0-9]\{32}\)d\\d+\)\)-*
>> -rw-r--r--   1 root     other       6659 Feb  2 18:00 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-daily.png
>> -rw-r--r--   1 root     other         39 Feb  2 18:01 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-daily.png.meta
>> -rw-r--r--   1 root     other       6098 Feb  2 18:00 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-monthly.png
>> -rw-r--r--   1 root     other         39 Feb  2 18:01 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-monthly.png.meta
>> -rw-r--r--   1 root     other       4720 Feb  2 10:45 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-quarterly.png
>> -rw-r--r--   1 root     other         39 Feb  2 10:49 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-quarterly.png.meta
>> -rw-r--r--   1 root     other       6103 Feb  2 18:00 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-weekly.png
>> -rw-r--r--   1 root     other         39 Feb  2 18:01 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-weekly.png.meta
>> -rw-r--r--   1 root     other       5128 Feb  2 10:45 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-yearly.png
>> -rw-r--r--   1 root     other         39 Feb  2 10:49 /share/orca/www/orcallator/hazel/o_hazel_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-yearly.png.meta
>> suna41#
>> 
>> Looks like the plotting code is using a rexp rather than what it
>> matches.
>> 
>> I would appreciate some help.
>> 
>> Thanks
>> 
>> Julian
>
>Hi Julian,
>
>The bug has been fixed in the most current release of Orca (0.28.0 dev 
>454) or later, which you can download from
>
>http://www.orcaware.com/orca/pub/snapshots/
>
>Let me know if this does or does not work for you.
>
>Here's the change log message for this fix:
>
>     Fix a bug with the new volatile processing code where a ? character
>     can now appear in the HTML and image filenames when the 'data'
>     parameter in an Orca configuration file contains a ? character.
>     Filenames containing a ? character can not be download by the
>     browser because the web server interprets the ? character as the
>     start of a CGI parameter name=value pair query string and removes
>     the query portion from the URL when it looks for the file in the
>     filesystem and hence does not open() the correct filename.
>
>Regards,
>Blair
>
>-- 
>Blair Zajac, Ph.D.
><blair at orcaware.com>
>Subversion and Orca training and consulting
>http://www.orcaware.com/consulting/


-- 
Julian Briggs, Director of IT, Department of Computer Science, 
University of Sheffield, Regent Court, 211 Portobello St, Sheffield S1 4DP, UK
Phone +44 (0) 114-222-1851. Fax +44 (0) 114-222-1810
j.briggs at sheffield.ac.uk  http://www.dcs.shef.ac.uk/~julian



More information about the Orca-users mailing list