GNT sans publicité, site mobile, fonctionnalitées exclusives...

NTP

Le
Fabien R
Hello à tous,

J'ai installé ntpd sur une redhat et ça fonctionne nickel. Par contr
impossible de faire fonctionner celle sous unstable.

voici ma conf
# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable


# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example

# pool.ntp.org maps to more than 100 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# *** Please consider joining the pool! ***
# *** <http://www.pool.ntp.org/#join> ***
## uncomment for extra reliability
server 127.127.1.0
server ntp.unice.fr
server asia.pool.ntp.org
server europe.pool.ntp.org
server oceania.pool.ntp.org
server north-america.pool.ntp.org
server at.pool.ntp.org
server au.pool.ntp.org
server ca.pool.ntp.org
server ch.pool.ntp.org
server de.pool.ntp.org
server dk.pool.ntp.org
server es.pool.ntp.org
server fi.pool.ntp.org
server fr.pool.ntp.org
server it.pool.ntp.org
server lu.pool.ntp.org
server mx.pool.ntp.org
server my.pool.ntp.org

# and use the local system clock as a reference if all else fails
# NOTE: in a local network, set the local stratum of *one* stable server
# to 10; otherwise your clocks will drift apart if you lose connectivity.
fudge 127.127.1.0 stratum 16

# By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
#restrict default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
#restrict 127.0.0.1 nomodify

# Clients from this (example!) subnet have unlimited access,
# but only if cryptographically authenticated
#restrict 192.168.123.0 mask 255.255.255.0 notrust

# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255

# If you want to listen to time broadcasts on your local subnet,
# de-comment the next lines. Please do this only if you trust everybody
# on the network!
#disable auth
#broadcastclient
#
# Authentication delay. If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
#


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Lire les 9 réponses

Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses Page 1 / 2
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
Jean-Luc Coulon (f5ibh)
Le #7903371
--=-1N4J1QcytapT7nImadXY
Content-Type: text/plain; charset=ISO-8859-15; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 22.10.2004 19:33:39, Fabien R a écrit :
Hello à tous,

J'ai installé ntpd sur une redhat et ça fonctionne nickel. Par contr
impossible de faire fonctionner celle sous unstable.

voici ma conf
# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable


# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example

# pool.ntp.org maps to more than 100 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# *** Please consider joining the pool! ***
# *** ## uncomment for extra reliability
server 127.127.1.0
server ntp.unice.fr
server asia.pool.ntp.org
server europe.pool.ntp.org
server oceania.pool.ntp.org
server north-america.pool.ntp.org
server at.pool.ntp.org
server au.pool.ntp.org
server ca.pool.ntp.org
server ch.pool.ntp.org
server de.pool.ntp.org
server dk.pool.ntp.org
server es.pool.ntp.org
server fi.pool.ntp.org
server fr.pool.ntp.org
server it.pool.ntp.org
server lu.pool.ntp.org
server mx.pool.ntp.org
server my.pool.ntp.org

# ... and use the local system clock as a reference if all else fails
# NOTE: in a local network, set the local stratum of *one* stable
server
# to 10; otherwise your clocks will drift apart if you lose
connectivity.
fudge 127.127.1.0 stratum 16

# By default, exchange time with everybody, but don't allow
configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
#restrict default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
#restrict 127.0.0.1 nomodify

# Clients from this (example!) subnet have unlimited access,
# but only if cryptographically authenticated
#restrict 192.168.123.0 mask 255.255.255.0 notrust

# If you want to provide time to your local subnet, change the next
line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255

# If you want to listen to time broadcasts on your local subnet,
# de-comment the next lines. Please do this only if you trust
everybody
# on the network!
#disable auth
#broadcastclient
#
# Authentication delay. If you use, or plan to use someday, the
# authentication facility you should make the programs in the
auth_stuff
# directory and figure out what this number should be on your machine.
#




Vous dites « impossible de la faire fonctionner » .. mais encore ?
Message d'erreur ? Log ? ???

