You are not logged in.

#1 2010-09-06 09:28:46

sundi
Member
Registered: 2010-09-06
Posts: 5

unable to start two httpd daemons for 2.2.13 version

Hi All,

I tried to add copy /etc/httpd2.2.13 to /etc/httpd2.2.13_2. The I changed the pidfile and LockFile also in conf/extra/httpd-mpm.conf, but when i start httpd both the the pid file is getting created in both logs of etc/httpd2.2.13 to /etc/httpd2.2.13_2. I am not sure how this is happening. Please suggest me to start two httpd in one machine at the same time.


Regards
Sundi

Offline

#2 2010-09-06 09:30:27

sundi
Member
Registered: 2010-09-06
Posts: 5

Re: unable to start two httpd daemons for 2.2.13 version

when i started httpd2.2.13_2, the pid files of httpd2.2.13 also got created. I am not sure how this is happening...Please point some solutions.

Offline

#3 2010-09-06 09:40:48

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: unable to start two httpd daemons for 2.2.13 version

You could try running one in a chroot.
Why would you need to do this though? Won't virtual hosts suffice?


neutral

Offline

#4 2010-09-06 09:41:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: unable to start two httpd daemons for 2.2.13 version

You've opened two threads on this topic and now you are bumping the post after a couple of minutes.

There is an Edit button below each post - learn how to use it.

Please read the Forum Etiquette on bumping http://wiki.archlinux.org/index.php/For … te#Bumping


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2010-09-06 09:49:44

sundi
Member
Registered: 2010-09-06
Posts: 5

Re: unable to start two httpd daemons for 2.2.13 version

virtual hosts would not suffice because i want to have two httpd's running such that i can start and stop the httpd's(coupled with a server) individually? Can it be achived in a virtual hosts?

Offline

#6 2010-09-06 11:39:38

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: unable to start two httpd daemons for 2.2.13 version

Look at the '-d' option of httpd. You'll then have to copy some files and directories since you don't want the server to share, for example, the same configuration and log files.

Depending on how you create the new directory hierarchy, you might also have to set the PidFile and LockFile directive, etc.

And please follow the forum etiquette next time...

Offline

#7 2010-09-06 13:20:12

sundi
Member
Registered: 2010-09-06
Posts: 5

Re: unable to start two httpd daemons for 2.2.13 version

thanks hexanol for your info....sure I will follow them.

Offline

Board footer

Powered by FluxBB