Red Hat Bugzilla – Bug 52535
apache seg faults on startup
Last modified: 2007-04-18 12:36:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.3-12 i686; en-US; rv:0.9.1)
Description of problem:
running /etc/rc.d/init.d/httpd start results in FAILED.
further checking into it, the httpd script tries to start apache like this:
[root@xterm178 httpd]# /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY
-DHAVE_AUTH_ANON -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS -DHAVE_AUTH
-DHAVE_AUTOINDEX -DHAVE_AUTH_DB -DHAVE_AUTH_DBM -DHAVE_CERN_META -DHAVE_CGI
-DHAVE_DIGEST -DHAVE_DIR -DHAVE_ENV -DHAVE_EXAMPLE -DHAVE_EXPIRES
-DHAVE_HEADERS -DHAVE_IMAP -DHAVE_INCLUDE -DHAVE_INFO -DHAVE_LOG_AGENT
-DHAVE_LOG_CONFIG -DHAVE_LOG_REFERER -DHAVE_MIME -DHAVE_MIME_MAGIC
-DHAVE_MMAP_STATIC -DHAVE_NEGOTIATION -DHAVE_REWRITE -DHAVE_SETENVIF
-DHAVE_SPELING -DHAVE_STATUS -DHAVE_UNIQUE_ID -DHAVE_USERDIR
-DHAVE_USERTRACK -DHAVE_VHOST_ALIAS -DHAVE_DAV -DHAVE_PERL -DHAVE_SSL
Which results in:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: Service FAILED startup, but after further looking into it,
apache says "Segmentation fault"
Expected Results: Should have started apache
Just a default "Server" install of Roswell beta2 on a Dell Dimmension desktop.
I made a few changes to /etc/httpd/conf/httpd.conf, but if I start the apache
deamon manually like this:
it starts just fine. If I start it with all of the "-D"'s that the init.d/httpd
script wants to start it with, it seg faults.
I replaced the modified httpd.conf with the one that came with the rpm, same
results. Seg fault.
Which version of the OpenSSL package do you have installed? Do you have PHP
installed? If so, this should be fixed in openssl-0.9.6b-7 and later.
Default server install of roswell2, so my versions are:
If you (temporarily) remove PHP, does the server start correctly? If so, then
this is definitely the same problem we're seeing.
# rpm -e php php-ldap php-imap
warning: /etc/php.ini saved as /etc/php.ini.rpmsave
[# /etc/rc.d/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
Looks like that did the trick!
Okay, this is almost certainly the same problem I've been hitting with
openssl-0.9.6b-4. If Raw Hide's 0.9.6b-6 doesn't fix it, the -7 in the next
release should (i.e., httpd should start successfully, regardless of whether or
not PHP is installed). Please reopen this bug ID if you find that -7 doesn't
fix this problem.