[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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


Reply to: