ps -ef |grep httpd 

That will show you exactly what is running.  On RH 7.3, if only one Apache
is running, you should see something that looks like this when you run that
command:

root     30931     1  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k
nobody   30932 30931  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k
nobody   30933 30931  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k
nobody   30934 30931  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k
nobody   30935 30931  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k
nobody   30936 30931  0 10:42 ?        00:00:00 /usr/local/apache2/bin/httpd
-k

That's one Apache: the root process so it can bind to port 80, and the
others are children used to serve actual requests.

If you see that BEFORE you start up your own Apache, that means that 1)
someone else has started an Apache, or 2) Apache is set to start on startup.

I don't know your current production environment, but I like to keep
everything manual until I know the whole system works, then I set Apache and
Tomcat up to start automatically on boot.  That way, during testing, you
know for sure what is started and what isn't.

HTH

John

> -----Original Message-----
> From: Denise Mangano [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 15, 2002 7:09 PM
> To: 'Tomcat Users List '
> Subject: RE: Almost there...Updated Apach-Tomcat with mod_jk .. please
> he lp!
> 
> 
> Sorry, meant to respond to that before... I am not under 
> Solaris, I am using
> Redhat 7.3.  I rebooted the server, and now it shows one instance of
> httpd... I still cannot pull up my site, but I think I may 
> know why, but
> won't be able to check until I get into the office in the morning.
> 
> Thanks to you and everyone else for their help.  This is 
> truly turning out
> to be a great learning experience.  I'm sure I will be 
> writing again soon,
> when I try this whole mod_jk stuff again :)
> 
> -----Original Message-----
> From: Rafael Angarita
> To: Tomcat Users List
> Sent: 12/15/2002 6:54 PM
> Subject: Re: Almost there...Updated Apach-Tomcat with mod_jk  
> .. please he
> lp!
> 
> > I ran ps -A which listed all processes.  httpd (apache) was 
> not one of
> them.
> > I am assuming PID means Port ID(?), and neither 443 nor 80 was
> listed...
> > This is all very strange and I am starting to sense that I will have
> to
> > reinstall Apache...
> 
>     PID is process id.
>     Denise, if you are under Solaris try lsof (I'm not sure if the
> sources
> are available to compile it under another platform)
> 
>     Run:
>     # lsof -i -n -C | grep 443
>     it should returns the process that is using the port 443
>     (use -C option if you are under Solaris 5.8)
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to