www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Peirce <s...@hostyersite.com>
Subject general/9465: Multiple instances when SSL enabled impossible
Date Sun, 13 Jan 2002 10:11:03 GMT

>Number:         9465
>Category:       general
>Synopsis:       Multiple instances when SSL enabled impossible
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 13 02:20:01 PST 2002
>Originator:     spam@hostyersite.com
>Release:        1.3.22
Server: Apache/1.3.22 (Unix) FrontPage/ PHP/4.1.1 mod_ssl/2.8.5 OpenSSL/0.9.6

Linux x-private-host 2.4.9-12 #1 Tue Oct 30 18:33:49 EST 2001 i686 unknown
When attempting to start multiple instances of Apache using -DSSL, the 2nd instance of apache
being started is "tacked on" to the first instance.  I'm not quite sure what's going on, but
the command 'ps ax' only shows the first isntance running, although all the virtual hosts
from the 2nd instance work - using a different set of IPs.

The pidfiles are different in the two configurations, however only the first instance writes
its pid file.
Create two configuration files for apache, using different BindIPs.
Ensure the two configurations use different PID files.
Start the first instance; ie:

bin/httpd -f conf/serv1.conf -DSSL
ps ax | grep httpd

- connect to the first host; it works.  connect to the second host; it does not work.  the
pid file from this server will be written.

bin/httpd -f conf/serv2.conf -DSSL
ps ax | grep httpd

- notice that you only see the first instance shown?  you can access the hosts of the second
configuration, however.  no pid is written.

When not using SSL, both configurations will work together and run seperately how they should.
 Using the same configuration files and SSL enabeld, seperate instances work fine under 1.3.20.

 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message