Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48

Thread: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

  1. #1
    Join Date
    Dec 2006
    Beans
    78

    Exclamation Karmic 9.10 w/ Upstart - Cron,Cups,SSH,Samba, etc... not started during boot

    Hi,

    Running 9.10 now, but having problems with many of my background services.

    * Cups service no longer starts at boot
    * SSHd service no longer starts at boot
    * Cron jobs are not being run
    * Samba file shares and/or printers not initialized correctly at startup.

    HELP! What is the deal with Upstart? How can I get it to run my system services again?

    Is there a master thread for using Upstart? Does rcconf, invoke-rc.d, and other utilities still work?

    ------
    Update ...

    I originally thought this was fixed, but now I see that my services (CUPS, cron) still do not startup on boot. Can anyone confirm this and provide a workaround?
    Last edited by cmcginty; December 11th, 2009 at 05:03 AM.

  2. #2
    Join Date
    Dec 2006
    Beans
    1,133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    I would like to see some good documentation for upstart too. However, one of the goals of upstart is that services like cups and sshd do not need to start at boot but only when actually needed. So if you were going to print something, cups would start at that time. How they get it to work for printing over a lan I don't know.

    I haven't looked at KKs init system but I believe it still has the sysv compatibility layer to run the older style /etc/init.d scripts. Take a look in in some of the /usr/share/doc directories, you may find some info there.
    There are no dumb questions, just dumb answers.

  3. #3
    Join Date
    Dec 2006
    Beans
    78

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    I think cron is working alright now. I had to re-install my local crontab file with:

    Code:
    crontab -e
    and then making a change and saving it. Still no luck on the other services. If I run:

    Code:
    sudo invoke-rc.d service restart
    then the service will start correctly. I'd rather have this run automatically.

  4. #4
    Join Date
    Dec 2006
    Beans
    78

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    Should I be worried about this output?

    Code:
    sudo dpkg-reconfigure cups
     * Stopping Common Unix Printing System: cupsd                                                                   [ OK ] 
    insserv: warning: script 'S07powernowd.early' missing LSB tags and overrides
    insserv: warning: script 'atd' missing LSB tags and overrides
    insserv: warning: script 'gdm' missing LSB tags and overrides
    insserv: warning: script 'hal' missing LSB tags and overrides
    insserv: warning: script 'ufw' missing LSB tags and overrides
    insserv: warning: script 'dbus' missing LSB tags and overrides
    insserv: warning: script 'cron' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
    insserv: warning: script 'gssd' missing LSB tags and overrides
    insserv: warning: script 'udev' missing LSB tags and overrides
    insserv: warning: script 'cryptdisks-enable' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
    insserv: warning: script 'sreadahead' missing LSB tags and overrides
    insserv: warning: script 'acpid' missing LSB tags and overrides
    insserv: warning: script 'dmesg' missing LSB tags and overrides
    insserv: warning: script 'statd' missing LSB tags and overrides
    insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
    insserv: warning: script 'network-manager' missing LSB tags and overrides
    insserv: warning: script 'udevmonitor' missing LSB tags and overrides
    insserv: warning: script 'rsyslog' missing LSB tags and overrides
    insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
    insserv: warning: script 'module-init-tools' missing LSB tags and overrides
    insserv: warning: script 'udevtrigger' missing LSB tags and overrides
    insserv: warning: script 'rpc_pipefs' missing LSB tags and overrides
    insserv: warning: script 'apport' missing LSB tags and overrides
    insserv: warning: current stop runlevel(s) (1) of script `policykit' overwrites defaults (empty).
    insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
    insserv: warning: script 'idmapd' missing LSB tags and overrides
    insserv: warning: script 'procps' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
    insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
    insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
    insserv: warning: script 'usplash' missing LSB tags and overrides
    insserv: warning: script 'anacron' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
    insserv: warning: script 'udev-finish' missing LSB tags and overrides
    insserv: warning: script 'hwclock' missing LSB tags and overrides
    insserv: warning: script 'portmap' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
    insserv: warning: script 'powernowd.early' missing LSB tags and overrides
    insserv: There is a loop between service rsyslog and hwclock if stopped
    insserv:  loop involving service hwclock at depth 4
    insserv:  loop involving service sysklogd at depth 3
    insserv: There is a loop between service rsyslog and sysklogd if started
    insserv:  loop involving service sysklogd at depth 3
    insserv:  loop involving service hwclock at depth 2
    insserv:  loop involving service rsyslog at depth 4
    insserv: There is a loop between service hwclock and sysklogd if stopped
    insserv:  loop involving service rsyslog at depth 5
    insserv: exiting without changing boot order!
     * Starting Common Unix Printing System: cupsd                                                                   [ OK ]

  5. #5
    Join Date
    Dec 2006
    Beans
    78

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    I figured out the reason for these issue. After the upgrade, the system left the old package configuration files in the /etc/init.d directory. They need to be cleaned out:

    Code:
    aptitude -F %p search "~c" | xargs sudo dpkg -P
    After that I reinstalled the packages complaining about loop errors:

    Code:
    sudo apt-get install --reinstall kerneloops kerneloops-daemon rsyslog udev
    Then cups can be reinstalled now without errors:

    Code:
    sudo apt-get install --reinstall cups
    Last edited by cmcginty; October 30th, 2009 at 03:15 AM.

  6. #6
    Join Date
    May 2008
    Beans
    31

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    What about SSH? My sshd doesn't start on boot, either, after upgrade to 9.10 Karmic.

  7. #7
    Join Date
    Dec 2006
    Beans
    78

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    For the last step do:

    Code:
    sudo apt-get install --reinstall openssh-server

  8. #8
    Join Date
    Dec 2006
    Beans
    78

    Red face Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    bump .. updated question. This bug came back. Has anyone else run into this issue?

  9. #9
    Join Date
    Apr 2006
    Beans
    5

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    ssh, samba, and others are not starting for me as well.

    What logs should I be looking at to see clues as to what occured during startup of upstart?

    Edit:

    I ran "initctl list" and ssh.conf (which i created) did not start.

    Here is the content of the file...keep in mind i have never written something for upstart:

    # ssh daemon
    #

    description "ssh daemon"

    start on runlevel [2345]
    stop on runlevel [!2345]

    expect fork
    respawn

    exec /etc/init.d/ssh start
    Last edited by arock99; December 13th, 2009 at 02:24 AM.

  10. #10
    Join Date
    Apr 2006
    Beans
    5

    Re: 9.10 Upstart Breaks Cron,Cups,SSH, etc...

    I "fixed" openssh by doing a complete removal and then installing it again.

    ...and now I just found out mysql doesnt start automatically anymore since the "upgrade". This "solution" obviously wont work for mysql as i dont want to screw around with the data. With mysql not starting then obviously mediatomb isnt starting automatically either

    I really wish i hadnt decided to go to 9.10...its been nothing but trouble since i upgraded earlier this week

    Edit:

    Its one thing after another...now i just noticed NX isn't starting up automatically anymore...but this one if i try and manually restart it, it wont start

    Edit: Now its cvsd i just noticed didnt start up....

    almost makes me want to go back to Windows lol

    ...almost
    Last edited by arock99; December 15th, 2009 at 04:16 AM.

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •