[00:15] hi guys, [00:16] I created a job here, how can I activate it? [00:16] start jobname [00:17] but its not working [00:17] root@Onix:/etc/init# start tomcat [00:17] start: Unknown job: tomcat [00:17] You should find the error message in syslog. [00:17] Upstart probably failed to parse /etc/init/tomcat.conf [00:18] none error in syslog [00:19] here is my conf [00:19] http://paste.ubuntu.com/548690/ [00:20] pre-start stop doesn’t mean anything. You might want pre-stop script. Also, you’ll probably want ‘exec "$TOMCAT_HOME"/bin/startup.sh’ and ditto for shutdown. [00:24] how do I make a stop/shutdown section? [00:39] ion, :3 [00:45] pre-stop exec "$TOMCAT_HOME"/bin/shutdown.sh [00:45] or [00:45] pre-stop script [00:45] exec "$TOMCAT_HOME"/bin/shutdown.sh [00:45] end script [00:45] oh [00:45] I tried that, but I keep getting stop: Unknown instance: [00:46] That probably means 0) starting it failed, or 1) startup.sh daemonized and exited, causing Upstart to think it stopped. [00:46] ohh [00:47] it's running ok (since I can browse tomcat page) [00:47] probably option 1 [00:48] Upstart’s current fork-following code is still preliminary and a bit tricky to use. It should be easiest just to make it stay in the foreground. [00:48] :) cool [00:48] I hope I can help the project too [00:49] is it on c? [00:49] yes [01:04] :3 [01:04] I'm not very good on C [01:04] ='( [20:42] I am currently having a problem where many processes are becoming defunct even though they are owned by init. Does this suggest a bug in init (upstart in this case)? [21:24] I'd like to keep this machine running to be able to provide more debug information but it's getting more and more unuseable, and it's my main machine.