Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

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

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
That was helpful, thanks! It seems there is a /usr/bin/* file missing. –  Petr Peller Dec 1 '13 at 12:21
    
Can you then accept my answer ? –  Vinz Dec 1 '13 at 12:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.