FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-18-2011, 01:37 PM
"Estelmann, Christian"
 
Default problem with ntpdate and squeeze

What do you mean with "don't work"? Any error messages?

You have to run ntpdate as root.
snb01:~# /usr/sbin/ntpdate ntp0.rrze.uni-erlangen.de
18 Apr 15:36:36 ntpdate[2968]: adjust time server 131.188.3.220 offset
-0.000236 sec



Am 18.04.2011 16:13, schrieb Leonardo Cuyar Morales:

I installed ntpdate pkg in squeeze but the command don't work




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

Archive: 4DAC3E97.4020401@gmx.net">http://lists.debian.org/4DAC3E97.4020401@gmx.net
 
Old 04-18-2011, 02:13 PM
Leonardo Cuyar Morales
 
Default problem with ntpdate and squeeze

I installed ntpdate pkg in squeeze but the command don't work


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 7803587.4980.1303136015546.JavaMail.root@zimbra">h ttp://lists.debian.org/7803587.4980.1303136015546.JavaMail.root@zimbra
 
Old 04-18-2011, 08:18 PM
Stan Hoeppner
 
Default problem with ntpdate and squeeze

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DAC9C9A.5060501@hardwarefreak.com">http://lists.debian.org/4DAC9C9A.5060501@hardwarefreak.com
 

Thread Tools




All times are GMT. The time now is 10:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org