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

I followed this tutorial to set up upstart for my node.js server: http://howtonode.org/deploying-node-upstart-monit

The problem is, that when I try to run "start mynodeprogram", I get the floowing error:

root@v:/# start mynodeprogram
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I installed upstart with the following command:

root@v:~# apt-get install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  upstart
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/272 kB of archives.
After this operation, 717 kB of additional disk space will be used.
Selecting previously deselected package upstart.
(Reading database ... 43793 files and directories currently installed.)
Unpacking upstart (from .../upstart_0.6.6-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up upstart (0.6.6-1) ...

Hope you can help me...

share|improve this question
    
Did you try to reboot? Yes, I know this is not a qualified answer, but I got this message when I had trouble with a machine such that I had to reboot. Don't know whether it was the cause or a symptom. –  Meinersbur Feb 17 '11 at 20:06
    
I'll try it out! –  FlashFan Feb 18 '11 at 20:29
    
Meinersbur is my hero! xD Upstart now works fine. –  FlashFan Feb 18 '11 at 20:37
add comment

1 Answer

up vote 3 down vote accepted

Did you try to reboot? A lot of times that can fix it right away.

share|improve this answer
add comment

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.