Results 1 to 9 of 9

Thread: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

  1. #1
    Join Date
    Mar 2008
    Location
    Earth, possibly
    Beans
    106

    System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    Occasionally, if one of the users on my system logs out (when there is more than one user logged on), the system freezes with something along the lines of:

    Code:
    * Stopping NTP server (ntpd)
    * Starting NTP server (ntpd)
    Sometimes these messages are repeated multiple times. I am running Ubuntu 8.04 Hardy Heron.

    Is this a known problem and if so, is there a way to fix it?
    Last edited by Theo148; May 20th, 2008 at 01:22 PM.

  2. #2
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I have a similar problem. At boot and at shutdown, and possibly in the middle the "starting ntp server ntpd" or "stopping ntp server ntpd" messages show up very frequently. Sometime in matched pairs, sometimes a whole bunch of starts on their own, but no apparent pattern.

    I do get lockups, but those happened without ntpd installed, so I'm not convinced that ntpd is at fault in my case.

    Did you, or anybody else, ever find out why ntpd's start/stop manager was misbehaving?

  3. #3
    Join Date
    Jan 2008
    Beans
    382
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Exclamation Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I am also having this problem in Ubuntu 8.10. Can someone please help? It is very frustrating to not be able to log out and be forced to reboot instead.

  4. #4
    Join Date
    Apr 2007
    Beans
    15

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I'm having this problem under 8.10, but it only seems to happen with the realtime kernel when I'm logging out or shutting down.

  5. #5
    Join Date
    May 2007
    Beans
    7

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I have the same problem with 8.10. Can't log in to Ubuntu anymore!!!! Does anyone have a fix? This just suddenly happened, maybe related to an update????

  6. #6
    Join Date
    Feb 2009
    Location
    ~/
    Beans
    15
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I just had a similar problem. I had opened up VLC (9.4.0 (from the repo)) and then executed my compiled neverputt binary (So I would hear my music instead of the standard bg Music). (I compiled from the sources tarball because the neverball/neverputt package in the repos wasn't recent enough. So, I followed the same procedure for compiling I had used before. ./configure; make; make install)

    After executing it X died and displayed "Stopping NTP server", followed by "Starting NTP server" on a newline. As of now that VT is still displaying that and I am typing though VT 9. (I switched by hitting Ctrl+alt+f9) I will reboot in few minutes and see if it happens again. I doubt it will, as, I had done that same thing before and this had not happend. I also checked xorg.0.log and there is nothing new there. I have to wonder however, how NTP would affect the X Window System as NTP is Network Time Protocol Deamon (At least, according to a google search and Wikipedia). So, any ideas?

    Edit:Just rebooted, Did the same thing as before and no problems. However, everything I have learned about computers tells me things just don't crash "out of the blue." Something had to have caused it and I would like to know what.
    Last edited by sti11_learning; March 2nd, 2009 at 08:34 PM.

  7. #7
    Join Date
    Mar 2009
    Location
    NSW, Australia
    Beans
    18
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    I'm having this same problem when logging out. When i log out i get a black screen with white, vertical blocks interspersed throughout it.
    Any fixes?

  8. #8
    Join Date
    Jul 2005
    Location
    TN
    Beans
    108
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    Similar problems on my Toshiba Satellite with intel centrino. Related issues I've examined on my system are a)ntfs mounts and b)wireless network interfaces. That has given me some perceived relief but could be confounding issues.

    On the former, I lost the thread but in general I added a couple of lines to the shutdown processes to make sure my ntfs shares had unmounted.

    On the latter, I just implemented the change listed here: http://ubuntuforums.org/showthread.php?t=965935

    The laptop screen will go blank and the fan speeds up rapidly every 10 seconds or so. I'm forced to hold the power switch to shutdown.

    Usually when I see the shutdown splash screen and the status bar moves completely from left to right, the system shuts down properly.

    NTPD, however, seems to be the prevailing issues. Sometimes I catch messages on shutdown that refer to stuff like libhal1 but I don't know what logs to check - ideas anyone?
    Homegrown's alright with me

  9. #9
    Join Date
    Jul 2005
    Location
    TN
    Beans
    108
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: System freezes on logout with 'Starting/stopping NTP server (ntpd)'

    Update: Some of this is arbitrary but here is the gist:

    After little to no networking activity, e.g. simple web/e-mail or instant messages, I can shut the computer down (with the aforementioned changes) either by GUI or command line:
    Code:
    sudo shutdown -h now
    After substantial network activity, e.g. file transfers, music playback on home network, multimedia web browsing, etc., I find that the hang usually still occurs.

    What helps is telling the computer to wait some random amount of time before shutting down. For good luck, I usually go with 7 minutes:
    Code:
    sudo shutdown -h 7
    Naturally, I started with 1 minute and got up to 7 before I noticed a reliable response.
    Homegrown's alright with me

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
  •