Jean-Luc

--=-1N4J1QcytapT7nImadXY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBeVY8UdGGXzzGnNARAq45AJ9WYz3x+FcbC/v2EoHC4J07Q0UidQCeMZ8g
s7C7Fm5JKq22+N/WW7nE6ac =T7i/
-----END PGP SIGNATURE-----

--=-1N4J1QcytapT7nImadXY--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Fabien R
Le #7903191
> Vous dites « impossible de la faire fonctionner » .. mais encore ?
Message d'erreur ? Log ? ???

Jean-Luc



En fait, je n'ai pas d'erreur mais je n'arrive pas à atteindre le moindre
serveur. Toutes les refid sont à INIT. Je vais laisser tourner toute la
journée pour voir.


remote refid st t when poll reach delay offset jitter
============================================================================= LOCAL(0) .INIT. 16 l 37 64 3 0.000 0.000 0.001
naxos.unice.fr .INIT. 16 u - 64 0 0.000 0.000 4000.00
a158.debian.co. .INIT. 16 u - 64 0 0.000 0.000 4000.00


-
Fabien


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Jean-Luc Coulon (f5ibh)
Le #7903171
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 23, 2004 at 11:45:42AM +0200, Fabien R wrote:
> Vous dites « impossible de la faire fonctionner » .. mais encore ?
> Message d'erreur ? Log ? ???
>
> Jean-Luc

En fait, je n'ai pas d'erreur mais je n'arrive pas à atteindre le moind re
serveur. Toutes les refid sont à INIT. Je vais laisser tourner toute la
journée pour voir.


remote refid st t when poll reach delay offset j itter
======================== ========================= ========================= ====
LOCAL(0) .INIT. 16 l 37 64 3 0.000 0.000 0.001
naxos.unice.fr .INIT. 16 u - 64 0 0.000 0.000 40 00.00
a158.debian.co. .INIT. 16 u - 64 0 0.000 0.000 40 00.00


-
Fabien



Voila ce que j'ai dans la log de NTP [ extrait ] :
23 Oct 15:18:18 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:20:27 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 15:47:31 ntpd[21871]: time reset +0.238991 s
23 Oct 15:51:56 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:53:02 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 16:12:51 ntpd[21871]: time reset +0.250679 s
23 Oct 16:17:11 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 16:18:19 ntpd[21871]: synchronized to 24.34.79.42, stratum 2





J-L

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBerVxUdGGXzzGnNARAj84AJ4tX/50nyW7twacjknumpSzyLoCXwCcDzrU
Qc8hjnU0+hRKvShDpN63AcM =8SCe
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Fabien R
Le #7902971
> Voila ce que j'ai dans la log de NTP [ extrait ] :
23 Oct 15:18:18 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:20:27 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 15:47:31 ntpd[21871]: time reset +0.238991 s
23 Oct 15:51:56 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:53:02 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 16:12:51 ntpd[21871]: time reset +0.250679 s
23 Oct 16:17:11 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 16:18:19 ntpd[21871]: synchronized to 24.34.79.42, stratum 2



J-L


Je n'ai ouvert que les ports 123/UDP. Est-ce suffisant ?
-
Fabien


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Fabien R
Le #7902131
> Voila ce que j'ai dans la log de NTP [ extrait ] :
23 Oct 15:18:18 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:20:27 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 15:47:31 ntpd[21871]: time reset +0.238991 s
23 Oct 15:51:56 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 15:53:02 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
23 Oct 16:12:51 ntpd[21871]: time reset +0.250679 s
23 Oct 16:17:11 ntpd[21871]: synchronized to LOCAL(0), stratum 13
23 Oct 16:18:19 ntpd[21871]: synchronized to 24.34.79.42, stratum 2



J-L


Est-ce quelqu'un pourrait envoyer son ntp.conf ?

D'avence merci,
Fabien


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Publicité
Suivre les réponses
Poster une réponse
Anonyme