Leonardo Cuyar Morales put forth on 4/18/2011 9:13 AM: > I installed ntpdate pkg in squeeze but the command don't work
The most common cause of this is that ntpdate won't execute if ntpd is running and thus holding the socket. For example: [root@greer]~$ ntpdate tick.wustl.edu 18 Apr 15:10:58 ntpdate[7826]: the NTP socket is in use, exiting [root@greer]~$ ntpdate -q tick.wustl.edu server 128.252.19.1, stratum 1, offset -0.001011, delay 0.09784 18 Apr 15:10:50 ntpdate[7820]: adjust time server 128.252.19.1 offset -0.001011 sec Doing a 'query only' with ntpdate doesn't use the default npt port of 123, thus avoiding the socket conflict with ntpd. If you see the above error, you already have ntpd installed, and should thus have no need for ntpdate, unless your only motivation is to use ntpdate for manual troubleshooting with "querie only" mode, which is exactly how I use ntpdate. -- Stan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

