Andrew Reid wrote:
> Check if there is also an /etc/init.d/ntpd.  If your box used
> to have ntp, and that package was removed but not purged, the init
> files will still be in place.  /etc/init.d/ntpd will find
> the openntp executable and try to run it, but with wierd/wrong
> options.


Thanks for the clue.  I see:

20080615-135040 [EMAIL PROTECTED] ~
# l /etc/init.d/*ntp*
/etc/init.d/ntp*  /etc/init.d/openntpd*  /etc/init.d/openntpd-orig*


I guess I had already installed ntp, but forgot about it because the clock
was wrong.


Attempt to uninstall openntpd:

20080615-135215 [EMAIL PROTECTED] ~
# apt-get remove openntpd
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  openntpd
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives.
After unpacking 102kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 17871 files and directories currently installed.)
Removing openntpd ...
Stopping openntpd: start-stop-daemon: warning: failed to kill 2000: No such
process
ntpd.


Reboot.  I don't see the ntpd error message on the console.  Looking for an
ntp process:

20080615-140103 [EMAIL PROTECTED] ~
# ps -A | grep ntp
 2214 ?        00:00:00 ntpdate


Checking the clock:

# ntpdate 0.debian.pool.ntp.org
15 Jun 14:03:56 ntpdate[2225]: step time server 138.23.180.126 offset
31.830406 sec


I don't know if NTP is running.  It doesn't seem to be working.


Any suggestions?


TIA,

David


p.s.  dmesg doesn't seem to contain all the messages I see on the console
(including ntp).  Does anybody know if/how I can get everything that is
displayed on the console when I boot?

20080615-135434 [EMAIL PROTECTED] ~
# dmesg
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2) ([EMAIL PROTECTED])
(gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed May 9
23:03:12 UTC 2007
...
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
[EMAIL PROTECTED]
eth0: link up
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Power Button (FF) [PWRF]
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
eth0: link up


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to