httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Yau" <b...@cardcommerce.com>
Subject RE: [users@httpd] Upgrade to 2.0 question
Date Wed, 07 Jan 2004 16:09:27 GMT
> Swami: ps -ax | grep httpd
>
> I get
>
>
> 49545  ??  Ss     0:01.50 /usr/local/sbin/httpd -k start
> 49546  ??  I      0:00.06 /usr/local/sbin/httpd -k start
> 49547  ??  I      0:00.13 /usr/local/sbin/httpd -k start
> 49548  ??  I      0:00.04 /usr/local/sbin/httpd -k start
> 49549  ??  I      0:00.05 /usr/local/sbin/httpd -k start
> 49550  ??  I      0:00.04 /usr/local/sbin/httpd -k start
> 49558  ??  I      0:00.03 /usr/local/sbin/httpd -k start
> 49561  ??  I      0:00.15 /usr/local/sbin/httpd -k start
>
> > Now, if I start 1.3 w/o bringing down 2.0 first assuming I'd
> first changed
> the listen directive wouldn't I see twice the number of http daemons
> running with no way to know which was which? Maybe I'm thinking it wrong
> and don't need that kind of control.
>


Wherever httpd resides is what will show up in the "ps".   My gues is that
the current httpd you are running was built in with the OS?  Anyway, just
make sure thd httpd 2.0 binary is built in another path like
/usr/local/apache2/bin/httpd .
ps -<byau@tarpon>:~$ ps -ef | grep httpd
root      5752     1  0 Jan06 ?        00:00:02
/usr/local/apache2/bin/httpd -k
nobody    5843  5752  0 Jan06 ?        00:00:00
/usr/local/apache2/bin/httpd -k
nobody    5844  5752  0 Jan06 ?        00:00:05
/usr/local/apache2/bin/httpd -k
nobody    5845  5752  0 Jan06 ?        00:00:00
/usr/local/apache2/bin/httpd -k
byau     14278 14257  0 08:06 pts/8    00:00:00 grep httpd
<byau@tarpon>:~$

And the only thing you need to do really to run both at the same time is to
make sure they are running on different ports.  This is done both in
"Listen" as well as may be done when defining virtualhosts
e.g.

<VirtualHost 10.253.32.174:80>
</VirtualHost>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message