Forum OpenACS Q&A: Help on multiple instances of Openacs

Collapse
Posted by amit singh on
I have installed two instances of openacs 3.2.5. I have an ip address registered with an isp. I tried running two instances of aolserver so that i can have a two seprate test sites at xxx.xx.xx.xx:8000 & another at xxx.xx.xx.xx:800 (ip remaining the same). For the same I copied the aolserver start up script in etc/rc.d/inet.d to aolserver1 and tried to start up another instance of aolserver under the user nsadmin group nsadmin with a new startup file nsd1.tcl having the port change configurations. But i get an error
 [04/Sep/2001:12:32:54][3100.1024][-main-] Fatal: unix: kill(2841, 15)
failed: 'Operation not permitted'
[04/Sep/2001:12:37:29][3172.1024][-main-] Fatal: unix: kill(3160, 15)
failed: 'Operation not permitted'
[04/Sep/2001:12:39:50][3192.1024][-main-] Fatal: unix: kill(3160, 15)
failed: 'Operation not permitted' 
The earlier service is running perfectly and giving me access to port 8000 but i am unable to get the access on port 800. If i stop the server on port 8000 and start the one on 800 i get the access to the openacs site. How cam i resolve the Problem. Am i doing it wrong.
Collapse
Posted by Henry Minsky on
Ports below 1024 are reserved for privileged users, so you need root
access to launch a process which listens on port 800.
Collapse
Posted by amit singh on
I tried it with port 8080 also but than only one instance remains alive. Mean I started the first aolserver on port 8000  and get i get the access. Than as a nsadmin user i try to source the nsd1.tcl file for port 8080 i get the access for the second  instance but the access to the port 8000 is lost.
I don't know what blunder i am doing.

can some one help.

Collapse
Posted by amit singh on
Found the error i forgot to chane the nsd.pid to a new name in the the next server config file i named it to nsd1.pid and both of them started running.