Stuck on old script, can't rewrite, can't remove

Bug #973937 reported by Ben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
New
Undecided
Unassigned

Bug Description

I have a script that initializes a node.js web server, I'll call it /etc/init/myserver.conf. At some point tweaking the script, something broke and it started hanging. I've since stripped the script file down to the bare minimum, deleted the script file, run `initctl reload-configuration`, killed all the related processes, and nothing allows the service to be started or stopped again without hanging. Running `start myserver` or `stop myserver` hangs, and `status myserver` says "start/killed" or "stop/killed" depending on whether I just tried to run start or stop.

If I copy the contents of the file - cat myserver.conf > myserver_new.conf, and then `start myserver_new`, it works fine! But the exact same script with the old filename doesn't work.

How do I resolve this?
Thank you

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.