Am Freitag, 21. April 2006 15:18 schrieb Thomas Ohms:
Am Freitag, 21. April 2006 15:04 schrieb Gerd Limbeck:
Ohh ja. Danke. Geht ja wohl mit allen Diensten...
Ganz genau ;)
Auch ein manuelles Stop hat keine Wirkung:
linux:/home/gerd # /etc/init.d/xdm stop Shutting down service kdm done linux:/home/gerd # /etc/init.d/xdm status Checking for service kdm: running
Was habe ich wo falsch gemacht?!
Mach das doch nochmal und sende dann mal die Ausgabe von "dmesg | tail".
Hmm, ist wirklich nicht sehr viel. Aber ein paar Anhaltspunkte hätte ich noch:
- Überprüfe mal ob unter "/etc/init.d/rc3.d" der Dämon gelistet ist.
nein, in rc3.d nicht: linux:/home/limbeck # ll /etc/init.d/rc3.d insgesamt 5 drwxr-xr-x 2 root root 1592 2006-04-21 14:58 . drwxr-xr-x 11 root root 3296 2006-04-21 14:35 .. lrwxrwxrwx 1 root root 13 2006-04-20 14:25 K05powersaved -> ../powersaved lrwxrwxrwx 1 root root 12 2006-04-20 14:25 K06haldaemon -> ../haldaemon lrwxrwxrwx 1 root root 7 2006-04-20 14:25 K07cron -> ../cron lrwxrwxrwx 1 root root 7 2006-04-20 14:25 K08nscd -> ../nscd lrwxrwxrwx 1 root root 10 2006-04-20 14:25 K08postfix -> ../postfix lrwxrwxrwx 1 root root 8 2006-04-20 14:25 K08smbfs -> ../smbfs lrwxrwxrwx 1 root root 6 2006-04-21 09:50 K09smb -> ../smb lrwxrwxrwx 1 root root 8 2006-04-20 14:25 K10acpid -> ../acpid lrwxrwxrwx 1 root root 12 2006-04-20 14:25 K10alsasound -> ../alsasound lrwxrwxrwx 1 root root 7 2006-04-20 14:25 K10cups -> ../cups lrwxrwxrwx 1 root root 12 2006-04-20 14:25 K10microcode -> ../microcode lrwxrwxrwx 1 root root 6 2006-04-21 14:58 K10nwe -> ../nwe lrwxrwxrwx 1 root root 9 2006-04-20 14:25 K10splash -> ../splash lrwxrwxrwx 1 root root 7 2006-04-20 14:25 K10sshd -> ../sshd lrwxrwxrwx 1 root root 6 2006-04-20 14:25 K12nfs -> ../nfs lrwxrwxrwx 1 root root 10 2006-04-20 14:25 K12nfsboot -> ../nfsboot lrwxrwxrwx 1 root root 8 2006-04-20 14:25 K14mdnsd -> ../mdnsd lrwxrwxrwx 1 root root 10 2006-04-20 14:25 K14portmap -> ../portmap lrwxrwxrwx 1 root root 15 2006-04-20 14:25 K14splash_early -> ../splash_early lrwxrwxrwx 1 root root 6 2006-04-21 09:50 K15nmb -> ../nmb lrwxrwxrwx 1 root root 9 2006-04-20 14:25 K16syslog -> ../syslog lrwxrwxrwx 1 root root 10 2006-04-20 14:25 K17network -> ../network lrwxrwxrwx 1 root root 12 2006-04-20 14:25 K18boot.udev -> ../boot.udev lrwxrwxrwx 1 root root 7 2006-04-20 14:25 K19dbus -> ../dbus lrwxrwxrwx 1 root root 9 2006-04-20 14:25 K19resmgr -> ../resmgr lrwxrwxrwx 1 root root 8 2006-04-20 14:25 K21fbset -> ../fbset lrwxrwxrwx 1 root root 9 2006-04-20 14:25 K21random -> ../random lrwxrwxrwx 1 root root 8 2006-04-20 14:25 S01fbset -> ../fbset lrwxrwxrwx 1 root root 9 2006-04-20 14:25 S01random -> ../random lrwxrwxrwx 1 root root 7 2006-04-20 14:25 S03dbus -> ../dbus lrwxrwxrwx 1 root root 9 2006-04-20 14:25 S03resmgr -> ../resmgr lrwxrwxrwx 1 root root 12 2006-04-20 14:25 S04boot.udev -> ../boot.udev lrwxrwxrwx 1 root root 10 2006-04-20 14:25 S05network -> ../network lrwxrwxrwx 1 root root 9 2006-04-20 14:25 S06syslog -> ../syslog lrwxrwxrwx 1 root root 6 2006-04-21 09:50 S07nmb -> ../nmb lrwxrwxrwx 1 root root 8 2006-04-20 14:25 S08mdnsd -> ../mdnsd lrwxrwxrwx 1 root root 10 2006-04-20 14:25 S08portmap -> ../portmap lrwxrwxrwx 1 root root 15 2006-04-20 14:25 S08splash_early -> ../splash_early lrwxrwxrwx 1 root root 6 2006-04-20 14:25 S10nfs -> ../nfs lrwxrwxrwx 1 root root 10 2006-04-20 14:25 S10nfsboot -> ../nfsboot lrwxrwxrwx 1 root root 8 2006-04-20 14:25 S12acpid -> ../acpid lrwxrwxrwx 1 root root 12 2006-04-20 14:25 S12alsasound -> ../alsasound lrwxrwxrwx 1 root root 7 2006-04-20 14:25 S12cups -> ../cups lrwxrwxrwx 1 root root 6 2006-04-20 14:25 S12kbd -> ../kbd lrwxrwxrwx 1 root root 12 2006-04-20 14:25 S12microcode -> ../microcode lrwxrwxrwx 1 root root 6 2006-04-21 14:58 S12nwe -> ../nwe lrwxrwxrwx 1 root root 9 2006-04-20 14:25 S12splash -> ../splash lrwxrwxrwx 1 root root 7 2006-04-20 14:25 S12sshd -> ../sshd lrwxrwxrwx 1 root root 6 2006-04-21 09:50 S13smb -> ../smb lrwxrwxrwx 1 root root 7 2006-04-20 14:25 S14nscd -> ../nscd lrwxrwxrwx 1 root root 10 2006-04-20 14:25 S14postfix -> ../postfix lrwxrwxrwx 1 root root 8 2006-04-20 14:25 S14smbfs -> ../smbfs lrwxrwxrwx 1 root root 7 2006-04-20 14:25 S15cron -> ../cron lrwxrwxrwx 1 root root 12 2006-04-20 14:25 S16haldaemon -> ../haldaemon lrwxrwxrwx 1 root root 13 2006-04-20 14:25 S17powersaved -> ../powersaved auch nicht in rc2.d und rc1.d. Nur in rc5.d: (...) lrwxrwxrwx 1 root root 6 2006-04-20 14:25 K09xdm -> ../xdm (...) lrwxrwxrwx 1 root root 6 2006-04-20 14:25 S13xdm -> ../xdm (...)
- Vielleicht zeigt "/var/log/messages" mehr?!
linux:/home/limbeck # cat /var/log/messages | tail Apr 21 16:47:31 UT-Bridge-Weipert syslog-ng[7159]: Changing permissions on special file /dev/tty10 Apr 21 16:47:31 UT-Bridge-Weipert kernel: mtrr: 0xf0000000,0x2000000 overlaps existing 0xf0000000,0x1000000 Apr 21 16:47:38 UT-Bridge-Weipert init: Switching to runlevel: 3 Apr 21 16:48:47 UT-Bridge-Weipert init: Switching to runlevel: 5 Apr 21 16:48:47 UT-Bridge-Weipert kernel: Kernel logging (proc) stopped. Apr 21 16:48:47 UT-Bridge-Weipert kernel: Kernel log daemon terminating. Apr 21 16:48:49 UT-Bridge-Weipert syslog-ng[7159]: syslog-ng version 1.6.8 going down Apr 21 16:48:49 UT-Bridge-Weipert syslog-ng[7399]: syslog-ng version 1.6.8 starting Apr 21 16:48:54 UT-Bridge-Weipert kernel: klogd 1.4.1, log source = /proc/kmsg started. Apr 21 16:49:12 UT-Bridge-Weipert init: Switching to runlevel: 3
- Was passiert wenn Du von Beginn an im Runlevel 3 startest? läuft der Dämon da auch?
nein. Ein "init 3" startet den X-Sever, ein "init 3" oder "init 2" bleibt ohne Wirkung auf den X-Sever. Nur in Runlevel 1 schaltet er sich ab.
- Wie sieht es aus, wenn Du in Runlevel 1 gehst und (da sollte der Dämon auf jeden Fall gestoppt sein) dann in Runlevel 3 umschaltest?
Zurück von Runlevel 1 nach Runlevel 3 bleibt der X-Server unten. Ein "init 5" startet den X-Server wieder.
Gruß Thomas