OVH Cloud OVH Cloud

faire serveur de temps avec OSX Server ?

3 réponses
Avatar
patpro ~ Patrick Proniewski
Bonjour,

j'ai activé le service NTP via l'admin serveur sur un OSXS 10.3.9, quand
je tente de m'y connecter a partir d'un poste Panther ou Tiger (serveur
ou client) j'ai ça :

$ ntpdate -u serveur.de.temps
Bus error

coté serveur : pas de trace visible.


Des idées ?

exemple de crashlog (coté client donc):

**********

Host Name: patpro
Date/Time: 2005-09-26 14:57:47.726 +0200
OS Version: 10.4.2 (Build 8C46)
Report Version: 3

Command: ntpdate
Path: /usr/sbin/ntpdate
Parent: bash [696]

Version: ??? (???)

PID: 818
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000046

Thread 0 Crashed:
0 ntpdate 0x00003b30 0x1000 + 11056
1 ntpdate 0x0000315c 0x1000 + 8540
2 ntpdate 0x00002234 0x1000 + 4660
3 ntpdate 0x000020d4 0x1000 + 4308

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000003b30
cr: 0x42000228
r0: 0x0000000000000003
r4: 0x0000000000000001
r8: 0x0000000000300538
r12: 0x0000000000000004
r16: 0x0000000000000000
r20: 0x0000000000000000
r24: 0x0000000000000000
r28: 0x000000000000b03c

srr1: 0x000000000000f030
xer: 0x0000000000000002
r1: 0x00000000bffff7f0
r5: 0x00000000bffff7c0
r9: 0x0000000000000001
r13: 0x0000000000000000
r17: 0x0000000000000000
r21: 0x0000000000000000
r25: 0x00000000000129f0
r29: 0x0000000000000004

lr: 0x0000000000004200
r2: 0x0000000000000006
r6: 0x000000000000b03c
r10: 0x00000000bffff7d0
r14: 0x0000000000000000
r18: 0x0000000000000000
r22: 0x0000000000000000
r26: 0x00000000000129f0
r30: 0x0000000000000003

vrsave: 0x0000000000000000
ctr: 0x0000000000000003
r3: 0x0000000000000002
r7: 0x0000000000000001
r11: 0x0000000000000000
r15: 0x0000000000000000
r19: 0x0000000000000000
r23: 0x0000000000000000
r27: 0x00000000000129f0
r31: 0x0000000000003aa0


Binary Images Description:
0x1000 - 0xafff ntpdate /usr/sbin/ntpdate
0x8fe00000 - 0x8fe51fff dyld 43.1 /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib
/usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x96804000 - 0x96832fff libncurses.5.4.dylib
/usr/lib/libncurses.5.4.dylib
0x9699b000 - 0x969b1fff libedit.2.dylib /usr/lib/libedit.2.dylib

3 réponses

Avatar
Alex_Mairet
Bonjour,

Remarque bête, certainement :
As-tu désactivé les firewalls, udp port 123 et udp 10000-65535 ?

Sinon pour info, peut-être cela pourra être utile :

http://www.macosxhints.com/article.php?story 030217004435671&query=sy nc+clock+between+mac

Courage

patpro ~ Patrick Proniewski wrote:
Bonjour,

j'ai activé le service NTP via l'admin serveur sur un OSXS 10.3.9, quand
je tente de m'y connecter a partir d'un poste Panther ou Tiger (serveur
ou client) j'ai ça :

$ ntpdate -u serveur.de.temps
Bus error

coté serveur : pas de trace visible.


Des idées ?

exemple de crashlog (coté client donc):

**********

Host Name: patpro
Date/Time: 2005-09-26 14:57:47.726 +0200
OS Version: 10.4.2 (Build 8C46)
Report Version: 3

Command: ntpdate
Path: /usr/sbin/ntpdate
Parent: bash [696]

Version: ??? (???)

PID: 818
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000046

Thread 0 Crashed:
0 ntpdate 0x00003b30 0x1000 + 11056
1 ntpdate 0x0000315c 0x1000 + 8540
2 ntpdate 0x00002234 0x1000 + 4660
3 ntpdate 0x000020d4 0x1000 + 4308

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000003b30
cr: 0x42000228
r0: 0x0000000000000003
r4: 0x0000000000000001
r8: 0x0000000000300538
r12: 0x0000000000000004
r16: 0x0000000000000000
r20: 0x0000000000000000
r24: 0x0000000000000000
r28: 0x000000000000b03c

srr1: 0x000000000000f030
xer: 0x0000000000000002
r1: 0x00000000bffff7f0
r5: 0x00000000bffff7c0
r9: 0x0000000000000001
r13: 0x0000000000000000
r17: 0x0000000000000000
r21: 0x0000000000000000
r25: 0x00000000000129f0
r29: 0x0000000000000004

lr: 0x0000000000004200
r2: 0x0000000000000006
r6: 0x000000000000b03c
r10: 0x00000000bffff7d0
r14: 0x0000000000000000
r18: 0x0000000000000000
r22: 0x0000000000000000
r26: 0x00000000000129f0
r30: 0x0000000000000003

vrsave: 0x0000000000000000
ctr: 0x0000000000000003
r3: 0x0000000000000002
r7: 0x0000000000000001
r11: 0x0000000000000000
r15: 0x0000000000000000
r19: 0x0000000000000000
r23: 0x0000000000000000
r27: 0x00000000000129f0
r31: 0x0000000000003aa0


Binary Images Description:
0x1000 - 0xafff ntpdate /usr/sbin/ntpdate
0x8fe00000 - 0x8fe51fff dyld 43.1 /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib
/usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x96804000 - 0x96832fff libncurses.5.4.dylib
/usr/lib/libncurses.5.4.dylib
0x9699b000 - 0x969b1fff libedit.2.dylib /usr/lib/libedit.2.dylib


Avatar
patpro ~ Patrick Proniewski
In article ,
"Alex_Mairet" wrote:

Bonjour,

Remarque bête, certainement :
As-tu désactivé les firewalls, udp port 123 et udp 10000-65535 ?


non bien sur, j'aurai du le préciser, le FW n'est pas activé entre les
deux machines, et par ailleurs, l'utilisation de ntpc se passe très bien
entre les deux machines (ça se parle donc bien sur le port 123)


Sinon pour info, peut-être cela pourra être utile :

http://www.macosxhints.com/article.php?story 030217004435671&query=sync+cloc
k+between+mac


je check...

patpro

Avatar
patpro ~ Patrick Proniewski
In article ,
patpro ~ Patrick Proniewski wrote:

In article ,
"Alex_Mairet" wrote:

Bonjour,

Remarque bête, certainement :
As-tu désactivé les firewalls, udp port 123 et udp 10000-65535 ?


non bien sur, j'aurai du le préciser, le FW n'est pas activé entre les
deux machines, et par ailleurs, l'utilisation de ntpc se passe très bien
entre les deux machines (ça se parle donc bien sur le port 123)



je voulais dire "ntpq" bien sur, pas ntpc.

D'ailleurs, je souligne que la Bus error de ntpdate ne se produit que
vers le ntpd lancé par un OSX Server via la case de service "ntp".
Sur les même machine, un ntpdate vers un serveur de temps externe
fonctionne bien.


patpro