[ntp:questions] Re: Looking for manual to start NTP
steve at debian.org
Fri Jan 23 15:10:06 UTC 2004
On 2004-01-23, Stephen Liu <satimis at icare.com.hk> wrote:
>"Steve Kostecke" said:
>>"Stephen Liu" said:
>>>Debian - unstable.
>>>I have # apt-get install ntp installed
>>The 'ntp' package does not include ntpd. You need to install either
>>the ntp-simple package (if you're not running a local refclock) or the
>>ntp-refclock (if you _are_ running a local refclock).
> # which ntpd
> # find / -name ntp-simple
Try this: dpkg -l ntp ntp-simple
You should see something like this (though the versions may be
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
||/ Name Version Description
ii ntp 4.1.2a-1 Daemon and utilities for full NTP v4 timekee
ii ntp-simple 4.1.2a-1 NTP v4 daemon for simple systems
>>As a part of the installation debconf should prompt you for the time
>>servers that you wish to use. But this will not happen unless you
>>install one fof the ntp daemon packages.
> Sorry I have no idea to get 'ntp' started.
The Debian package manager will automatically start ntpd after the
package in installed. Assuming, of course, that the installation
succeeded. You should not have to do anything other than install the
package and provide the names of the time-servers that you want to use
when prompted during the installation process.
Does 'ps ax | grep ntpd' show anything? (I don't recall if you mentioned
> On Gnome desktop I am running local clock. What I expect to run is
> twin clock, one local clock and a clock of Edmonton, Canada.
ntpd != your desktop clock
>>># man ntp
There is no ntp man page, but 'man ntp' should display the ntptime man page.
Man pages, at least in category 1 and 8, usually have the same name as
the piece of software that they are documenting. So for ntpd try: 'man
BTW: You can see the list of man pages in any installed package with the
dpkg -L package-name | grep man
>>>Kindly advise where can I find relevant manual to config 'ntp' and get
>>>it to work.
The ntpd man page should be available if you have installed one of the
ntp daemon packages.
BTW: The NTP Project releases all of the NTP documentation in HTML
format. You may find a link to the Official NTP Documentation at
On a properly configured Debian system you _will_ be prompted for
the time servers to use when you install the ntp package and one of
the supporting ntp daemon packages (e.g. ntp-simple). And a suitable
ntp.conf is generated during the installation process. In my experience
this just works.
You may reconfigure ntp-simple (as root) with the following command:
dpkg-reconfigure -p low ntp-simple
If you feel that your ntp package installation failed you may re-install
them with the following command:
apt-get --reinstall install ntp ntp-simple
If this does not work there may be some other issues with your Debian
installation that need to be addressed.
Please feel free to stop by the NTP IRC channel (#ntp on
irc.freenode.net) for assistance.
Steve Kostecke <steve at debian.org>
More information about the questions