Find the answer to your Linux question:
Results 1 to 7 of 7
I am having trouble restarting ntpd to automatically go out over the Internet and get the time for me. When I try to restart the prcess through Gentoo I am ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    5

    What is the name of the ntpd process?


    I am having trouble restarting ntpd to automatically go out over the Internet and get the time for me.

    When I try to restart the prcess through Gentoo I am told that it cannot be stopped. When I try and find it through top or another process listing utility I see nothing titled "ntpd".

    Does anyone know what the name of the process for ntp daemon is?

    Thanks.

    Carlos

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Location
    Leiria - Portugal
    Posts
    72

    Thats the name

    Hi,

    That is the name of the daemon, ntpd (Network Time Protocol Daemon).

    Maybe you don't have it installed.

    Try to do service ntpd status or /etc/init.d/ntpd status. With Suse you can use Yast to get it working as far as I can remember.

    Let us know what you get...

  3. #3
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    Code:
    emerge nptd
    see what happends.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2004
    Posts
    5
    Take a look at the following....

    root@pine - /home/carlos
    > /etc/init.d/ntpd status
    * status: started
    root@pine - /home/carlos
    > /etc/init.d/ntpd restart
    * Stopping ntpd...
    * Failed to stop ntpd [ !! ]

    root@pine - /home/carlos
    > ps ntpd
    PID TTY STAT TIME COMMAND
    root@pine - /home/carlos
    If I search for a process called "ntpd" by opening up the KDE System guard and listing all processes there is no such process. The closest one is called "nscd" which has nothing to do with ntpd.

    Any further suggestions would be much appreciated.

    Carllos

  6. #5
    Just Joined!
    Join Date
    Jun 2004
    Posts
    5
    This is really weird...

    root@pine - /home/carlos
    > emerge -s ntpd
    Searching...
    [ Results for search key : ntpd ]
    [ Applications found : 1 ]

    * net-misc/openntpd
    Latest version available: 20040719p
    Latest version installed: [ Not Installed ]
    Size of downloaded files: 102 kB
    Homepage: http://www.openntpd.org/
    Description: Lightweight NTP server ported from OpenBSD
    License: BSD
    It's like ntpd is there but not there.

    If I do an "emerge -up ntpd" Gentoo finds absolutely nothing to satisfy such a command.

    Carlos

  7. #6
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    try just installing it, make a backup of your config file for it, then let her rip.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  8. #7
    Just Joined!
    Join Date
    Jun 2004
    Posts
    5
    Thanks very much for your all's input. I went ahead and re-emerged it and things seem to be working okay now.

    Apparently some parts of the ntp program (which runs the ntp daemon) had changed and when I did the last update of the Gentoo distribution I did not update the ntp program. Causing some weird programs.

    Thanks again. Much appreciated.

    Carlos

Posting Permissions

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