Nach dem tutorial
http://www.tkb-net.com/projektdateien/d ... eitsyn.pdf
#! /bin/sh
echo Zeitserver abfragen
ntpdate ptbtime1.ptb.de
echo PC Uhr stellen
hwclock --systohc
Auf dem lokalen Server funktioniert es,
aber nicht auf dem 1und1 Server:
18 Apr 20:25:19 ntpdate[31013]: can't find host ptbtime1.ptb.de
18 Apr 20:25:19 ntpdate[31013]: the NTP socket is in use, exiting
Danke, Maggi
P.S. das Tutorial ist auch exelent:
http://linuxwiki.org/ntp
ntpdate: the NTP socket is in use
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: ntpdate: the NTP socket is in use
/etc/init.d/ntp* stop
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc