PDA

View Full Version : Service Stop and Start Errors


jamesthoms
07-19-2004, 08:07 AM
When I try to restart most of the services DA seems to hang.
The browser just waits and eventually times out.

The only error I get is:

2004:07:19-09:43:34: Socket write error: fd is connected to a pipe or socket whose reading end is closed. When this happens the writing process will also receive a SIG_PIPE signal. (Thus, the write return value is seen only if the program catches, blocks or ignores this signal.)

Sometimes if I hit stop a bunch of times it'll finally kill the service and I can then start it up.

Has anyone else had similar problems.

I've been having to stop and start services from the console rather than DA which is not too much of a big deal.

-James

ClearDev Hosting Services
http://www.cleardev.com

DirectAdmin Support
07-19-2004, 01:25 PM
Hello,

DirectAdmin runs:

/usr/local/etc/rc.d/program start/stop/restart/etc..

If there is a pipe closing problem, try restarting DirectAdmin so that the FileDescriptors get reset to a valid range.

John

jlasman
07-20-2004, 11:08 PM
Originally posted by jamesthoms
When I try to restart most of the services DA seems to hang.
The browser just waits and eventually times out.
Most services won't restart if any child daemons are still running. This can be a problem with services that spawn many child daemons.

Jeff