/srv/irclogs.ubuntu.com/2011/11/28/#upstart.txt

statimion:  holy crap amazing… that is a pretty crazy script! did the trick00:05
amitesAny ideas why I would be able to start a process via upstart - have it show up in ps aux - but be unknown when running stop/restart commands?? Error log showing: unlink() "/var/run/nginx.pid" failed (2: No such file or directory)16:18
jhuntamites: you may have mis-specified the expect stanza. See http://upstart.ubuntu.com/cookbook/#expect16:20
jhuntamites: you'll probably find that "status <job>" is incorrect.16:20
amitesjhunt: thank you - reading16:21
amitesI'm fairly new to upstart and don't see anything about how to correct the behavior?16:23
jhuntamites: http://upstart.ubuntu.com/cookbook/#recovery-on-misspecification-of-expect16:23
amitesAs a side note the nginx server (problem process) doesn't connect to a port either -- probably related16:24
amitesjhunt: kill: No such process16:26
amitesI should mention that this behavior is new - it was working until there was a port conflict with apache -- corrected port conflict and been this way since16:28
jhuntamites: can you show us your .conf file?16:39
amitesmoment16:39
amiteshttp://pastie.org/293406316:40
jhuntso, nginx doesn't fork at all?16:41
amitesI have it set to use 9 workers in the config16:42
amitesthat's the default init/nginx.conf that came from apt-get install16:42
jhuntamites: http://wiki.nginx.org/NginxMainModule#daemon suggests it daemonizes, so you'd need "expect daemon", but please work through the expect link section. Also, remove that "respawn" until you are fully convinced you've specified the expect stanza correctly.16:45
=== Md_ is now known as Md

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!