Am Sonntag, 10. Juni 2007 23:55 schrieb Arno Lehmann:
Also vermute ich mal dass der gar nicht gestartet wird, oder läuft der Rechner so lange durch?
In /etc/sysconfig/ntp sollte eine Zeile NTPD_START="yes" stehen.
Tut es das nicht, dann ergänze die mal und starte das ntp-Zeug mit '/etc/rc.d/ntp start' nochmal. Dann schau' nochmal in die ntp.log Datei.
Steht das schon drin, und ntp läuft nicht, dann starte ntp mal von Hand mit 'ntpd -D 1 -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp'. Das sollte zumindest eine Menge Aktivität im Terminal erzeugen. Wenn das dann abbricht solltest du eine Fehlermeldung sehen können.
Mit Strg-C kannst du den Prozess dann abbrechen, falls es keinen Programmabbruch gibt. In letzterem Fall würde ich annehmen dass ein Konfigurationsproblem vorliegt. Poste dann mal den Inhalt von /etc/sysconfig/ntp - vielleicht fällt daran was auf.
Hi Arno, ich hab jetzt mal deinen genannten Befehl ausgeführt in der Hoffnung, du kannst das Ergebnis für mich übersetzen, denn ich versehe davon eigentlich nichts! noname:/home/christian # ntpd -D 1 -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp Debug1: 1 -> 1 = 1 ntpd 4.2.2p4@1.1585-o Sat Nov 25 18:44:34 UTC 2006 (1) Debug1: 1 -> 1 = 1 addto_syslog: precision = 1.000 usec create_sockets(123) addto_syslog: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 addto_syslog: bind() fd 16, family 2, port 123, addr 0.0.0.0, in_classd=0 flags= 9 fails: Address already in use addto_syslog: bind() fd 16, family 10, port 123, scope 0, addr ::, in6_is_addr_m ulticast=0 flags=1 fails: Address already in use addto_syslog: bind() fd 16, family 10, port 123, scope 0, addr ::1, in6_is_addr_ multicast=0 flags=1 fails: Address already in use addto_syslog: bind() fd 16, family 10, port 123, scope 2, addr fe80::230:5ff:fe2 1:53e6, in6_is_addr_multicast=0 flags=1 fails: Address already in use addto_syslog: bind() fd 16, family 2, port 123, addr 127.0.0.1, in_classd=0 flag s=5 fails: Address already in use addto_syslog: bind() fd 16, family 2, port 123, addr 192.168.178.21, in_classd=0 flags=25 fails: Address already in use init_io: maxactivefd 0 local_clock: time 0 base 0.000000 offset 0.000000 freq 0.000 state 0 Debug2: 1 -> 1 = 1 key_expire: at 0 peer_clear: at 0 next 1 assoc ID 32319 refid INIT newpeer: 192.168.178.21->192.53.103.108 mode 3 vers 4 poll 6 10 flags 0x1 0x1 tt l 0 key 00000000 key_expire: at 0 peer_clear: at 0 next 2 assoc ID 32320 refid INIT newpeer: 127.0.0.1->127.127.1.0 mode 3 vers 4 poll 6 10 flags 0x1021 0x1 ttl 0 k ey 00000000 key_expire: at 0 peer_clear: at 0 next 3 assoc ID 32321 refid INIT newpeer: 192.168.178.21->192.53.103.104 mode 3 vers 4 poll 6 10 flags 0x1 0x1 tt l 0 key 00000000 report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspe c, 1 event, event_unspec' (0xc010) addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 1 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 1 keys 1 expired 0 timer: refresh ts 0 refclock_transmit: at 2 127.127.1.0 refclock_receive: at 2 127.127.1.0 peer LOCAL(0) event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_r each' (0x8014) refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 1 off 0.000000 del 0.000000 dsp 7.937500 jit 0.000001, age 0 filegen 2 3390580938 0 3390508800 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 3 192.168.178.21->192.53.103.104 mode 3 auth_agekeys: at 60 keys 1 expired 0 refclock_transmit: at 66 127.127.1.0 refclock_receive: at 66 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 2 off 0.000000 del 0.000000 dsp 3.937741 jit 0.000001, age 0 filegen 2 3390581002 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 66 192.168.178.21->192.53.103.108 mode 3 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 67 192.168.178.21->192.53.103.104 mode 3 auth_agekeys: at 120 keys 1 expired 0 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 130 192.168.178.21->192.53.103.108 mode 3 refclock_transmit: at 132 127.127.1.0 refclock_receive: at 132 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 3 off 0.000000 del 0.000000 dsp 1.937992 jit 0.000001, age 0 filegen 2 3390581068 0 3390508800 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 132 192.168.178.21->192.53.103.104 mode 3 auth_agekeys: at 180 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 195 192.168.178.21->192.53.103.104 mode 3 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 196 192.168.178.21->192.53.103.108 mode 3 refclock_transmit: at 197 127.127.1.0 refclock_receive: at 197 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 4 off 0.000000 del 0.000000 dsp 0.938173 jit 0.000001, age 0 report_event: system event 'event_peer/strat_chg' (0x04) status 'sync_alarm, sync_local_proto, 2 events, event_restart' (0xc521) addto_syslog: synchronized to LOCAL(0), stratum 13 clock_update: at 197 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 0 local_clock: time 197 base 0.000000 offset 0.000000 freq 0.000 state 3 filegen 2 3390581133 0 3390508800 auth_agekeys: at 240 keys 1 expired 0 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 260 192.168.178.21->192.53.103.108 mode 3 refclock_transmit: at 261 127.127.1.0 refclock_receive: at 261 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 5 off 0.000000 del 0.000000 dsp 0.438287 jit 0.000001, age 0 clock_update: at 261 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581197 0 3390508800 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 261 192.168.178.21->192.53.103.104 mode 3 auth_agekeys: at 300 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 325 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 326 127.127.1.0 refclock_receive: at 326 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 6 off 0.000000 del 0.000000 dsp 0.188366 jit 0.000001, age 0 clock_update: at 326 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581262 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 326 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 360 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 388 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 390 127.127.1.0 refclock_receive: at 390 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 7 off 0.000000 del 0.000000 dsp 0.063406 jit 0.000001, age 0 clock_update: at 390 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581326 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 390 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 420 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 451 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 455 127.127.1.0 refclock_receive: at 455 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000937 jit 0.000001, age 0 clock_update: at 455 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581391 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 456 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 480 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 515 192.168.178.21->192.53.103.104 mode 3 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 520 192.168.178.21->192.53.103.108 mode 3 refclock_transmit: at 521 127.127.1.0 refclock_receive: at 521 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000947 jit 0.000001, age 0 clock_update: at 521 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581457 0 3390508800 auth_agekeys: at 540 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 581 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 584 127.127.1.0 refclock_receive: at 584 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000929 jit 0.000001, age 0 clock_update: at 584 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581520 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 584 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 600 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 646 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 647 127.127.1.0 refclock_receive: at 647 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000921 jit 0.000001, age 0 clock_update: at 647 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581583 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 648 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 660 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 709 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 711 127.127.1.0 refclock_receive: at 711 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000924 jit 0.000001, age 0 clock_update: at 711 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581647 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 714 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 720 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 773 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 775 127.127.1.0 refclock_receive: at 775 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000926 jit 0.000001, age 0 clock_update: at 775 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581711 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 780 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 780 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 838 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 840 127.127.1.0 refclock_receive: at 840 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000934 jit 0.000001, age 0 clock_update: at 840 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581776 0 3390508800 auth_agekeys: at 840 keys 1 expired 0 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 846 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 900 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 903 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 906 127.127.1.0 refclock_receive: at 906 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000945 jit 0.000001, age 0 clock_update: at 906 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581842 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 910 192.168.178.21->192.53.103.108 mode 3 auth_agekeys: at 960 keys 1 expired 0 addto_syslog: sendto(192.53.103.104) (fd=-1): Bad file descriptor transmit: at 966 192.168.178.21->192.53.103.104 mode 3 refclock_transmit: at 971 127.127.1.0 refclock_receive: at 971 127.127.1.0 refclock_sample: n 1 offset 0.000000 disp 0.010000 jitter 0.000001 clock_filter: n 8 off 0.000000 del 0.000000 dsp 0.000944 jit 0.000001, age 0 clock_update: at 971 assoc 3 local_clock: assocID 32320 offset 0.000000000 freq 0.000 state 3 filegen 2 3390581907 0 3390508800 addto_syslog: sendto(192.53.103.108) (fd=-1): Bad file descriptor transmit: at 973 192.168.178.21->192.53.103.108 mode 3 addto_syslog: ntpd exiting on signal 2 addto_syslog: can't open /var/lib/ntp/ntp.drift.TEMP: Permission denied Weil der Prozess anscheinend ab einem gewissen Zeitpunkt stagnierte, habe ich ihn mit STRG-C beendet. Die Zeile NTPD_START="yes" stand in der /etc/sysconf/ntp natürlich bereits drin-sonst hätte ich ja den anderen Test nicht gemacht :-D Ich weiß nicht, warum der ntpd sich das letzte Mal am 17. März beendet haben soll-jedenfalls lief mein rechner bis dahin nicht durch... Ich bin-wie gesagt-völlig ratlos und hoffe da auch Tips als "Pinguin-Beschwörer" *grins* Viele Grüße Christian PS: Inhalt von /etc/sysconf/ntp anbei...