3

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...

user9517
  • 115,471
  • 20
  • 215
  • 297
FlashFan
  • 131
  • 1
  • 3

1 Answers1

5

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

Aaron
  • 2,968
  • 1
  • 23
  • 36