hi
thanks for your advise...
i have been trying.. but it doesn't seem to work...
i have the latest version of PHP compiled on my server....
http://himiko.dnsalias.net:90/testphp.php
and i have the phpinfo page here...
my /var/lib/ganglia/rrds is also owned by nobody
and pointed by $gmetad_root
i still can't figure out what is wrong.. i have turned on registration of
global variables as well...
i can't seem to be able to pick up the $clusters array...
do you have any idea anywhere might be wrong??
the full set of errors that i am facing is viewable here
http://himiko.dnsalias.net:90/ganglia/index.php
----- Original Message ----- From: "Benjamin Khoo"
<[EMAIL PROTECTED]> > > i keep getting errors that are > ======= >
Warning: ksort() expects parameter 1 to be array, null given in >
/home/httpd/html/ganglia/header.php on line 60 > > Warning: Invalid
argument supplied for foreach() in > /home/httpd/html/ganglia/header.php on
line 61 > > Warning: Invalid argument supplied for foreach() in >
/home/httpd/html/ganglia/header.php on line 116 This might be because of an
older or bad installation of php.. might want to go with a fresh install of
the latest php for apache if you haven't done so already. I installed the
latest version last week and it worked ok. > ======== > and my conf.php
file has no changes short of > ======== > ....... > $gmetad_root =
"/usr/sbin/gmetad" > ========= This most definitely should be pointing to
your rrds directory.. /var/lib/ganglia/rrds is what it is, I believe. You
should have made this directory manually and set the ownership on it to
'nobody', as pointed out when you tried to start gmetad. From the looks of
the surrounding documentation in the gmetad.conf the $metad_root =
"/usr/sbin/gmetad" is a left over syntax from a previous version of gmetad
that used that approach ... I hope this one change alone does the trick for
you! Lester
------------------------------------
bENJAMIN kHOO
qIU wENDA
Web Address: http://www.copperblue.per.sg