centreon页面工具ping成功,trace失败
帮看下。ping成功的apache日志
10.199.205.42 - - "GET /centreon/include/tools/ping.php?host=10.127.2.145 HTTP/1.1" 200 491 "http://localhost:50140/centreon/main.php?p=201&host_id=113&o=p&min=1" "ipad"
trace不成功的apache日志
10.199.205.42 - - "GET /centreon/include/tools/traceroute.php?host=10.127.2.145 HTTP/1.1" 500 - "http://localhost:50140/centreon/main.php?p=201&host_id=113&o=tr&min=1" "ipad"
看看apache的error_log里面有没有提示 error_log中确实有error,而且每天都有
PHP Warning: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/centreon/www/class/centreonGMT.class.php on line 138, referer: http://10.127.2.140/centreon/main.php?p=20102&o=h_down&search=
apache用户已经数据nagios组了
# id apache
uid=48(apache) gid=48(apache) groups=48(apache),500(nagios) 你试试修改php.ini,修改date.timezone = Asia/Chongqing
重启下apache 改为Asia/Chongqing后,已不抱那个错了,多谢!
发现有新错误了,很多行如下提示:
PHP Notice:Undefined index: config_type in /usr/local/centreon/www/include/monitoring/status/Services/xml/ndo/serviceXML.php on line 269, referer: http://10.127.2.140/centreon/main.php?p=20201&o=svc_ok&search= 数组越界?这个应该是程序的问题了.你看下那个php程序对应的行
页:
[1]