[ntp:questions] Looking for manual to start NTP

[ntp:questions] Looking for manual to start NTP

Post by Richard B. » Sat, 24 Jan 2004 21:46:39


You don't need to "find" the driftfile. You tell NTP where to create it.
 
 
 

[ntp:questions] Looking for manual to start NTP

Post by Steve Kost » Sat, 24 Jan 2004 23:53:48

n 2004-01-23, Stephen Liu < XXXX@XXXXX.COM > wrote:


Try this: dpkg -l ntp ntp-simple

You should see something like this (though the versions may be
different):

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ 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


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
this earlier)


ntpd != your desktop clock


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
ntpd'

BTW: You can see the list of man pages in any installed package with the
following command:

dpkg -L package-name | grep man


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
http://www.ntp.org/documentation.html

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 < XXXX@XXXXX.COM >

 
 
 

[ntp:questions] Looking for manual to start NTP

Post by Stephen Li » Sun, 25 Jan 2004 08:45:39

Hi Steve,

Thanks for your advice.

# which ntpd
/usr/sbin/ntpd

# find / -name ntp-simple
/etc/cron.daily/ntp-simple
/etc/init.d/ntp-simple
/etc/cron.weekly/ntp-simple
/usr/share/doc/ntp-simple

I think I have them installed.

# find / -name ntp-refclock
no printout

Sorry I have no idea to get 'ntp' started. 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.

Thanks

B.R.
Stephen
 
 
 

[ntp:questions] Looking for manual to start NTP

Post by Stephen Li » Sun, 25 Jan 2004 09:02:28

Hi Richard,

Thanks for your advice.


Whether adding following 2 lines to /etc/ntp.conf

server

http://www.yqcomputer.com/ ~mills/ntp/clock2.htm

driftfile /etc/ntp/drift

How to find the 'driftfile' from Debian

Kindly advise. TIA

B.R.
Stephen
 
 
 

[ntp:questions] Looking for manual to start NTP

Post by Stephen Li » Sun, 25 Jan 2004 17:43:38

i Steve,

Thanks for your detail advice.

- snip -

# dpkg -l ntp ntp-simple
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii ntp 4.1.2a-2 Daemon and utilities for full NTP v4
timekee
ii ntp-simple 4.1.2a-2 NTP v4 daemon for simple systems

# ps ax | grep ntpd
no printout

What can I do if I need to read Edmonton (Canada) simultaneously?

Yes.
# man ntp
No manual entry for ntp

Yes
# man ntpd
works

noted with thanks

Noted.

Shall I reinstall 'ntp-simple' because of following shown on above

Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed

B.R.
Stephen

 
 
 

[ntp:questions] Looking for manual to start NTP

Post by Ulrich Win » Thu, 05 Feb 2004 21:46:42

Stephen Liu < XXXX@XXXXX.COM > writes:

[...]
[...]

Since when do URLs wotk as server specification in /etc/ntp.conf?

Regards,
Ulrich
 
 
 

[ntp:questions] Looking for manual to start NTP

Post by David L. M » Fri, 06 Feb 2004 01:35:21

Ulrich,

That link doesn't work and I don't intend it ever to work. The only
approved way to access the public lists is via www.ntp.org. I routinely
change the names of the lists themselves to force folks to read past the
introduction page and the very important rules of engagement.

Dave