/srv/irclogs.ubuntu.com/2010/12/10/#upstart.txt

ashbisn't there another one? 'deamonize' or something like that00:00
* rgl RTFM00:01
rglhttp://upstart.ubuntu.com/wiki/Stanzas?highlight=(expect)|(fork)#daemon it says "expect fork" replaces daemon :|00:02
ashbcheck your logs then00:03
ashband/or strace it00:03
rglnothing in the logs :|00:03
rglhow do I strace it? you mean, strace init?00:03
ashboh fair point that wouldn't work00:03
ashbi was thinking strace start mongrel2, but that doesn't actually spawn it dierctly00:04
=== apachelogger is now known as urllogger
=== urllogger is now known as apachelogger
yaaanganyone able to help me with this question?06:27
yaaanghttps://lists.ubuntu.com/archives/upstart-devel/2010-December/001343.html06:27
jetienneq. 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:39
jetiennewhen a upstart doesnt start, where the output is logged ?10:47
jetienneq. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running11:10
jetiennesame question for "startifnotyetstarted"11:13
ViRUSI've got some problem. It's an ubuntu system, but it seams that you guys can help me better.13:54
ViRUSWhen booting up the system no gettys are started and it seams upstart is not doing anything13:54
ViRUSrunlevel reports "unknown" and calling initctl yields "Warning: Fake initctl called, doing nothing"13:55
ViRUSI 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:56
JanCdid you change anything on your system?13:59
ViRUSno. 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:03
ViRUSand for some reason "initctl" still reports - even after setting the runlevel - that it's "Fake initctl" was called.14:06
JanChm, 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:11
JanCif I understand correctly "unknown" runlevel means $RUNLEVEL & $PREVLEVEL are not set and there is no runlevel record in /var/run/utmp14:17
ViRUSI'm puzzled. I never really understood upstart and I'm kinda missing that manhole to look and debug what's going on.14:18
JanCViRUS: the "fake initctl" might be because you start it as 'init 2' instead of 'telinit 2'14:30
JanCchanging to runlevel 2 should normally happen when the rc-sysinit task runs14:33
JanCwhich runs when "start on filesystem and net-device-up IFACE=lo"14:33
JanCViRUS: maybe there is something that caused one of those 2 events not to happen14:34
ViRUShmm, is there any log? How can I check this?14:38
ViRUSit really seams rc-sysinit is never called14:44
ViRUSIs there a way to enable debugging (logging of events, etc.)14:45
JanCthere is some info here: http://upstart.ubuntu.com/wiki/Debugging14:48
JanCmaybe also search https://bugs.launchpad.net/ubuntu/+source/upstart for known bugs...14:52
ViRUSI'm just looking at the output of —debug14:52
JanChttps://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506 <-- might be this bug14:56
ectospasmI 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:05
ViRUSok. gtg. I think I'll just switch to Ubuntu LTS and see it that helps. Makes much sense for a server anyways15:08
jetienneq. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running ? same for "startifnotyetstarted"15:39
=== ViRUS1 is now known as ViRUS
=== Stevee_ is now known as Stevee

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