Hi All,

Can someone please help me the following.

I have a manifest for starting/stopping  the Sun Directory Service. 
Works fine. However, if I deliberately kill the slapd process is does 
not get restarted.   The reason would appear to be that the stop method 
is not exiting cleanly, because stop-slapd is reporting "No ns-slapd PID 
file found. Server is probably not running".

How can I inform the svc.startd that this is actually an OK response and 
to go on and run the start method ?   Looking at the various docs and 
man pages etc. I can only see stuff about informing the restarter to 
ignore kill signals and cores, which is not what I want, of course.  But 
I can't seem to find anything else :-(

Any help much appreciated.



[ Aug 24 12:33:07 Method "start" exited with status 0 ]
[ Aug 24 12:34:07 Stopping because process received fatal signal from 
outside the service. ]
[ Aug 24 12:34:07 Executing stop method 
("/var/opt/ds52/slapd-user/stop-slapd") ]
Server not running
[ Aug 24 12:34:07 Method "stop" exited with status 2 ]
[ Aug 24 12:34:07 Executing stop method 
("/var/opt/ds52/slapd-user/stop-slapd") ]
No ns-slapd PID file found. Server is probably not running
[ Aug 24 12:34:07 Method "stop" exited with status 2 ]
[ Aug 24 12:34:07 Executing stop method 
("/var/opt/ds52/slapd-user/stop-slapd") ]
No ns-slapd PID file found. Server is probably not running
[ Aug 24 12:34:07 Method "stop" exited with status 2 ]
[ Aug 24 12:38:50 Leaving maintenance because clear requested. ]
[ Aug 24 12:38:50 Enabled. ]
[ Aug 24 12:38:50 Executing start method 
("/var/opt/ds52/slapd-user/start-slapd") ]
[ Aug 24 12:38:54 Method "start" exited with status 0 ]

-- 
Best regards

-Michael
Sun Microsystems, Inc.

Reply via email to