akamaus | greetings | 10:24 |
---|---|---|
akamaus | I'm looking for a way to periodically run a job (chef-client) on ubuntu-9.10 | 10:25 |
akamaus | can upstart be used for that? | 10:25 |
akamaus | or I should run a service through cron job? | 10:25 |
ion | Use cron for now. Cron-like functionality is in TODO. | 10:26 |
akamaus | ion, thanks | 10:28 |
akamaus | I've setup a cron job to run a script containing "/usr/bin/service chef-client start &>/tmp/log" command. As a result I'm getting "exec: 129: start: not found". | 12:53 |
akamaus | what might be the reason? | 12:54 |
akamaus | "/usr/bin/service chef-client start" runs ok from the root shell | 12:55 |
akamaus | does upstart need setting a specific environment? | 12:59 |
Keybuk | /sbin not in $PATH | 13:08 |
akamaus | Keybuk, thanks for suggestion. Actually, I messed the things up. One should run "start chef-client" not "service chef-client start" | 13:34 |
Keybuk | either works | 13:37 |
akamaus | Keybuk, only if you have old style script in /etc/init.d | 13:38 |
akamaus | I was too lazy to write one ) | 13:38 |
mgoetze | i'm having trouble with an ubuntu 10.04 server "sometimes" not starting the tty1 .. tty6 jobs. has anyone heard of something like that? | 16:31 |
Keybuk | yes, there's an open bug | 16:31 |
Keybuk | but without any solid information about what causes it | 16:31 |
Keybuk | just wild theories | 16:32 |
mgoetze | ok is there anything i could do to help you find information? (would e.g. a login on such a system help?) | 16:32 |
mgoetze | also if you have the bug number i'd appreciate it | 16:32 |
Keybuk | I'm not actively investigating it at the moment | 16:34 |
mgoetze | some legacy init scripts seem to be affected as well, e.g. xinetd isn't running on this boot (on another boot xinetd was running but ttyX wasn't) | 16:34 |
Keybuk | that is consistent with the reported problem | 16:34 |
=== Md_ is now known as Md |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!