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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
>? 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 |