Report this

What is the reason for this report?

Why is this simple upstart failing?

Posted on August 4, 2015

I have a number of these simple upstart scripts that work fine on other droplets. This is a new droplet and /var/log/upstart/acc.log is filled with /proc/self/fd/9: 4: /proc/self/fd/9:  : not found

I can run the script ‘by hand’ and my app comes up just fine. The script is just

start on startup
respawn
script
    cd /opt/acc
    export PORT=4321
    export ROOT_URL='the ip here'
    node main.js
end script

I’ve tried adding export PATH and NODE_PATH … same error in the log.

This is a new droplet, but as I said I can run this ‘by hand’ and its fine.

Ideas as to what is wrong or what I can do to find out what is really ‘not found’?

P:)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.