Hey guys:
 
I have successfully installed Ganglia 3.0.1 on Fedora Core 3 (this probably 
applies to Red Hat Enterprise Linux 4 as well) and thought I'd share with you 
some issues I've encountered and solutions.
 
Basically there are 2 issues.  SELinux and php-gd.
 
Ganglia 2.5.6 worked fine under Fedora Core 3 with SELinux in permissive mode, 
however it no longer works with 3.0.1 and therefore SELinux needs to be turned 
off completely (or you can configured SELinux properly - see this post: 
http://sourceforge.net/mailarchive/message.php?msg_id=10659480).
 
Since Fedora Core 3, the default php installation does not come with gd, 
therefore you need to install the separate RPM 'php-gd' such that ganglia can 
generate and display the pie chart.
 
Ganglia seems to be working fine, and the graphs are generated properly - 
however, I still have one unresolved issue.  In the apache error logs 
(/var/log/httpd/error_log) I get a lot of following messages.  Does anybody 
have any idea what is causing them?
 
[client 127.0.0.1] PHP Notice:  Undefined index:  c in 
/var/www/html/ganglia/get_context.php on line 8
[client 127.0.0.1] PHP Notice:  Undefined index:  G in 
/var/www/html/ganglia/get_context.php on line 9
[client 127.0.0.1] PHP Notice:  Undefined index:  h in 
/var/www/html/ganglia/get_context.php on line 10
[client 127.0.0.1] PHP Notice:  Undefined index:  r in 
/var/www/html/ganglia/get_context.php on line 11
[client 127.0.0.1] PHP Notice:  Undefined index:  m in 
/var/www/html/ganglia/get_context.php on line 12
[client 127.0.0.1] PHP Notice:  Undefined index:  s in 
/var/www/html/ganglia/get_context.php on line 13
[client 127.0.0.1] PHP Notice:  Undefined index:  cr in 
/var/www/html/ganglia/get_context.php on line 14
 
Thanks,
 
Bernard

Reply via email to