On Fri, Jul 24, 2009 at 4:54 PM, Lee Amy<[email protected]> wrote: > Hi, > > When I set up Ganglia Web fronted I can view graphs and click well. > But if I click any button Ganglia will return to the structure of its > directory. It seems very odd. So Actually I cannot change any node. > > And further in the default index,php page There are lots of warnings like > > Warning: gettimeofday() [function.gettimeofday]: It is not safe to > rely on the system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/ganglia.php on line 340 > > Warning: gettimeofday() [function.gettimeofday]: It is not safe to > rely on the system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/ganglia.php on line 356 > > Warning: gettimeofday() [function.gettimeofday]: It is not safe to > rely on the system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/ganglia.php on line 340 > > Warning: gettimeofday() [function.gettimeofday]: It is not safe to > rely on the system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/ganglia.php on line 356 > > Warning: Cannot modify header information - headers already sent by > (output started at /usr/local/apache2/htdocs/ganglia/ganglia.php:340) > in /usr/local/apache2/htdocs/ganglia/header.php on line 58 > > Warning: date() [function.date]: It is not safe to rely on the > system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/header.php on line 78 > > Warning: Cannot modify header information - headers already sent by > (output started at /usr/local/apache2/htdocs/ganglia/ganglia.php:340) > in /usr/local/apache2/htdocs/ganglia/header.php on line 358 > > Warning: Cannot modify header information - headers already sent by > (output started at /usr/local/apache2/htdocs/ganglia/ganglia.php:340) > in /usr/local/apache2/htdocs/ganglia/header.php on line 359 > > Warning: Cannot modify header information - headers already sent by > (output started at /usr/local/apache2/htdocs/ganglia/ganglia.php:340) > in /usr/local/apache2/htdocs/ganglia/header.php on line 360 > > Warning: Cannot modify header information - headers already sent by > (output started at /usr/local/apache2/htdocs/ganglia/ganglia.php:340) > in /usr/local/apache2/htdocs/ganglia/header.php on line 361 > > Warning: date() [function.date]: It is not safe to rely on the > system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in > /usr/local/apache2/htdocs/ganglia/cluster_view.php on line 36 > > And I find this record at error_log of Apache. > > [Fri Jul 24 15:43:26 2009] [error] [client 10.0.38.97] File does not > exist: /usr/local/apache2/htdocs/ganglia/function.date, referer: > http://10.0.38.101/ganglia/index.php > > PHP version is 5.3.0 and Ganglia version is 3.1.2. > > Could anyone show me some tips to fix this problem? > > Thank you very much. > > Best Regards, > > Amy Lee > Hi,
I have fixed one problem is date.timezone problem. However, I still encountered the problem. If I click any button it will return to the page contains Ganglia directory and files. And I view the error log of Apache, I find something odd. [Fri Jul 24 18:09:09 2009] [error] [client 10.0.38.97] PHP Notice: Undefined variable: ganglia_version in /usr/local/apache2/htdocs/ganglia/ganglia.php on line 37, referer: http://10.0.38.101/ganglia/?m=load_one&r=hour&s=descending&c=Dawning+101&h=&sh=1&hc=4&z=small [Fri Jul 24 18:09:09 2009] [error] [client 10.0.38.97] PHP Notice: Use of undefined constant RRDTOOL - assumed 'RRDTOOL' in /usr/local/apache2/htdocs/ganglia/ganglia.php on line 41, referer: http://10.0.38.101/ganglia/?m=load_one&r=hour&s=descending&c=Dawning+101&h=&sh=1&hc=4&z=small [Fri Jul 24 18:18:29 2009] [error] [client 10.0.38.97] PHP Notice: Undefined variable: default_time_range in /usr/local/apache2/htdocs/ganglia/get_context.php on line 111, referer: http://10.0.38.101/ganglia/?r=month&c=Dawning+101&h=node101.site&mc=2 [Fri Jul 24 18:18:29 2009] [error] [client 10.0.38.97] PHP Notice: Undefined variable: default_time_range in /usr/local/apache2/htdocs/ganglia/get_context.php on line 121, referer: http://10.0.38.101/ganglia/?r=month&c=Dawning+101&h=node101.site&mc=2 [Fri Jul 24 18:18:29 2009] [error] [client 10.0.38.97] PHP Notice: Undefined variable: time_ranges in /usr/local/apache2/htdocs/ganglia/get_context.php on line 121, referer: http://10.0.38.101/ganglia/?r=month&c=Dawning+101&h=node101.site&mc=2 [Fri Jul 24 18:18:29 2009] [error] [client 10.0.38.97] PHP Notice: Undefined variable: default_metric in /usr/local/apache2/htdocs/ganglia/get_context.php on line 125, referer: http://10.0.38.101/ganglia/?r=month&c=Dawning+101&h=node101.site&mc=2 So I guess I must encountered some serious problems. And as I said before, I could see the graphs at the default page and click well, just buttons cannot work and will redirect to the list of Ganglia files. Could you tell me how to fix that? Thank you very much~ Amy ------------------------------------------------------------------------------ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

