running node.js server using upstart causes ‘terminated with status 127’ on ‘ubuntu 10.04’

i have written an upstart script for ubuntu to launch my node.js server manually or on startup. But it always terminates with status 127 and i can’t find more information about what is going wrong. If i execute it manually then it works and i also tested it on ubuntu 12.10 where it also works … it only fails to work on ubuntu 10.04 which is the production server i’m using.