Re: How to debug why a service doesn't want to start.

Lukas Beeler <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
* Charles M. Gerungan <[email protected]>:
> When I run this from the shell, I'm getting a nice, expected, silence. When letting 
> runit supervise this service, it stays down. Nothing gets logged to the log service, 
> and the log service is running (as indicated by the increasing time when doing sv 
> status). `ps wwaux` shows me all dots after runsvdir -P /service log.

Try attaching truss to the runsv monitoring this service (with an
option to follow forks). This should give you an overview of
system calls called by the script.

This is usually enough to find out what caused the problem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.