Oh, one other thing...I should mention that I confirmed that my httpd.conf
file contains all the PHP stuff that is mentioned in the Ganglia manual:
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>
...
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>
...
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
...and I have the php-4.0.6-7 RPM from RedHat installed.
Steve Gilbert
Unix Systems Administrator
[EMAIL PROTECTED]
-----Original Message-----
From: Steve Gilbert
Sent: Thursday, September 11, 2003 3:09 AM
To: '[email protected]'
Subject: [Ganglia-general] web frontend PHP problem
Hey folks,
I've now got Ganglia 2.5.4 running more or less successfully in our
environment. I still have a few odd multicast issues here and there, but
it's mostly just things I need to work out with our network guys. Here's
what I've got going on right now:
- a dual PIII 1.4 GHz 2GB box running RedHat 7.2 with gmetad and the web
frontend.
This has a fiber gigE NIC.
- that box talks to gmonds on 16 different subnets/clusters...approximately
2000 nodes in total.
...I'm going to have to upgrade the monitoring box soon, because it runs at
a load of about 4-9 all the time and is pretty sluggish. Anyway, that's not
my problem. The main page of the frontend loads up fine and shows all the
clusters. However, when I click on one of the graphs, I just get this
message:
Fatal error: Call to undefined function: array_key_exists() in
/var/www/html/ganglia/cluster_view.php on line 67
...my knowledge of PHP is very minimal, so I'm not sure what's up. Sure
enough, if I grep for "array_key_exists" in /var/www/html/ganglia/*, line 67
of cluster_view.php is the only mention of it. Am I missing something? My
Apache not configured correctly, perhaps? Thanks.
Steve Gilbert
Unix Systems Administrator
[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general