View Full Version : [ubuntu] custom services do not start in auto after upgrade to 9.04
May 5th, 2009, 02:03 PM
I have 2 PC with installed some custom application (one of this is NAGIOS and the other is DEKIWIKI).
I have performed a double Upgrade on this 2 PC from 8.04 to 8.10 and then to 9.04.
Now, everuthings seems ok, but some custom service (inside /etc/init.d/) that have to start at boot automatically, do not work!
I have checked also with BUM, but even if service is active, do not start anymore, after upgrade.
I also tryed to put the command inside the /etc/rc.local but even in this way the service do not start. I have to run manually from command line (and it works!)
Can somebody help me to solve or to investigate (wich log I have to watch?) this stange problem??
May 5th, 2009, 02:16 PM
What program do you want to run at startup? Generaly every daemon has it's log files. Try and find out where the program logs its stuff. Or see if the program has some kind of debug mode and try to run it in this way. Or run the program through strace (in the startup script) and redirect the output of strace to a file so that you can examine it later. Something like this:
strace -o/tmp/strace_output program
May 5th, 2009, 03:34 PM
Regarding the NAGIOS program the situation I have is very similar to this post:
BUT I have no APPAMOR installed. So I have no solution!
This is a very strange behaviour of Ubuntu 9.04.
No ideas ??
September 25th, 2009, 12:50 AM
I had a similar problem see this:
I have partially solved it. If I stop the graphic booting process before gdm or kdm starts customized rc.local works. The problem for me is that every time at boot straight after the boot sequence I have to press "alt + f1". I am not certain how to make this permanent.
I know this post is late for you but I just found this out.
Any ideas how I can stop the graphic screen at bootup.
I think this problem must be a bug and a while ago posted a bug on launchpad but it was marked as invalid. It might have been marked this way because my report seemed more about the application that I wanted to start at boot "ups_mamager" but I ex;plained in the comments that it was probably a fault with both rc.local a only a slight problem with the application, that I could easily workaround.
I might try reposting another bug report if someone else hasn't already done so.
September 25th, 2009, 05:22 AM
I've found how to stop the graphical boot.
I edited menu.lst
title Ubuntu 9.04, kernel 2.6.28-15-generic
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=915a4563-e2ee-4842-999f-f4c55be09bf8 ro quiet splash
The colored text is deleted.
After a reboot I found the application was started by rc.local.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.