Zeit einstellen

Holm holm at oleco.net
Fri May 27 18:29:21 UTC 2005


Hallo Alexander Dalloz,

am Freitag, 27. Mai 2005 um 16:57 hast Du geschrieben:

> Am Fr, den 27.05.2005 schrieb Holm um 16:53:

>> doch klar warum nicht ? Hab ich ja auch probiert zu installieren, aber wie gesagt, hat ja auch nicht
>> funktioniert, weil wahrscheinlich noch andere Zeitserver laufen.
>> 
>> Wie bekomme ich denn jetzt mein System sauber, so daß z. Bsp. nur ntpd funktioniert ? Muss ich in
>> irgendwelchen Systemdateienn erstmal nach einen anderen Zeitserver suchen ? Es ist ja nicht
>> normal, daß meine Zeit, wenn ich "date" eingebe, jetzt nach 5 Stunden , schon 1/2 Tag nachgeht.

>> Holm Kapschitzki

> Du solltest damit beginnen, deine Prozessliste durchzusehen (ps axuwww)
> und den von dir installierten "ntpd dienst" (O-Ton gestrige Mail) sauber
> entfernen. Dann schaust du dir die Konfiguration des ntpd von FC3 genau
> an und passt sie deinen Wünschen gemäß an.

> Alexander

also mit "ps axuwww" kann ich leider überhaupt kein Prozess mehr entdecken, der mit Zeit zu tun hat:

Hier die Ausgabe:


USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4  2572  532 ?        S    13:50   0:02 init [5]

