Forum OpenACS Development: Down Connection

Collapse
Posted by Carlos Alberto Rodriguez Patiño on
Hi, I am Carlos Rodriguez, mi english is no good,

I am have follow problem

Have a Server HP DL380G4, RAM 1GB, HD 72GB, Controller DISK SMART 6i.
O.S. Red Hat Enterprise Edition 4 Update 1
Data Base Postgres 7.3.4
OpenACS 5.1.4
Aolserver3.3oacs1

For some time all system function correctly,

now not up the system.
O.S up, no problem,
Data Base up, no problem,
./bin/nsd -t sample-config.tcl -u nobody -g web (no problem)
/usr/local/aolserver/bin/nsd-postgres -t /web/service0/config.tcl, PROBLEM, NO CONNECT.

Please, HELP

Collapse
2: Re: Down Connection (response to 1)
Posted by Ryan Gallimore on
So your server starts using nsd-postgres and then it fails?

Could be a memory leak with an older version of Tcl.

https://openacs.org/forums/message-view?message_id=392385

Good luck.

Collapse
3: Re: Down Connection (response to 1)
Posted by Steve Manning on
Are you using a privileged port like port 80? If so you will need to start nsd as root. You should also take a look at the logs produced by service0/config.tcl to see where its failing.

- Steve
Collapse
Posted by Carlos Alberto Rodriguez Patiño on
How start up server how ROOT,
Collapse
Posted by Ryan Gallimore on
Are using port 80 (or any port below 1024)? If so, enter the following:

# su

# exec /usr/local/aolserver/bin/nsd -it /my/path/etc/config.tcl -u service1 -g web -b 1.2.3.4:80 &

Check to make sure that /usr/local/aolserver/bin is your path to nsd.

service1 is your aolserver user, and web is its group.