The Friday 2004-10-29 at 07:30 -0600, Ted Hilts wrote:
0 status in boot log means success and the deamon is actually running? In other words there is no reasons to expect it to stop running? If so they why would the deamon not show up on a "ps -A" unless it has stopped running? I have this happen with portmap.
Would it be correct to assume that if "ps -A" cannot see the deamon running then it is NOT running? I have this happen with portmap.
Run 'rcportmap status'.
I don't know the others (2,3,4,5, and 7)
You didn't look at skeleton: # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - user had insufficient privileges # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) #
The comments in the config files provide a short definition for status values and I assume they apply universally?
They apply to the result of running 'rcwhatever [start|stop|etc...] -- Cheers, Carlos Robinson