andes135
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Hallo zusammen, irgendwie macht mein NTP-Server Probleme. Er synchronisiert die Zeit mit dem Internet nicht. Lokal habe ich noch einen bind9 am laufen, auf dem gleichen Ubuntuserver. Wenn ich folgenden Befehl eingebe: /usr/sbin/ntpdate ptbtime1.ptb.de ptbtime2.ptb.de bekomme ich als Antwort: ntpdate[1453]: the NTP socket is in use, exiting. Wenn ich mit dem Befehl: ps aux | grep ntpdate nach dem Prozess suche bekomme ich folgende Antwort: root 1455 0.0 0.0 4404 812 pts/0 S+ 11:31 0:00 grep --color=auto ntpdate Kill ich den Prozess und suche wieder nach einem ntpdate Prozess erscheint die obige Antwort wieder nur mit einer anderen Prozessid. Kann mir jemand einen Tipp geben ???
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 14314
|
andes135 schrieb: Kill ich den Prozess und suche wieder nach einem ntpdate Prozess erscheint die obige Antwort wieder nur mit einer anderen Prozessid. Kann mir jemand einen Tipp geben ???
Diesen "Prozess" wirst Du nicht finden. Schau dir die Ausgabe von:
ps -fC ntpdate
an.
|
u1000
Anmeldungsdatum: 2. Oktober 2011
Beiträge: 1850
|
Hi andes135, irgendwie macht mein NTP-Server Probleme.
Du nutzt also das Paket ntp ? Dann zeige bitte doch mal deine ntp config: /etc/ntp.conf
Er synchronisiert die Zeit mit dem Internet nicht.
Fehlermeldung ? Die findest du im Log File, welches in /etc/ntp.conf spezifiziert wird.
Lokal habe ich noch einen bind9 am laufen, auf dem gleichen Ubuntuserver.
Was hat bind9 mit ntp zu tun ?
Wenn ich folgenden Befehl eingebe: /usr/sbin/ntpdate ptbtime1.ptb.de ptbtime2.ptb.de ...
ntpdate und ntp sollte man nicht gleichzeitig nutzen.
Wenn ich mit dem Befehl: ps aux | grep ntpdate nach dem Prozess suche bekomme ich folgende Antwort:
root 1455 0.0 0.0 4404 812 pts/0 S+ 11:31 0:00 grep --color=auto ntpdate
Kill ich den Prozess und suche wieder nach einem ntpdate Prozess erscheint die obige Antwort wieder nur mit einer anderen Prozessid.
Ja, du hast ja auch nur versucht, deinen egrep Aufruf zu killen. ntpdate läuft i.d.R. nicht im Hintergrund, daher wohl auch nicht per egrep zu finden. Lies dir mal den Artikel Systemzeit durch, und schreib hier mal was genauer, was du wie machen möchtest. Viele Grüße u1000
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Hallo, ja ich mächte gerne die Uhrzeit über einen Internetserver synchronisieren lassen, zum einen beim Systenstart einmal und dann zwischendurch mal wieder, keine Ahnung wie oft der ntp dies macht. Hier mal meine ntp.conf, nicht wundern, ich habe schon einiges ausprobiert.
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#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
# Specify one or more NTP servers.
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
#server 0.ubuntu.pool.ntp.org
#server 1.ubuntu.pool.ntp.org
#server 2.ubuntu.pool.ntp.org
#server 3.ubuntu.pool.ntp.org
#server ptbtime1.ptb.de
server ptbtime1.ptb.de
# Use Ubuntu's ntp server as a fallback.
#server ntp.ubuntu.com
#server ptbtime1.ptb.de
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.
# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1
# 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
~
~
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Hallo, was mir inzwischen aufgefallen ist, dass wenn ich die Uhrzeit manuelle in der Konsole verstelle mit date -s danach den Rechner neustarte, dauert es einige kurze Zeit und die Uhrzeit stellt sich wieder. Wenn ich die Zeit manuell verstelle, und den Rechner nicht neu starte, bleibt die verstellte Zeit stehn. Holt sich Ubuntu die Zeit beim Hochfahren vom Mainboard, oder tatsächlich vom Internet ?????
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 14314
|
andes135 schrieb: ..., oder tatsächlich vom Internet ?????
Siehe die Ausgabe von
cat /var/log/syslog | grep ntpd
oder von
logread | grep ntpd
und https://help.ubuntu.com/12.04/serverguide/NTP.html
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Hallo, hier Auszug aus /var/log/syslog | grep ntpd: P 123
Dec 17 22:30:10 linuxserv ntpd[1151]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 17 22:30:10 linuxserv ntpd[1151]: Listen normally on 5 lo ::1 UDP 123
Dec 17 22:30:10 linuxserv ntpd[1151]: peers refreshed
Dec 17 22:30:10 linuxserv ntpd[1151]: Listening on routing socket on fd #22 for interface updates
Dec 17 22:37:56 linuxserv kernel: [ 15.610937] type=1400 audit(1355780275.202: 5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=493 com m="apparmor_parser"
Dec 17 22:37:56 linuxserv kernel: [ 16.953772] type=1400 audit(1355780276.546: 10): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=844 comm="apparmor_parser"
Dec 17 22:37:57 linuxserv ntpd[1058]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 17 22:37:57 linuxserv ntpd[1061]: proto: precision = 0.543 usec
Dec 17 22:37:57 linuxserv ntpd[1061]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 17 22:37:57 linuxserv ntpd[1061]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING
Dec 17 22:38:04 linuxserv ntpdate[778]: no server suitable for synchronization f ound
Dec 17 22:38:04 linuxserv ntpd[1131]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 17 22:38:04 linuxserv ntpd[1132]: proto: precision = 0.662 usec
Dec 17 22:38:04 linuxserv ntpd[1132]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 17 22:38:04 linuxserv ntpd[1132]: Listen normally on 5 lo ::1 UDP 123
Dec 17 22:38:04 linuxserv ntpd[1132]: peers refreshed
Dec 17 22:38:04 linuxserv ntpd[1132]: Listening on routing socket on fd #22 for interface updates
Dec 17 22:39:49 linuxserv kernel: [ 15.613407] type=1400 audit(1355780388.202: 8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=500 com m="apparmor_parser"
Dec 17 22:39:49 linuxserv kernel: [ 15.620705] type=1400 audit(1355780388.210: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=498 comm="apparmor_parser"
Dec 17 22:39:50 linuxserv ntpd[1070]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 17 22:39:50 linuxserv ntpd[1071]: proto: precision = 0.646 usec
Dec 17 22:39:50 linuxserv ntpd[1071]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 17 22:39:50 linuxserv ntpd[1071]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING
Dec 17 22:39:57 linuxserv ntpdate[788]: no server suitable for synchronization f ound
Dec 17 22:39:57 linuxserv ntpd[1142]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 17 22:39:57 linuxserv ntpd[1143]: proto: precision = 0.666 usec
Dec 17 22:39:57 linuxserv ntpd[1143]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 17 22:39:57 linuxserv ntpd[1143]: Listen normally on 5 lo ::1 UDP 123
Dec 17 22:39:57 linuxserv ntpd[1143]: peers refreshed
Dec 17 22:39:57 linuxserv ntpd[1143]: Listening on routing socket on fd #22 for interface updates
Jan 1 09:02:24 linuxserv kernel: [ 15.554683] type=1400 audit(1009872143.141: 8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=491 com m="apparmor_parser"
Jan 1 09:02:24 linuxserv kernel: [ 15.585725] type=1400 audit(1009872143.173: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=497 comm="apparmor_parser"
Jan 1 09:02:25 linuxserv ntpd[1066]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Jan 1 09:02:25 linuxserv ntpd[1067]: proto: precision = 0.696 usec
Jan 1 09:02:25 linuxserv ntpd[1067]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Jan 1 09:02:25 linuxserv ntpd[1067]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING
Jan 1 09:02:32 linuxserv ntpdate[784]: no server suitable for synchronization f ound
Jan 1 09:02:32 linuxserv ntpd[1137]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Jan 1 09:02:32 linuxserv ntpd[1138]: proto: precision = 0.694 usec
Jan 1 09:02:32 linuxserv ntpd[1138]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen and drop on 1 v6wildcard :: UDP 123
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Jan 1 09:02:32 linuxserv ntpd[1138]: Listen normally on 5 lo ::1 UDP 123
Jan 1 09:02:32 linuxserv ntpd[1138]: peers refreshed
Jan 1 09:02:32 linuxserv ntpd[1138]: Listening on routing socket on fd #22 for interface updates
Dec 18 18:50:26 linuxserv kernel: [ 15.754665] type=1400 audit(1355853025.353: 5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=507 com m="apparmor_parser"
Dec 18 18:50:26 linuxserv kernel: [ 15.773429] type=1400 audit(1355853025.373: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=516 comm="apparmor_parser"
Dec 18 18:50:27 linuxserv ntpd[1073]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 18 18:50:27 linuxserv ntpd[1074]: proto: precision = 0.676 usec
Dec 18 18:50:27 linuxserv ntpd[1074]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 18 18:50:27 linuxserv ntpd[1074]: Listen normally on 5 lo ::1 UDP 123
Dec 18 18:50:27 linuxserv ntpd[1074]: peers refreshed
Dec 18 18:50:27 linuxserv ntpd[1074]: Listening on routing socket on fd #22 for interface updates
Dec 18 18:50:28 linuxserv ntpdate[785]: the NTP socket is in use, exiting
Dec 18 17:45:44 linuxserv kernel: [ 15.693348] type=1400 audit(1355849143.322: 6): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=520 com m="apparmor_parser"
Dec 18 17:45:44 linuxserv kernel: [ 15.715976] type=1400 audit(1355849143.342: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=523 comm="apparmor_parser"
Dec 18 17:45:45 linuxserv ntpd[1074]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 18 17:45:45 linuxserv ntpd[1075]: proto: precision = 0.706 usec
Dec 18 17:45:45 linuxserv ntpd[1075]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 18 17:45:45 linuxserv ntpd[1075]: Listen normally on 5 lo ::1 UDP 123
Dec 18 17:45:45 linuxserv ntpd[1075]: peers refreshed
Dec 18 17:45:45 linuxserv ntpd[1075]: Listening on routing socket on fd #22 for interface updates
Dec 18 17:45:46 linuxserv ntpdate[740]: the NTP socket is in use, exiting
Dec 18 19:01:16 linuxserv kernel: [ 15.637471] type=1400 audit(1355853675.246: 5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=493 com m="apparmor_parser"
Dec 18 19:01:16 linuxserv kernel: [ 15.659708] type=1400 audit(1355853675.266: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=499 comm="apparmor_parser"
Dec 18 19:01:17 linuxserv ntpd[1070]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 18 19:01:17 linuxserv ntpd[1071]: proto: precision = 0.693 usec
Dec 18 19:01:17 linuxserv ntpd[1071]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 18 19:01:17 linuxserv ntpd[1071]: Listen normally on 5 lo ::1 UDP 123
Dec 18 19:01:17 linuxserv ntpd[1071]: peers refreshed
Dec 18 19:01:17 linuxserv ntpd[1071]: Listening on routing socket on fd #22 for interface updates
Dec 18 19:01:18 linuxserv ntpdate[782]: the NTP socket is in use, exiting
Dec 18 15:31:16 linuxserv kernel: [ 15.657584] type=1400 audit(1355841075.270: 5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=491 com m="apparmor_parser"
Dec 18 15:31:16 linuxserv kernel: [ 15.678140] type=1400 audit(1355841075.290: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=497 comm="apparmor_parser"
Dec 18 15:31:17 linuxserv ntpd[1079]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 18 15:31:17 linuxserv ntpd[1080]: proto: precision = 0.654 usec
Dec 18 15:31:17 linuxserv ntpd[1080]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 18 15:31:17 linuxserv ntpd[1080]: Listen normally on 5 lo ::1 UDP 123
Dec 18 15:31:17 linuxserv ntpd[1080]: peers refreshed
Dec 18 15:31:17 linuxserv ntpd[1080]: Listening on routing socket on fd #22 for interface updates
Dec 18 15:31:18 linuxserv ntpdate[790]: the NTP socket is in use, exiting
Dec 18 14:23:40 linuxserv kernel: [ 15.581006] type=1400 audit(1355837019.210: 8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=491 com m="apparmor_parser"
Dec 18 14:23:40 linuxserv kernel: [ 15.592522] type=1400 audit(1355837019.222: 9): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/ntpd" pid=492 comm="apparmor_parser"
Dec 18 14:23:41 linuxserv ntpd[1073]: ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:11 UTC 2012 (1)
Dec 18 14:23:41 linuxserv ntpd[1074]: proto: precision = 0.681 usec
Dec 18 14:23:41 linuxserv ntpd[1074]: ntp_io: estimated max descriptors: 1024, i nitial socket boundary: 16
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen and drop on 0 v4wildcard 0.0.0.0 UD P 123
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen and drop on 1 v6wildcard :: UDP 123
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen normally on 2 lo 127.0.0.1 UDP 123
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen normally on 3 eth0 192.168.0.200 UD P 123
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen normally on 4 eth0 fe80::213:d4ff:f e53:4786 UDP 123
Dec 18 14:23:41 linuxserv ntpd[1074]: Listen normally on 5 lo ::1 UDP 123
Dec 18 14:23:41 linuxserv ntpd[1074]: peers refreshed
Dec 18 14:23:41 linuxserv ntpd[1074]: Listening on routing socket on fd #22 for interface updates
Dec 18 14:23:42 linuxserv ntpdate[784]: the NTP socket is in use, exiting
Kann jemand was damit anfangen ??
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Bei ntpq -p erscheint folgende Meldung: ntpq -p
ntpq: read: Connection refused
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 14314
|
andes135 schrieb: Bei ntpq -p erscheint folgende Meldung: ntpq -p
ntpq: read: Connection refused
Versuch mal:
sudo ntpq -p
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Gleiche Antwort. Connection refused
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 14314
|
andes135 schrieb: Connection refused
Versuch mal
sudo ntpq -p -4 127.0.0.1
und poste bitte die Ausgabe von
sudo ss -inpu4eam | grep ntpd
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
ntpq -p -4 127.0.0.1
remote refid st t when poll reach delay offset jitter
==============================================================================
ptbtime1.ptb.de .PTB. 1 u 56 64 1 34.069 3644634 0.001 und ss -inpu4eam | grep ntpd ergibt: UNCONN 0 0 192.168.0.200:123 *:* users:(("ntpd",1078,19)) ino=8094 sk=f3386f00
UNCONN 0 0 127.0.0.1:123 *:* users:(("ntpd",1078,18)) ino=8093 sk=f3386c80
UNCONN 0 0 *:123 *:* users:(("ntpd",1078,16)) ino=8086 sk=f3386780
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Keiner eine Idee mehr, woran es liegen könnte ???
|
andes135
(Themenstarter)
Anmeldungsdatum: 18. September 2011
Beiträge: 584
|
Keiner da in der großen, weiten Welt da draussen, der mir mein gepostetes Ergebnis von der vorletzten Antwort interpretieren kann und evtl noch einen Tipp hat ?
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 14314
|
andes135 schrieb: ss -inpu4eam | grep ntpd ergibt:
UNCONN 0 0 192.168.0.200:123 *:* users:(("ntpd",1078,19)) ino=8094 sk=f3386f00
UNCONN 0 0 127.0.0.1:123 *:* users:(("ntpd",1078,18)) ino=8093 sk=f3386c80
UNCONN 0 0 *:123 *:* users:(("ntpd",1078,16)) ino=8086 sk=f3386780
Versuch mal:
sudo killall ntpd sudo ntpdate ptbtime1.ptb.de
warten ...
sudo ntpd ps -fC ntpd
|