[root@localhost scripts]# tail -f /usr/local/nagiosxi/var/cmdsubsys.log
PROCESSED 0 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
APPLYING NAGIOSCORE CONFIG...
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/Calcutta' for 'IST/5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-auditlog.inc.php on line 66
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosql/index.php
CMDLINE
--2013-01-29 17:44:28-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2013-01-29 17:44:28 ERROR 500: Internal Server Error.
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
PROCESSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
PROCESSED 0 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Abrist has a great suggestion, lets also make sure that there is nothing else happening on the php end of things which these errors are indicative of. Can you post the output from the following?:
[root@localhost ~]# tail /var/log/httpd/error_log
[Wed Jan 30 01:02:07 2013] [error] [client 173.160.118.149] PHP Warning: strftime(): 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/Calcutta' for 'IST/5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 381, referer: http://123.176.37.93/nagiosxi/
[Wed Jan 30 01:02:36 2013] [error] [client 173.160.118.149] PHP Warning: strtotime(): 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/Calcutta' for 'IST/5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 70, referer: http://123.176.37.93/nagiosxi/
[Wed Jan 30 01:02:36 2013] [error] [client 173.160.118.149] PHP Warning: strtotime(): 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/Calcutta' for 'IST/5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 70, referer: http://123.176.37.93/nagiosxi/
[Wed Jan 30 01:02:37 2013] [error] [client 173.160.118.149] PHP Warning: strftime(): 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/Calcutta' for 'IST/5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 381, referer: http://123.176.37.93/nagiosxi/
[Wed Jan 30 01:03:05 2013] [notice] caught SIGTERM, shutting down
[Wed Jan 30 01:03:06 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 30 01:03:06 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 30 01:03:06 2013] [notice] Digest: done
[Wed Jan 30 01:03:06 2013] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Jan 30 01:03:07 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[root@localhost ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@localhost ~]# tail -f /var/log/httpd/error_log
[Wed Jan 30 01:05:30 2013] [error] [client 120.62.176.147] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:30 2013] [error] [client 120.62.176.147] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:35 2013] [error] [client 120.62.176.147] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:35 2013] [error] [client 120.62.176.147] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:37 2013] [error] [client 120.62.176.147] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:37 2013] [error] [client 120.62.176.147] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:38 2013] [error] [client 120.62.176.147] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:38 2013] [error] [client 120.62.176.147] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:38 2013] [error] [client 120.62.176.147] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 01:05:38 2013] [error] [client 120.62.176.147] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
You may have to spell the date.timezone setting as "Asia/Calcutta". I will look into the ccm error.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[root@localhost scripts]# tail -f /var/log/httpd/error_log
[Wed Jan 30 12:07:20 2013] [error] [client 49.248.31.222] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:20 2013] [error] [client 49.248.31.222] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:23 2013] [error] [client 49.248.31.222] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:23 2013] [error] [client 49.248.31.222] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:24 2013] [error] [client 49.248.31.222] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:24 2013] [error] [client 49.248.31.222] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:25 2013] [error] [client 49.248.31.222] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:25 2013] [error] [client 49.248.31.222] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:25 2013] [error] [client 49.248.31.222] PHP Warning: require_once(/usr/share/pear/HTML/Template/IT.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php
[Wed Jan 30 12:07:25 2013] [error] [client 49.248.31.222] PHP Fatal error: require_once(): Failed opening required '/usr/share/pear/HTML/Template/IT.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/ccm/includes/session.inc.php on line 50, referer: http://123.176.37.93/nagiosxi/includes/components/ccm/xi-index.php