Thanks All, Installed the rpm, deleted old rrds and changed path in the conf.php file. Here is what I am getting in the httpd/error_log, as you can see, I am still receiving errors. I am especially curious what the sh: /usr/bin: is a directory error is... [r...@nynode-1 ~]# yum list installed rrdtool Loaded plugins: rhnplugin, security Installed Packages rrdtool.x86_64 1.0.50-3.el5.rf installed [r...@nynode-1 ~]# tail /var/log/httpd/error_log sh: /usr/bin: is a directory [Thu Jan 07 19:55:32 2010] [error] [client 192.168.200.151] PHP Notice: Undefined offset: 0 in /var/www/html/ganglia/ganglia.php on line 42 [Thu Jan 07 19:55:32 2010] [error] [client 192.168.200.151] PHP Notice: Undefined offset: 1 in /var/www/html/ganglia/ganglia.php on line 43 sh: /usr/bin: is a directory sh: /usr/bin: is a directory sh: /usr/bin: is a directory sh: /usr/bin: is a directory sh: /usr/bin: is a directory sh: /usr/bin: is a directory sh: /usr/bin: is a directory
--------------------------------------------------------------------------------------------------- Weidlinger Associates, Inc. made the following annotations. “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.” “Please consider our environment before printing this email.” ________________________________________ From: Liu, Liwei [[email protected]] Sent: Thursday, January 07, 2010 4:20 PM To: Konrad, Karl-Heinz Subject: RE: [Ganglia-general] Needed packages for php Web front end I tried to compile rrdtool many times and couldn't get it to work, either. I ended up download an rpm from epel or http://dag.wieers.com/rpm/packages/rrdtool/ and it worked. It will install to /usr/lib as standard library path, instead of /usr/local. The RPM has an older version but it works. Good luck. -----Original Message----- From: Konrad, Karl-Heinz [mailto:[email protected]] Sent: Thursday, January 07, 2010 3:56 PM To: Konrad, Karl-Heinz; Ron Wellnitz; Bernard Li Cc: Ganglia Subject: Re: [Ganglia-general] Needed packages for php Web front end Also I am seeing the following error in /var/log/httpd/error_logs sh: /usr/local/rrdtool-1.4.1/bin: is a directory ------------------------------------------------------------------------ --------------------------- Weidlinger Associates, Inc. made the following annotations. "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." "Please consider our environment before printing this email." ________________________________________ From: Konrad, Karl-Heinz [[email protected]] Sent: Thursday, January 07, 2010 1:03 PM To: Ron Wellnitz; Bernard Li Cc: Ganglia Subject: Re: [Ganglia-general] Needed packages for php Web front end The path has been set correctly. [r...@nynode-1 rrdtool-1.4.1]# ls /usr/local/rrdtool-1.4.1/bin rrdcached rrdcgi rrdtool rrdupdate [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds __SummaryInfo__ WAI New York Cluster [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds/__SummaryInfo__/ boottime.rrd cpu_speed.rrd load_five.rrd part_max_used.rrd bytes_in.rrd cpu_system.rrd load_one.rrd pkts_in.rrd bytes_out.rrd cpu_user.rrd mem_buffers.rrd pkts_out.rrd cpu_aidle.rrd cpu_wio.rrd mem_cached.rrd proc_run.rrd cpu_idle.rrd disk_free.rrd mem_free.rrd proc_total.rrd cpu_nice.rrd disk_total.rrd mem_shared.rrd swap_free.rrd cpu_num.rrd load_fifteen.rrd mem_total.rrd swap_total.rrd [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds/__SummaryInfo__/ boottime.rrd cpu_speed.rrd load_five.rrd part_max_used.rrd bytes_in.rrd cpu_system.rrd load_one.rrd pkts_in.rrd bytes_out.rrd cpu_user.rrd mem_buffers.rrd pkts_out.rrd cpu_aidle.rrd cpu_wio.rrd mem_cached.rrd proc_run.rrd cpu_idle.rrd disk_free.rrd mem_free.rrd proc_total.rrd cpu_nice.rrd disk_total.rrd mem_shared.rrd swap_free.rrd cpu_num.rrd load_fifteen.rrd mem_total.rrd swap_total.rrd [r...@nynode-1 rrdtool-1.4.1]# [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds/WAI\ New\ York\ Cluster/ nynode-1.wai.com __SummaryInfo__ [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds/WAI\ New\ York\ Cluster/nynode-1.wai.com/ boottime.rrd cpu_speed.rrd load_five.rrd part_max_used.rrd bytes_in.rrd cpu_system.rrd load_one.rrd pkts_in.rrd bytes_out.rrd cpu_user.rrd mem_buffers.rrd pkts_out.rrd cpu_aidle.rrd cpu_wio.rrd mem_cached.rrd proc_run.rrd cpu_idle.rrd disk_free.rrd mem_free.rrd proc_total.rrd cpu_nice.rrd disk_total.rrd mem_shared.rrd swap_free.rrd cpu_num.rrd load_fifteen.rrd mem_total.rrd swap_total.rrd [r...@nynode-1 rrdtool-1.4.1]# ls /var/lib/ganglia/rrds/WAI\ New\ York\ Cluster/__SummaryInfo__/ boottime.rrd cpu_speed.rrd load_five.rrd part_max_used.rrd bytes_in.rrd cpu_system.rrd load_one.rrd pkts_in.rrd bytes_out.rrd cpu_user.rrd mem_buffers.rrd pkts_out.rrd cpu_aidle.rrd cpu_wio.rrd mem_cached.rrd proc_run.rrd cpu_idle.rrd disk_free.rrd mem_free.rrd proc_total.rrd cpu_nice.rrd disk_total.rrd mem_shared.rrd swap_free.rrd cpu_num.rrd load_fifteen.rrd mem_total.rrd swap_total.rrd ------------------------------------------------------------------------ --------------------------- Weidlinger Associates, Inc. made the following annotations. "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." "Please consider our environment before printing this email." ________________________________________ From: Ron Wellnitz [[email protected]] Sent: Thursday, January 07, 2010 12:21 AM To: Bernard Li Cc: Konrad, Karl-Heinz; Ganglia Subject: Re: [Ganglia-general] Needed packages for php Web front end Hi Karl, please check your path to rrdtool binary in your conf.php conf.php ... # Leave this alone if rrdtool is installed in $gmetad_root, # otherwise, change it if it is installed elsewhere (like /usr/bin) define("RRDTOOL", "/usr/bin/rrdtool"); ... this error can happen when the path isn't correct. greets ron Bernard Li schrieb: > Hi Karl-Heinz: > > When responding, please hit "reply-all" so that the email goes back to > the mailing-list as well, thanks! > > On Wed, Jan 6, 2010 at 10:20 PM, Konrad, Karl-Heinz <[email protected]> wrote: > > >> I couldn't find any rpm's, so I installed ganglia 3.1.2 from source. I have already checked the rrd dir's and the appropriate files seem to be there. I downloaded rrdtools from the internet and installed from source, while I installed php and php-gd as rpms from rhn. >> > > Why don't you try the RPM packages for rrdtool and ganglia from EPEL - > https://fedoraproject.org/wiki/EPEL and see if they work. > > Cheers, > > Bernard > > ------------------------------------------------------------------------ ------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > > ------------------------------------------------------------------------ ------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general ------------------------------------------------------------------------ ------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

