Bug 118020 - httpd crashes if one line uncommented from pristine install
Summary: httpd crashes if one line uncommented from pristine install
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: httpd
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
: 104257 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-11 07:14 UTC by P Fudd
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 19:29:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description P Fudd 2004-03-11 07:14:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Description of problem:
I uncommented the line that says 'NameVirtualHost *:80' at the end of
/etc/httpd/conf/httpd.conf, and now the children of httpd segfault on
every page.

Version-Release number of selected component (if applicable):
httpd-2.0.46-25.ent, httpd-2.0.46-30.ent

How reproducible:
Always

Steps to Reproduce:
1. Uncomment the NameVirtualHost *:80 line in httpd.conf
2. Load any page

    

Actual Results:  3. Segfault
4. ???
5. Profit!

Expected Results:  I expected no change in behaviour.

Additional info:

This is a fresh install of Taroon.

I had actually created a virtual server, and it segfaulted too.  I
isolated the problem to this particular line by going back to pristine
config files and uncommenting one line at a time.  Good thing this
happened with the first line, or it might have gotten tedious.

I'm thinking it might be related to mod_ssl.

Doing 'cd /etc/httpd/conf.d; rpm -qf * | sort -u' gives:

httpd-2.0.46-30.ent
mod_auth_mysql-20030510-1.ent
mod_auth_pgsql-2.0.1-3.ent
mod_authz_ldap-0.22-3
mod_perl-1.99_09-10.ent
mod_python-3.0.3-2.ent
mod_ssl-2.0.46-30.ent
php-4.3.2-8.ent
squirrelmail-1.2.11-1
webalizer-2.01_10-15.ent

Comment 1 Joe Orton 2004-03-11 07:45:06 UTC
*** Bug 104257 has been marked as a duplicate of this bug. ***

Comment 2 Joe Orton 2004-03-11 07:51:38 UTC
Thanks for the report.

A correct configuration must define at least one VirtualHost for the
:80 port, i.e.

NameVirtualHost *:80

<VirtualHost *:80>
   ServerName my.server.com
   ...
</VirtualHost>

the segmentation fault occurs if *no* VirtualHosts are configured for
the port.

Comment 3 RHEL Program Management 2007-10-19 19:29:07 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.


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