Bug 52535 - apache seg faults on startup
apache seg faults on startup
Product: Red Hat Public Beta
Classification: Retired
Component: apache (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-08-24 15:20 EDT by Tom Cross
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-28 10:29:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tom Cross 2001-08-24 15:20:44 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

Which results in:
Segmentation fault

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1./etc/rc.d/init.d/httpd start

Actual Results:  Service FAILED startup, but after further looking into it,
apache says "Segmentation fault"

Expected Results:  Should have started apache

Additional info:
Comment 1 Tom Cross 2001-08-24 15:24:53 EDT
More information: 

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:

/usr/sbin/apache -DHAVE_PERL 

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.
Comment 2 Tom Cross 2001-08-24 15:32:15 EDT
I replaced the modified httpd.conf with the one that came with the rpm, same
results.  Seg fault.
Comment 3 Nalin Dahyabhai 2001-08-27 20:01:46 EDT
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.
Comment 4 Tom Cross 2001-08-28 09:16:22 EDT
Default server install of roswell2, so my versions are:

Comment 5 Nalin Dahyabhai 2001-08-28 10:16:54 EDT
If you (temporarily) remove PHP, does the server start correctly?  If so, then
this is definitely the same problem we're seeing.
Comment 6 Tom Cross 2001-08-28 10:29:17 EDT

# 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!
Comment 7 Nalin Dahyabhai 2001-08-29 11:56:14 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.