ashb | isn't there another one? 'deamonize' or something like that | 00:00 |
---|---|---|
* rgl RTFM | 00:01 | |
rgl | http://upstart.ubuntu.com/wiki/Stanzas?highlight=(expect)|(fork)#daemon it says "expect fork" replaces daemon :| | 00:02 |
ashb | check your logs then | 00:03 |
ashb | and/or strace it | 00:03 |
rgl | nothing in the logs :| | 00:03 |
rgl | how do I strace it? you mean, strace init? | 00:03 |
ashb | oh fair point that wouldn't work | 00:03 |
ashb | i was thinking strace start mongrel2, but that doesn't actually spawn it dierctly | 00:04 |
=== apachelogger is now known as urllogger | ||
=== urllogger is now known as apachelogger | ||
yaaang | anyone able to help me with this question? | 06:27 |
yaaang | https://lists.ubuntu.com/archives/upstart-devel/2010-December/001343.html | 06:27 |
jetienne | 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:39 |
jetienne | when a upstart doesnt start, where the output is logged ? | 10:47 |
jetienne | q. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running | 11:10 |
jetienne | same question for "startifnotyetstarted" | 11:13 |
ViRUS | I've got some problem. It's an ubuntu system, but it seams that you guys can help me better. | 13:54 |
ViRUS | When booting up the system no gettys are started and it seams upstart is not doing anything | 13:54 |
ViRUS | runlevel reports "unknown" and calling initctl yields "Warning: Fake initctl called, doing nothing" | 13:55 |
ViRUS | 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:56 |
JanC | did you change anything on your system? | 13:59 |
ViRUS | 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:03 |
ViRUS | and for some reason "initctl" still reports - even after setting the runlevel - that it's "Fake initctl" was called. | 14:06 |
JanC | 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:11 |
JanC | if I understand correctly "unknown" runlevel means $RUNLEVEL & $PREVLEVEL are not set and there is no runlevel record in /var/run/utmp | 14:17 |
ViRUS | I'm puzzled. I never really understood upstart and I'm kinda missing that manhole to look and debug what's going on. | 14:18 |
JanC | ViRUS: the "fake initctl" might be because you start it as 'init 2' instead of 'telinit 2' | 14:30 |
JanC | changing to runlevel 2 should normally happen when the rc-sysinit task runs | 14:33 |
JanC | which runs when "start on filesystem and net-device-up IFACE=lo" | 14:33 |
JanC | ViRUS: maybe there is something that caused one of those 2 events not to happen | 14:34 |
ViRUS | hmm, is there any log? How can I check this? | 14:38 |
ViRUS | it really seams rc-sysinit is never called | 14:44 |
ViRUS | Is there a way to enable debugging (logging of events, etc.) | 14:45 |
JanC | there is some info here: http://upstart.ubuntu.com/wiki/Debugging | 14:48 |
JanC | maybe also search https://bugs.launchpad.net/ubuntu/+source/upstart for known bugs... | 14:52 |
ViRUS | I'm just looking at the output of —debug | 14:52 |
JanC | https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506 <-- might be this bug | 14:56 |
ectospasm | 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:05 |
ViRUS | ok. gtg. I think I'll just switch to Ubuntu LTS and see it that helps. Makes much sense for a server anyways | 15:08 |
jetienne | q. 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!