2nd Apache instance has pid in logs, but not in ps -ax, and doesn't work

This is a discussion on 2nd Apache instance has pid in logs, but not in ps -ax, and doesn't work within the Apache Web Server forums, part of the Web Server and Related Forums category; I've been running a 3rd party module for years on port 8081 without problems, but now I'm trying ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-09-2006
Crooked River
 
Posts: n/a
Default 2nd Apache instance has pid in logs, but not in ps -ax, and doesn't work

I've been running a 3rd party module for years on port 8081 without
problems, but now I'm trying to create a second instance of Apache
1.3.27 to run a second instance of this 3rd party module using port
8082. (It needs its own instance of Apache to run.)

I've duplicated /usr/local/apache in /usr/local/rApache and
changed "Apache" to "rApache" in the new httpd.conf and in apachectl.
Everything compiles okay.

apachectl says this second instance "started", however, when I browse
to http://myBox:8082/index.html I get a "DNS error" message.

/logs/http.pid shows a different number than the original server, but
ps -ax doesn't list this pid.

I've tried with just
tproxy 8081/tcp
tproxy 8081/udp
in /etc/services, and with this:
tproxy 8081/tcp
tproxy 8081/udp
tproxy 8082/tcp
tproxy 8082/udp

I'm a *newbie* and would appreciate any advice.

Thanks,
Dave

  #2 (permalink)  
Old 05-09-2006
Crooked River
 
Posts: n/a
Default Re: 2nd Apache instance has pid in logs, but not in ps -ax, and doesn't work

>? why ?

Because the 3rd party module sits in its own "sgxml" folder in the
modules folder and handles all xml requests. In order to have two of
these modules, one would have to be renamed, and all the code in it
reworked to handle the new path name.

Or, can you suggest another way to do this?

Thanks,
Dave

  #3 (permalink)  
Old 05-11-2006
Crooked River
 
Posts: n/a
Default Re: 2nd Apache instance has pid in logs, but not in ps -ax, and doesn't work

To use port 8082 do I need to replace
tproxy 8081/tcp
tproxy 8081/udp
in /etc/services, and with this:
tproxy 8081/tcp
tproxy 8081/udp
tproxy 8082/tcp
tproxy 8082/udp

Thanks,
Dave

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0