Starting NTP server: ntpd/usr/sbin/ntpd: invalid option -- p



debian-user:

I recently installed openntpd on a Debian 4.0 virtual machine
(http://www.thoughtpolice.co.uk/vmware/#debian4.0) running on VMWare Server
1.0.4:

<CVSENV>20080615-103351 root@vd40r0 ~/vd40r0
# apt-cache showpkg openntpd
Package: openntpd
Versions:
3.9p1-3(/var/lib/apt/lists/ftp.debian.org_debian_dists_etch_main_binary-i386
_Packages)(/var/lib/dpkg/status)

Reverse Depends:
Dependencies:
3.9p1-3 - libc6 (2 2.3.6-6) libssl0.9.8 (2 0.9.8b-1) adduser (0 (null))
time-daemon (0 (null)) ntp (0 (null)) chrony (0 (null)) time-daemon (0
(null)) ntp (0 (null)) chrony (0 (null))
Provides:
3.9p1-3 - time-daemon
Reverse Provides:


When I boot, I see the following message on the console:

Starting NTP server: ntpd/usr/sbin/ntpd: invalid option -- p
usage: ntpd [-dSs] [-f file]
failed!


But, ntpd seems to be running (?):

<CVSENV>20080615-103358 root@vd40r0 ~/vd40r0
# ps -A | grep ntp
2009 ? 00:00:00 ntpd
2026 ? 00:00:00 ntpd


Yet, the time is off:

# ntpdate 0.debian.pool.ntp.org
15 Jun 10:37:56 ntpdate[2156]: step time server 66.79.148.35 offset
151.828804 sec


I dug through /etc/init.d/openntpd, /etc/default/openntpd, etc., but
couldn't figure out if or where a -p option was being set (although I did
set the -s option).


I ran apt-get update and apt-get upgrade just now and rebooted -- same
problems.


Any suggestions?


TIA,

David


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: openntpd not adjusting the clock
    ... days of stuffing around with openntpd, ... I then tried out the original ntp package instead, ... see the section on clock discipline in: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: ntp not any more supported in Debian or did I miss something?
    ... Does anyone know if OpenNTPD can provide this information? ... some other NTP service? ... Or should I just install the deb files from ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: NTP Daemon
    ... my debian server. ... adjtime failed: Invalid argument ... Incidentally `openntpd' is also both a client and a server. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)