1

I am trying to run Supervisor init script downloaded from here: https://raw.github.com/Supervisor/initscripts/master/debian-norrgard

Reading the source, it should print out some output into stdout, but when I run it, it does not print anything and does not start supervisord either.

I noticed the same behaviour with /etc/init.d/mysql. Nginx /etc/init.d/nginx work's just fine.

How can I debug this?

Running Debian: 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

5
  • Did you read the logfile ?
    – Vinz
    Dec 1, 2013 at 12:02
  • @Vinz Logfile of the init.d script? Where can I find it? Dec 1, 2013 at 12:06
  • No, the application's logfile. Look in /var/log.
    – Vinz
    Dec 1, 2013 at 12:14
  • @Vinz it's empty ... the application is not probably even invoked by the init script Dec 1, 2013 at 12:14
  • try to run the script with sh -x ou bash -x
    – Vinz
    Dec 1, 2013 at 12:17

1 Answer 1

2

Try to run the script with sh -x or bash -x to see what's happening.

1
  • That was helpful, thanks! It seems there is a /usr/bin/* file missing. Dec 1, 2013 at 12:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .