You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pramod Kumar <pr...@hotmail.com> on 2010/03/11 07:14:09 UTC

[users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

I have successfuly installed apache in different location . 

When i try to start the server using the second location  '/home/local/apache2/bin/apachectl start'   it gives the error    httpd (pid 3993) already running which is the first location server  pid. 

How to resolve this error so that i can have the servers of both the installation running.  One server is on port 80 and the other on port 8080 and the IP is same , installation directory different.

 

Regards,
PRAMOD KUMAR 




 		 	   		  
_________________________________________________________________
The latest songs, trailers and more
http://video.in.msn.com/  

Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Eric Covener <co...@gmail.com>.
On Sat, Mar 13, 2010 at 2:48 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> Dear Eric
>
> Where is the directive . Which file/entry  i need to change. There is no
> such entry in the httpd.conf  for pid file in apache 2.2.8 .

If it's not there, add it. The manual tells you it's valid in the
"server config" (global) context.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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


RE: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Pramod Kumar <pr...@hotmail.com>.
Dear Eric

Where is the directive . Which file/entry  i need to change. There is no such entry in the httpd.conf  for pid file in apache 2.2.8 .

Regards
PRAMOD KUMAR 



> Date: Fri, 12 Mar 2010 06:25:39 -0500
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat 	server, Error httpd (pid 3996) already running
> 
> On Fri, Mar 12, 2010 at 1:58 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> > I think i need to change the installation dir details in the configure
> > script for the second configuration and pid file reference.
> 
> No, it can simply be changed at runtime with the directive already
> mentioned here.
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> 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
> 
 		 	   		  
_________________________________________________________________
What does Budget 2010 mean for you? Catch all the latest news, updates and analysis on MSN Budget Special
http://news.in.msn.com/moneyspecial/budget2010

Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Eric Covener <co...@gmail.com>.
On Fri, Mar 12, 2010 at 1:58 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> I think i need to change the installation dir details in the configure
> script for the second configuration and pid file reference.

No, it can simply be changed at runtime with the directive already
mentioned here.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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


RE: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Pramod Kumar <pr...@hotmail.com>.
I think i need to change the installation dir details in the configure script for the second configuration and pid file reference.  

 

Regards,

PRAMOD KUMAR 




 


Date: Thu, 11 Mar 2010 03:26:45 -0600
From: jeffhefner@gmail.com
To: users@httpd.apache.org
Subject: Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

This is probably what you are looking for:


http://httpd.apache.org/docs/2.2/mod/mpm_common.html#pidfile


Like a previous poster said both are probably pointed to the same pid file.


jeff


On Thu, Mar 11, 2010 at 12:14 AM, Pramod Kumar <pr...@hotmail.com> wrote:


I have successfuly installed apache in different location . 
When i try to start the server using the second location  '/home/local/apache2/bin/apachectl start'   it gives the error   httpd (pid 3993) already running which is the first location server  pid. 
How to resolve this error so that i can have the servers of both the installation running.  One server is on port 80 and the other on port 8080 and the IP is same , installation directory different.
 
Regards,
PRAMOD KUMAR 







All the latest on four wheels and more Get it now.
 		 	   		  
_________________________________________________________________

Green cities and the melting world
http://green.in.msn.com/

Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Jeff Hefner <je...@gmail.com>.
This is probably what you are looking for:

http://httpd.apache.org/docs/2.2/mod/mpm_common.html#pidfile

Like a previous poster said both are probably pointed to the same pid file.

jeff

On Thu, Mar 11, 2010 at 12:14 AM, Pramod Kumar <pr...@hotmail.com>wrote:

>  I have successfuly installed apache in different location .
> When i try to start the server using the second location
>  '/home/local/apache2/bin/apachectl start'   it gives the error   httpd (pid
> 3993) already running which is the first location server  pid.
> How to resolve this error so that i can have the servers of both the
> installation running.  One server is on port 80 and the other on port 8080
> and the IP is same , installation directory different.
>
> Regards,
> PRAMOD KUMAR
>
>
>
>
>
> ------------------------------
> All the latest on four wheels and more Get it now.<http://autos.in.msn.com/>
>

RE: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Pramod Kumar <pr...@hotmail.com>.
How to change the pid file.  I have not done anything related to the pid file. How to configure for  a different pid file 


Regards,
PRAMOD KUMAR 

 
> From: lists@itech7.com
> Date: Thu, 11 Mar 2010 12:02:16 +0530
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running
> 
> On Thu, Mar 11, 2010 at 11:44 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> > I have successfuly installed apache in different location .
> > When i try to start the server using the second location
> >  '/home/local/apache2/bin/apachectl start'   it gives the error   httpd (pid
> > 3993) already running which is the first location server  pid.
> > How to resolve this error so that i can have the servers of both the
> > installation running.  One server is on port 80 and the other on port 8080
> > and the IP is same , installation directory different.
> >
> > Regards,
> > PRAMOD KUMAR
> >
> >
> >
> >
> >
> > ________________________________
> > All the latest on four wheels and more Get it now.
> 
> Probably you're using same pid files
> 
> -- 
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
> 
> ---------------------------------------------------------------------
> 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
> 
 		 	   		  
_________________________________________________________________
The latest songs, trailers and more
http://video.in.msn.com/  

RE: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Pramod Kumar <pr...@hotmail.com>.
Dear Nilesh

 

On startup the pid of the already runnig apache installation is shown.  for this i couldnot start the new installation. How do i make the new installtion look for new pid. Is there any way the pid file could be changed. In 2.2.8 its not from the httpd.conf.

 

Regards,

PRAMOD KUMAR 



 
> From: lists@itech7.com
> Date: Thu, 11 Mar 2010 12:02:16 +0530
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running
> 
> On Thu, Mar 11, 2010 at 11:44 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> > I have successfuly installed apache in different location .
> > When i try to start the server using the second location
> >  '/home/local/apache2/bin/apachectl start'   it gives the error   httpd (pid
> > 3993) already running which is the first location server  pid.
> > How to resolve this error so that i can have the servers of both the
> > installation running.  One server is on port 80 and the other on port 8080
> > and the IP is same , installation directory different.
> >
> > Regards,
> > PRAMOD KUMAR
> >
> >
> >
> >
> >
> > ________________________________
> > All the latest on four wheels and more Get it now.
> 
> Probably you're using same pid files
> 
> -- 
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
> 
> ---------------------------------------------------------------------
> 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
> 
 		 	   		  
_________________________________________________________________
The latest songs, trailers and more
http://video.in.msn.com/  

Re: [users@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

Posted by Nilesh Govindarajan <li...@itech7.com>.
On Thu, Mar 11, 2010 at 11:44 AM, Pramod Kumar <pr...@hotmail.com> wrote:
> I have successfuly installed apache in different location .
> When i try to start the server using the second location
>  '/home/local/apache2/bin/apachectl start'   it gives the error   httpd (pid
> 3993) already running which is the first location server  pid.
> How to resolve this error so that i can have the servers of both the
> installation running.  One server is on port 80 and the other on port 8080
> and the IP is same , installation directory different.
>
> Regards,
> PRAMOD KUMAR
>
>
>
>
>
> ________________________________
> All the latest on four wheels and more Get it now.

Probably you're using same pid files

-- 
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com

---------------------------------------------------------------------
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