root         2  0.0  0.0     0    0 ?        SN   13:50   0:00 [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        S<    1909   0:03 [events/0]
root         4  0.0  0.0     0    0 ?        S<    1909   0:00 [khelper]
root         5  0.0  0.0     0    0 ?        S<    1909   0:00 [kacpid]
root        15  0.0  0.0     0    0 ?        S<    1909   0:00 [kblockd/0]
root        25  0.0  0.0     0    0 ?        S    12:38   0:00 [pdflush]
root        28  0.0  0.0     0    0 ?        S<   12:38   0:00 [aio/0]
root        16  0.0  0.0     0    0 ?        S     1909   0:00 [khubd]
root        27  0.1  0.0     0    0 ?        S    12:38   0:17 [kswapd0]
root       103  0.0  0.0     0    0 ?        S    12:38   0:00 [kseriod]
root       178  0.0  0.0     0    0 ?        S<   12:38   0:00 [kmirrord/0]
root       187  0.0  0.0     0    0 ?        S    12:38   0:01 [kjournald]
root      1124  0.0  0.3  2788  480 ?        S<s  12:39   0:00 udevd
root      1492  0.0  0.0     0    0 ?        S    12:39   0:00 [kjournald]
root      1841  0.0  0.7  3672  992 ?        Ss   12:40   0:00 /sbin/dhclient -1
 -q -cf /etc/dhclient-eth0.conf -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/
run/dhclient-eth0.pid eth0
root      1875  0.0  0.4  2596  548 ?        Ss   12:40   0:00 syslogd -m 0
root      1879  0.0  0.3  1892  440 ?        Ss   12:40   0:00 klogd -x
rpc       1900  0.0  0.4  2692  564 ?        Ss   12:40   0:00 portmap
rpcuser   1920  0.0  0.5  1732  716 ?        Ss   12:40   0:00 rpc.statd
root      1953  0.0  0.4  2120  564 ?        Ss   12:40   0:01 rpc.idmapd
root      2016  0.1  0.4  3592  508 ?        Ss   12:40   0:14 nifd -n
nobody    2046  0.0  0.7 14052  988 ?        Ssl  12:40   0:00 mDNSResponder
root      2058  0.0  0.6  2896  804 ?        S    12:40   0:00 /usr/sbin/smartd
root      2068  0.0  0.4  2520  512 ?        Ss   12:40   0:00 /usr/sbin/acpid
root      2116  0.0  1.1  4424 1464 ?        Ss   12:41   0:00 /usr/sbin/sshd
root      2127  0.0  0.4  3452  612 ?        Ss   12:41   0:00 xinetd -stayalive
 -pidfile /var/run/xinetd.pid
root      2146  0.0  1.5  8432 2004 ?        Ss   12:41   0:01 sendmail: accepti
ng connections
smmsp     2156  0.0  1.3  7364 1688 ?        Ss   12:41   0:00 sendmail: Queue r
unner at 01:00:00 for /var/spool/clientmqueue
root      2169  0.0  0.3  2888  396 ?        Ss   12:41   0:00 gpm -m /dev/input
/mice -t imps2
root      2179  0.0  0.5  4008  756 ?        Ss   12:41   0:00 crond
xfs       2205  0.0  0.7  4160 1000 ?        Ss   12:41   0:00 xfs -droppriv -da
emon
daemon    2224  0.0  0.4  2960  564 ?        Ss   12:41   0:00 /usr/sbin/atd
dbus      2243  0.0  0.8  3104 1072 ?        Ss   12:41   0:00 dbus-daemon-1 --s
ystem
root      2256  0.0  0.6  3444  760 ?        Ss   12:41   0:00 cups-config-daemo
n
root      2267  0.0  2.1  6804 2724 ?        Ss   12:41   0:04 hald
root      2428  0.0  1.9 10928 2448 ?        Ss   12:41   0:00 smbd -D
root      2432  0.0  7.8 22088 9900 ?        Ss   12:41   0:04 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
root      2438  0.0  1.3  7956 1768 ?        Ss   12:41   0:00 nmbd -D
root      2439  0.0  1.0  7812 1336 ?        S    12:41   0:00 nmbd -D
root      2456  0.0  0.9  5008 1208 ?        S    12:41   0:00 /bin/sh /opt/lamp
p/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql
/base.mnsu.local.pid
nobody    2463  0.0  1.5  4764 2016 ?        Ss   12:41   0:00 proftpd: (accepti
ng connections)
nobody    2484  0.0  0.4  2104  568 ?        Ss   12:41   0:00 /usr/sbin/oidentd
 -u nobody -g nobody
root      2486  0.0  1.8 10924 2344 ?        S    12:41   0:00 smbd -D
nobody    2495  0.0  4.0 25916 5156 ?        Sl   12:41   0:00 /opt/lampp/sbin/m
ysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --user=nobody --pid-fi
le=/opt/lampp/var/mysql/base.mnsu.local.pid --skip-locking --port=3306 --socket=
/opt/lampp/var/mysql/mysql.sock
nobody    2497  0.0  7.6 22032 9720 ?        S    12:41   0:00 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    2498  0.0 10.2 23972 12908 ?       S    12:41   0:06 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    2499  0.1 10.2 24084 12972 ?       S    12:41   0:08 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    2500  0.1 10.3 24316 13108 ?       S    12:41   0:11 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    2501  0.1 10.5 24328 13264 ?       S    12:41   0:15 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    2502  0.0 10.2 24084 12928 ?       S    12:41   0:06 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
root      2505  0.0  3.5  7448 4436 ?        Ss   12:41   0:00 /usr/bin/perl /us
r/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
root      2511  0.0  0.3  2288  384 tty1     Ss+  12:41   0:00 /sbin/mingetty tt
y1
root      2512  0.0  0.3  2544  384 tty2     Ss+  12:41   0:00 /sbin/mingetty tt
y2
root      2513  0.0  0.3  2516  388 tty3     Ss+  12:41   0:00 /sbin/mingetty tt
y3
root      2514  0.0  0.3  3136  384 tty4     Ss+  12:41   0:00 /sbin/mingetty tt
y4
root      2515  0.0  0.3  3020  388 tty5     Ss+  12:41   0:00 /sbin/mingetty tt
y5
root      2516  0.0  0.3  1476  388 tty6     Ss+  12:41   0:00 /sbin/mingetty tt
y6
root      2517  0.0  1.8 11024 2280 ?        Ss   12:41   0:00 /usr/bin/gdm-bina
ry -nodaemon
root      2782  0.0  0.0     0    0 ?        S    12:41   0:01 [pdflush]
root      2943  0.0  2.2 11652 2832 ?        S    12:41   0:00 /usr/bin/gdm-bina
ry -nodaemon
root      2948  0.6  6.8 53584 8708 ?        S    12:41   0:55 /usr/X11R6/bin/X
:0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
gdm       3017  0.3  6.6 20028 8448 ?        Ss   12:42   0:32 /usr/bin/gdmgreet
er
antorox   3103  0.0  1.4  4128 1824 ?        S    12:51   0:03 /home/antorox/Unr
eal3.2/src/ircd
root      3105  3.7  2.9 11736 3752 ?        S    12:52   5:04 smbd -D
nobody    3113  0.1 10.5 24364 13360 ?       S    12:53   0:09 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    3173  0.0 10.1 24008 12860 ?       S    12:56   0:06 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    3226  0.0 10.1 23784 12804 ?       S    13:38   0:02 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    3227  0.0 10.2 24004 12956 ?       S    13:38   0:03 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
nobody    3228  0.0 10.1 23820 12864 ?       S    13:38   0:01 /opt/lampp/bin/ht
tpd -k start -DSSL -DPHP5
root      3360  0.0  1.7  8852 2212 ?        SNs  13:46   0:00 cupsd
root     29203  0.0  2.7 11616 3440 ?        S    14:56   0:00 smbd -D
root     29208  0.1  2.7 11616 3520 ?        S    15:03   0:00 smbd -D
root     29209  3.8  1.6  6712 2056 ?        Ss   15:08   0:00 sshd: root at pts/1
root     29211  5.5  1.1  5112 1416 pts/1    Ss   15:08   0:00 -bash
root     29243  0.0  0.5  3152  744 pts/1    R+   15:08   0:00 ps axuwww

------------

Mit date bekomme ich jetzt folgende Ausgabe:
Fr Mai 27 15:09:58 CEST 2005

Mit "cat /etc/sysconfig/clock":
ZONE="Europe/Berlin"
UTC=false
ARC=false

Mit "hwclock --show --utc":
Fr 27 Mai 2005 22:19:18 CEST  -0.135079 Sekunden

Da stellt sich also die Hardwareuhr vor und die Systemzeit geht nach, obwohl ich heute Mittag mit:
hwclock --systohc

alles synchronisiert habe.

Wo ist denn die Konfiguration des ntpd von FC3 genau ? Es gab glaube ich auch einen Befehl sich alle Verzeichnisse, wo etwas installiert ist anzeigen zu lassen? Muss ich nicht in der init.d oder in irgendeiner anderen Datei suchen, ob irgendwo doch noch was gestartet wird ?

Meinen selbst installierten "ntpd dienst" werde ich mit yum apt2get deinstallieren, aber wie gesagt das Problem trat ja schon vorher auf.



-- 
Mit freundlichen Grüßen
Holm
mailto:holm at oleco.net




More information about the de-users mailing list