Thanks for your further update, Bernard, It looks like my unlucky day.
I removed the rrdtool 1.0.48, and ganglia-webfrontend, reapply rrdtool.1.0.45-1, and ganglia-webfrontend, restarted all, but still get no graphs??? Are the versions on ganglia stuffs match with yours? Peter rpm -qa | egrep "gang|rrd" ganglia-webfrontend-2.5.5-1 ganglia-monitor-core-gmond-2.5.6-1 ganglia-monitor-core-lib-2.5.4-8 ganglia-monitor-core-gmetad-2.5.6-1 rrdtool-1.0.45-1.fr cat /var/log/httpd/error_log [Wed Apr 21 19:29:32 2004] [notice] caught SIGTERM, shutting down [Wed Apr 21 19:29:34 2004] [notice] Digest: generating secret for digest authentication ... [Wed Apr 21 19:29:34 2004] [notice] Digest: done [Wed Apr 21 19:29:35 2004] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations ERROR: can't parse DEF 'limits='/var/lib/ganglia/rrds/BADC_Cluster/backup.badc.rl.ac.uk/load_one.rr d':'sum':AVERAGE' -2 ERROR: can't parse DEF 'limits='/var/lib/ganglia/rrds/BADC_Cluster/balmy.badc.rl.ac.uk/load_one.rrd ':'sum':AVERAGE' -2 ERROR: unknown function 'L' ERROR: unknown function 'M' ERROR: unknown function 'N' ERROR: unknown function 'CPU' ERROR: invalid color def format ERROR: invalid color def format -----Original Message----- From: Bernard Li [mailto:[EMAIL PROTECTED] Sent: 21 April 2004 19:13 To: Chiu, PCM (Peter) ; Rene Salmon Cc: [email protected] Subject: RE: [Ganglia-general] A new user question on ganglia-webfrontend Hi Peter: rpm -U is for 'upgrading' a package - if you do not already have the package, you should do -I, not -U. The version of rrdtool we have for our RH9 is 1.0.45 - I have a feeling the RPM you have d/led is not compatible with RedHat 9.0... I recommend you get this: http://www.rpmfind.net//linux/RPM/freshrpms/redhat/9/rrdtool/rrdtool-1.0 .45-1.fr.i386.html Good luck. Cheers, Bernard > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Chiu, PCM (Peter) > Sent: Wednesday, April 21, 2004 10:37 > To: 'Rene Salmon'; Chiu, PCM (Peter) > Cc: '[email protected]' > Subject: RE: [Ganglia-general] A new user question on > ganglia-webfrontend > > Dear Rene and Bernard, > > I managed to obtain a copy of rrdtool, but itself needs > further software for a RedHat 9 box. > > [EMAIL PROTECTED] kits# rpm -Uvh rrdtool-1.0.48-1.i386.rpm > warning: rrdtool-1.0.48-1.i386.rpm: V3 DSA signature: > NOKEY, key ID > e01260f1 > error: Failed dependencies: > librrd = 1.0.48-1 is needed by rrdtool-1.0.48-1 > libXpm is needed by rrdtool-1.0.48-1 > libgd.so.2 is needed by rrdtool-1.0.48-1 > librrd.so.0 is needed by rrdtool-1.0.48-1 > > To cut the story short, I have loaded the following: > > [EMAIL PROTECTED] kits# rpm -Uvh --nodeps libgd2-2.0.15-3mdk.i586.rpm > warning: libgd2-2.0.15-3mdk.i586.rpm: V3 DSA signature: > NOKEY, key ID 70771ff3 > Preparing... > ########################################### > > (Note the --nodeps option, otherwise, it won't load.) > > [EMAIL PROTECTED] kits# rpm -Uvh librrd-1.0.48-1.i386.rpm > warning: librrd-1.0.48-1.i386.rpm: V3 DSA signature: > NOKEY, key ID > e01260f1 > Preparing... > ########################################### [100%] > 1:librrd > ########################################### > [100%] > > [EMAIL PROTECTED] kits# rpm -Uvh --nodeps libXpm-4.3.99.901-2.i386.rpm > warning: libXpm-4.3.99.901-2.i386.rpm: V3 DSA > signature: NOKEY, key ID e01260f1 > Preparing... > ########################################### [100%] > 1:libXpm > ########################################### > [100%] > > > [EMAIL PROTECTED] kits# up2date XFree86-libs > > Fetching package list for channel: redhat-linux-i386-9... > > > [EMAIL PROTECTED] kits# rpm -Uvh rrdtool-1.0.48-1.i386.rpm > warning: rrdtool-1.0.48-1.i386.rpm: V3 DSA signature: > NOKEY, key ID > e01260f1 > Preparing... > ########################################### [100%] > 1:rrdtool > ########################################### > [100%] > > Now > [EMAIL PROTECTED] kits# rpm -Uvh > ganglia-webfrontend-2.5.5-1.noarch.rpm > > Preparing... > ########################################### [100%] > 1:ganglia-webfrontend > ########################################### > [100%] > > > I have also edited /etc/php.ini to make these changes: > safe_mode = On > safe_mode_exec_dir = /usr/bin > > where /usr/bin/rrdtool is loaded. > > I restarted gmond, gmetad and httpd. > > Same result, ie. no graphs produced. > > In /var/log/httpd/error_log, I found these: > > [Wed Apr 21 18:22:18 2004] [notice] caught SIGTERM, shutting > down [Wed Apr 21 18:22:21 2004] [notice] Digest: generating > secret for digest authentication ... > [Wed Apr 21 18:22:21 2004] [notice] Digest: done [Wed Apr 21 > 18:22:22 2004] [notice] Apache/2.0.40 (Red Hat Linux) configured > -- resuming normal operations > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/backup.badc.rl.ac. > uk/load_one.rr > d':'sum':AVERAGE' -2 > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/balmy.badc.rl.ac.u > k/load_one.rrd > ':'sum':AVERAGE' -2 > ERROR: unknown function 'L' > ERROR: unknown function 'M' > ERROR: unknown function 'N' > ERROR: unknown function 'CPU' > ERROR: invalid color def format > ERROR: invalid color def format > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/backup.badc.rl.ac. > uk/load_one.rr > d':'sum':AVERAGE' -2 > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/balmy.badc.rl.ac.u > k/load_one.rrd > ':'sum':AVERAGE' -2 > ERROR: unknown function 'L' > ERROR: unknown function 'M' > ERROR: unknown function 'CPU' > ERROR: unknown function 'N' > ERROR: invalid color def format > ERROR: invalid color def format > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/backup.badc.rl.ac. > uk/load_one.rr > d':'sum':AVERAGE' -2 > ERROR: can't parse DEF > 'limits='/var/lib/ganglia/rrds/BADC_Cluster/balmy.badc.rl.ac.u > k/load_one.rrd > ':'sum':AVERAGE' -2 > ERROR: unknown function 'L' > ERROR: unknown function 'M' > ERROR: unknown function 'CPU' > ERROR: unknown function 'N' > ERROR: invalid color def format > ERROR: invalid color def format > > Still not quite right. What have I missed? > > Is there any good recipie to mount all these software for > RedHat 9/RHEL ? > > Peter > > -----Original Message----- > From: Rene Salmon [mailto:[EMAIL PROTECTED] > Sent: 19 April 2004 21:16 > To: Chiu, PCM (Peter) > Cc: [email protected] > Subject: RE: [Ganglia-general] A new user question on > ganglia-webfrontend > > > Hi, > > I had a similar problem so I hope this helps. It had to do > with the default install of php to safe_mode = On. This will > not allow you to run executables like rrdtool to generate the > graphs unless they are in the > safe_mode_exec_dir=/path-to-somewhere/safe_mode_exec_dir or > something like that. > > Just set these variables in you php.ini file. Then either > copy rrdtool or make a simbolic link to your safe_mode_exec_dir > > look in your http/logs/error_log file you should see something like > sh: /rrdtool: not found > sh: /rrdtool: not found > sh: /rrdtool: not found > > Once you set your safe_mode_exec_dir this should go away and > the graphs should show up > > Hope it helps > Rene > > > > > On Mon, 19 Apr 2004, Bernard Li wrote: > > > Hi Peter: > > > > What happens if you do the following in your 'headnode': > > > > % telnet localhost | grep "<HOST" > > > > Does it list the hosts? > > > > P.S. I assume you have rrdtool installed as well, correct? > > > > Cheers, > > > > Bernard > > > > > > ________________________________ > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Chiu, PCM (Peter) > > Sent: Monday, April 19, 2004 12:27 > > To: '[email protected]' > > Cc: Chiu, PCM (Peter) > > Subject: [Ganglia-general] A new user question on > ganglia-webfrontend > > > > > > > > Hi, > > > > I followed the instructions given in > > http://ganglia.sourceforge.net/docs/ > > <http://ganglia.sourceforge.net/docs/> > > to mount the ganglia-monitor-core-gmond-2.5.6-1 and > gmetad-2.5.6-1, > > as well as untarring the ganglia-webfrontend-2.5.5.tar into > > /var/www/html/ganglia. > > > > Having started up gmond and gmetad, I open up > > http://localhost/ganglia <http://localhost/ganglia> and > > I can see the local host report on the web page. > > > > But there is no graph showing the cpu load and other status > progress. > > > > The ganglia documentation seems to have stopped here. > > > > Have I missed anything to enable the graphs showing the various > > status? > > > > (PS. I can see some .rrd files under > > /var/lib/ganglia/rrds/__SummaryInfo__ directories). > > > > Thanks. Peter > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials Free > Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general > >

