Article ID: 120007, created on Feb 6, 2014, last review on May 11, 2014

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

Apache could not be restarted with graceful option

    # /hsphere/shared/apache2/bin/apachectl -k graceful   

The following errors are present in the error log.

# tail -fn0 /hsphere/shared/apache2/logs/error_log | grep notice
[Thu Feb 06 21:21:14 2014] [notice] Graceful restart requested, doing restart
[Thu Feb 06 21:21:35 2014] [notice] seg fault or similar nasty error detected in the parent process

Cause

Corrupted php package.

Resolution

Remove all *.ini files from the "/hsphere/local/config/httpd2/php53/php.d/"

    mv /hsphere/local/config/httpd2/php53/php.d/*.ini   ~/ini/

Reinstall php53 package

    rpm -ivh --force /hsphere/pkg/hsphere-php53-5.3.28-4.rpm

Check that Apache restarted without any errors:

# tail -fn0 /hsphere/shared/apache2/logs/error_log | grep notice
[Thu Feb 06 21:23:29 2014] [notice] Graceful restart requested, doing restart
[Thu Feb 06 21:23:50 2014] [notice] Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.0-fips PHP/5.3.28 mod_fcgid/2.3.9 configured -- resuming normal operations

Search Words

seg fault or similar nasty error detected in the parent process

apachectl -k graceful

Graceful restart requested, doing restart

apachectl -k graceful

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF