NTP-Server geht nicht

mario9000

mario9000

Mitglied
Server:
/etc/ntp.conf
Code:
driftfile /var/lib/ntp/ntp.drift

server ptbtime1.ptb.de
server ptbtime2.ptb.de

restrict 127.0.0.1

restrict 10.0.0.0 mask 255.0.0.0
restrict 192.168.0.0 mask 255.250.0.0

restrict default notrust nomodify nopeer

Code:
main:~# /etc/init.d/ntpd restart
Stopping NTP server: ntpd.
Oct  7 20:06:38 main ntpd[3865]: ntpd exiting on signal 15
Starting NTP server: ntpd.
main:~# Oct  7 20:06:40 main ntpd[4330]: ntpd 4.2.4p4@1.1520-o Sun Nov 22 17:34:54 UTC 2009 (1)
Oct  7 20:06:40 main ntpd[4331]: precision = 1.000 usec
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #1 wildcard, ::#123 Disabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #2 lo, ::1#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #3 eth1, fe80::20c:29ff:fe2c:a182#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #4 eth0.10, fe80::20c:29ff:fe2c:a178#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #5 lo, 127.0.0.1#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #6 eth1, 192.168.204.102#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: Listening on interface #7 eth0.10, 10.1.1.1#123 Enabled
Oct  7 20:06:40 main ntpd[4331]: kernel time sync status 0040
Oct  7 20:06:40 main ntpd[4331]: frequency initialized -23.041 PPM from /var/lib/ntp/ntp.drift

main:~# apt-get install ntp-server
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Paket ntp-server ist nicht verfügbar, wird aber von einem anderen
Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es veraltet
ist oder nur aus einer anderen Quelle verfügbar ist.
E: Paket ntp-server hat keinen Installationskandidaten

zweiter PC:
Code:
driftfile /var/lib/ntp/ntp.drift

server 10.1.1.1
restrict 10.1.1.1
restrict 127.0.0.1
restrict default notrust nomodify nopeer

Code:
rar:~# ntpdate 10.1.1.1
10 Oct 01:45:15 ntpdate[4745]: no server suitable for synchronization found
rar:~# ntpdate-debian
10 Oct 01:45:24 ntpdate[4746]: no server suitable for synchronization found
rar:~# /etc/init.d/ntp start
Starting NTP server: ntpd.
rar:~# date
So 10. Okt 01:45:38 CEST 2010


wisst ihr was ich falsch mache?
 

Ähnliche Themen

xrandr: cant open display

Internet über VPN, ntpd

NTP Server verweigert Zugriff auf Quellen - Port 123 blocked?

Debian Routing Problem

Router crash bei Fedora 15!?

Zurück
Oben