Stuck on upgrade
Stuck on upgrade
I'm having a problem with one of the hosts, it keeps freezing in one location when I run the upgrades, also the core configuration manager apply is dying on the same spot.
URL: http://localhost/nagiosql/admin/verify.php
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2013-01-14 22:06:22-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response...
After that it hangs and I get this in the logs:
[Mon Jan 14 21:52:18 2013] [error] [client ::1] PHP Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/html/nagiosql/functions/config_class.php on line 1164
zend_mm_heap corrupted
I'm usually able to get around these by fixing components up, but this time do you have any clues about what is causing this?
URL: http://localhost/nagiosql/admin/verify.php
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2013-01-14 22:06:22-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response...
After that it hangs and I get this in the logs:
[Mon Jan 14 21:52:18 2013] [error] [client ::1] PHP Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/html/nagiosql/functions/config_class.php on line 1164
zend_mm_heap corrupted
I'm usually able to get around these by fixing components up, but this time do you have any clues about what is causing this?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Stuck on upgrade
This looks like it cannot apply the configuration in the 240 time limit set in /etc/php.ini
You may need to increase max_execution_time directive in that file and then restart apache
You may need to increase max_execution_time directive in that file and then restart apache
Code: Select all
service httpd restartRe: Stuck on upgrade
Also came across this, may have something to do with the
output_buffering= value
in the php.ini file
http://stackoverflow.com/questions/2247 ... upted-mean
output_buffering= value
in the php.ini file
http://stackoverflow.com/questions/2247 ... upted-mean
Re: Stuck on upgrade
I fixed the corruption problem with the output_buffering value, but the process is still hanging and then I get a message "NAGIOSQL FAILED TO WRITE CONFIGS".
Re: Stuck on upgrade
I am going to have to send you guys the logs on this one. Without adding a ton of debugging everywhere, I'm not really sure where the problem is right now. I have gotten the logs, let me know who would like to look at them. I don't see anything big here that shows me where the real problem is.
Version is Nagios XI 2012R1.3 running on 6.2.
Version is Nagios XI 2012R1.3 running on 6.2.
Re: Stuck on upgrade
Go ahead and send them along to [email protected].
Re: Stuck on upgrade
I even tried moving the time limit to 600 seconds then 1000, it just times out.scottwilkerson wrote:This looks like it cannot apply the configuration in the 240 time limit set in /etc/php.ini
You may need to increase max_execution_time directive in that file and then restart apacheCode: Select all
service httpd restart
Re: Stuck on upgrade
Weird, if this information has already be sent by email then ignore this post.
What distro and version is this on?
What version of PHP is being run?
Can you list the PHP packages installed in this system?
What distro and version is this on?
What version of PHP is being run?
Can you list the PHP packages installed in this system?
Code: Select all
yum list installed | grep phpRe: Stuck on upgrade
php.i686 5.3.3-14.el6_3 @updates
php-ZendFramework.noarch 1.12.0-1.el6 @epel
php-ZendFramework-Cache-Backend-Memcached.noarch
php-bcmath.i686 5.3.3-14.el6_3 @updates
php-cli.i686 5.3.3-14.el6_3 @updates
php-common.i686 5.3.3-14.el6_3 @updates
php-gd.i686 5.3.3-14.el6_3 @updates
php-ldap.i686 5.3.3-14.el6_3 @updates
php-mbstring.i686 5.3.3-14.el6_3 @updates
php-mcrypt.i686 5.3.3-1.el6 @epel
php-mssql.i686 5.3.3-1.el6 @epel
php-mysql.i686 5.3.3-14.el6_3 @updates
php-odbc.i686 5.3.3-14.el6_3 @updates
php-pdo.i686 5.3.3-14.el6_3 @updates
php-pear.noarch 1:1.9.4-4.el6 @base
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pecl-memcache.i686 3.0.5-4.el6 @base
php-pgsql.i686 5.3.3-14.el6_3 @updates
php-process.i686 5.3.3-14.el6_3 @updates
php-snmp.i686 5.3.3-14.el6_3 @updates
php-xml.i686 5.3.3-14.el6_3 @updates
php-ZendFramework.noarch 1.12.0-1.el6 @epel
php-ZendFramework-Cache-Backend-Memcached.noarch
php-bcmath.i686 5.3.3-14.el6_3 @updates
php-cli.i686 5.3.3-14.el6_3 @updates
php-common.i686 5.3.3-14.el6_3 @updates
php-gd.i686 5.3.3-14.el6_3 @updates
php-ldap.i686 5.3.3-14.el6_3 @updates
php-mbstring.i686 5.3.3-14.el6_3 @updates
php-mcrypt.i686 5.3.3-1.el6 @epel
php-mssql.i686 5.3.3-1.el6 @epel
php-mysql.i686 5.3.3-14.el6_3 @updates
php-odbc.i686 5.3.3-14.el6_3 @updates
php-pdo.i686 5.3.3-14.el6_3 @updates
php-pear.noarch 1:1.9.4-4.el6 @base
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pecl-memcache.i686 3.0.5-4.el6 @base
php-pgsql.i686 5.3.3-14.el6_3 @updates
php-process.i686 5.3.3-14.el6_3 @updates
php-snmp.i686 5.3.3-14.el6_3 @updates
php-xml.i686 5.3.3-14.el6_3 @updates