| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Graphs not showing after upgrade http://www.steveshipway.org/forum/viewtopic.php?f=2&t=1064 |
Page 1 of 2 |
| Author: | majid [ Fri Feb 16, 2007 7:41 am ] |
| Post subject: | Graphs not showing after upgrade |
Hi, I upgraded from 2.14 to the latest version and since that took place i do not see any graphs anymore. the graphs are still there and all the links seem to be in place / config items also in place. Has anybody gone through this and how can we troubleshoot / resolve. thanks for any clues and assist. M. |
|
| Author: | stevesh [ Fri Feb 16, 2007 9:40 am ] |
| Post subject: | |
I need some more information as to what is actually happenning. What do you actually get? Can you see the interface at all? Do you get an empty menu? Can you see anything? Have you looked at the configuration verification page on /cgi-bin/routers.cgi?page=verify ? Have you checked that the routers2.conf has not been modified - does it still have the correct cfgfiles and confpath directives? Have you checked that the .cfg files are all readable by the web server process? |
|
| Author: | majid [ Fri Feb 16, 2007 11:23 am ] |
| Post subject: | |
Running on linux mandrake, web page comes up, so does the left hand side menu with all the targets, only thing is when i select a target the screen is updated but only the graph does not show up. going to the verification page shows that everything is ok and that there are no issues at all. |
|
| Author: | stevesh [ Fri Feb 16, 2007 1:30 pm ] |
| Post subject: | |
| Author: | majid [ Mon Feb 19, 2007 3:42 pm ] |
| Post subject: | |
Steve no error codes showup, the png setting is as it was on the old config file (that of 2.14) and the only thing that does not show up is the graphs themselves. It seems that everything else is still there !! Any ideas? Majid |
|
| Author: | stevesh [ Tue Feb 20, 2007 10:38 am ] |
| Post subject: | |
So, you get no error messages, just a blank space between the top and the text at the bottom? No broken images, no errors in your web server logs? You still get the header and footer, and the other text from the central frame, only the graph image missing? The total/percentile calculations are still OK and the last update time shows correctly? This is very unusual, I would have expected the central frame to be either completely blank or to have a broken image link for the graph. |
|
| Author: | majid [ Tue Feb 20, 2007 10:59 am ] |
| Post subject: | |
The percentile calculations are not there. in fact any function that has to do with mrtg and rrd is not there, although the graphs and rrd database files are in the right directories. i get the left and right menu, and the option on select the watched equipment including sub interfaces, etc .... Once one is selected i do not get anything in the middle frame. |
|
| Author: | stevesh [ Tue Feb 20, 2007 1:52 pm ] |
| Post subject: | |
So, this sounds as if the perl script is failing at the point it loads the RRDs module. This is usually caused by an incorrectly installed RRDs perl library. Either part of the library is missing, or you have multiple conflicting versions, or you have incorrect security on the parts and apache cannot read it, or you are using mod_perl incorrectly configured and it cannot load the library. Test using perl -e "use RRDs;" and see if it produces and error message. Also, check your web server error logs and you should see the error in there. You may need to use the libadd= directive in the routers2.conf to force the location of the RRDs module to use. |
|
| Author: | majid [ Tue Feb 20, 2007 2:12 pm ] |
| Post subject: | |
perl -e "use RRDs;" evaluates without any error issues. I had 2.14 installed and i installed 2.17 on top of it. so basically all the rrd and mrtg libraries are still there. no errors in the web server log files either !! |
|
| Author: | stevesh [ Wed Feb 21, 2007 9:43 am ] |
| Post subject: | |
A blank central frame means the script has crashed - and this can only be caused by a library load failure, since library nonexistance is trapped. Usually, I would expect this to appear in the server error logs, though this depends on your web server configuration. Do you have multiple versions of RRDs installed? Between 2.14 and 2.17 there was a change in the library search path order, so it could reveal an incorrect library configuration. Do a search like 'find /usr/lib/perl5 -name "*RRD*" -print' and see if you can find multiple copies of the pm file, or the auto files (this might be the problem). You can also try running the script from the command line and check for errors. perl routers2.cgi -C should attempt to do a CSV extract for the default target on the default device, which requires loading the RRD module, and might give a helpful error message. perl routers2.cgi -G > image.png should generate the png graph image for the default device/target, so this might be worth checking for error messages as well. |
|
| Page 1 of 2 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|