[00:00] isn't there another one? 'deamonize' or something like that [00:01] * rgl RTFM [00:02] http://upstart.ubuntu.com/wiki/Stanzas?highlight=(expect)|(fork)#daemon it says "expect fork" replaces daemon :| [00:03] check your logs then [00:03] and/or strace it [00:03] nothing in the logs :| [00:03] how do I strace it? you mean, strace init? [00:03] oh fair point that wouldn't work [00:04] i was thinking strace start mongrel2, but that doesn't actually spawn it dierctly === apachelogger is now known as urllogger === urllogger is now known as apachelogger [06:27] anyone able to help me with this question? [06:27] https://lists.ubuntu.com/archives/upstart-devel/2010-December/001343.html [10:39] q. when i put a symlink in /etc/init, upstart doesnt seem to accept it. i need an actual file in there. is there a way to make it accept symlink ?. [10:47] when a upstart doesnt start, where the output is logged ? [11:10] q. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running [11:13] same question for "startifnotyetstarted" [13:54] I've got some problem. It's an ubuntu system, but it seams that you guys can help me better. [13:54] When booting up the system no gettys are started and it seams upstart is not doing anything [13:55] runlevel reports "unknown" and calling initctl yields "Warning: Fake initctl called, doing nothing" [13:56] I did now execute "init 2" and the system starts the gettys and everything else. Now I'm confused why this happens. Why does it end up in an "unknown" runlevel? [13:59] did you change anything on your system? [14:03] no. it's a fresh ubuntu 10.10 server installation. Only thing that is special about is is the software raid. Though it is assembled correctly and for some reason even sshd is started. Without sshd I'd not even be able to look at it. So I'm glad dhcp and ssh works regardless of the weird runlevel. [14:06] and for some reason "initctl" still reports - even after setting the runlevel - that it's "Fake initctl" was called. [14:11] hm, tty1 etc. get started after the rc task is run with a RUNLEVEL parameter, so it seems like that doesn't/didn't happen... [14:17] if I understand correctly "unknown" runlevel means $RUNLEVEL & $PREVLEVEL are not set and there is no runlevel record in /var/run/utmp [14:18] I'm puzzled. I never really understood upstart and I'm kinda missing that manhole to look and debug what's going on. [14:30] ViRUS: the "fake initctl" might be because you start it as 'init 2' instead of 'telinit 2' [14:33] changing to runlevel 2 should normally happen when the rc-sysinit task runs [14:33] which runs when "start on filesystem and net-device-up IFACE=lo" [14:34] ViRUS: maybe there is something that caused one of those 2 events not to happen [14:38] hmm, is there any log? How can I check this? [14:44] it really seams rc-sysinit is never called [14:45] Is there a way to enable debugging (logging of events, etc.) [14:48] there is some info here: http://upstart.ubuntu.com/wiki/Debugging [14:52] maybe also search https://bugs.launchpad.net/ubuntu/+source/upstart for known bugs... [14:52] I'm just looking at the output of —debug [14:56] https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506 <-- might be this bug [15:05] I restarted, and my upstart jobs didn't start. Is there a specific way to tell upstart to start these jobs? "start on ..." doesn't seem to be enough. [15:08] ok. gtg. I think I'll just switch to Ubuntu LTS and see it that helps. Makes much sense for a server anyways [15:39] q. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running ? same for "startifnotyetstarted" === ViRUS1 is now known as ViRUS === Stevee_ is now known as Stevee