virtuelle Terminals fehlen
Hallo zusammen, ich habe einiges an meiner SuSE 9.1 geändert, deshalb kann ich auch nicht sagen ab wann ir die virtuellen Terminals fehlen. Auf jeden Fall fehlen Sie jetzt. auf ALT-F1 habe ich die Bootmeldungen auf ALT-F7 liegt die grafische Oberfläche auf ALT- F10 liegt die warn.log a) kann man sie auf der Kommandozeile "nachstarten"? wenn ja wie? b) in den logs finde ich nichts, warum sie nicht beim booten mitgestartet werden Wo soll ich anfangen zu suchen? Danke und Gruß Johannes
Am 28.11.2004 um 17:25 Uhr schrieb Johannes Kapune:
ich habe einiges an meiner SuSE 9.1 geändert, deshalb kann ich auch nicht sagen ab wann ir die virtuellen Terminals fehlen. Auf jeden Fall fehlen Sie jetzt.
auf ALT-F1 habe ich die Bootmeldungen auf ALT-F7 liegt die grafische Oberfläche auf ALT- F10 liegt die warn.log
a) kann man sie auf der Kommandozeile "nachstarten"? wenn ja wie? b) in den logs finde ich nichts, warum sie nicht beim booten mitgestartet werden
Wo soll ich anfangen zu suchen?
Hallo Johannes, ich bin mir nicht ganz sicher, was du meinst. In der Datei /etc/inittab steht folgendes: # getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 Damit sollten die Terminals eigentlich vorhanden sein. Vielleicht findest du noch heraus, was du genau geändert hast? Viel Erfolg! cu PeeGee
Hallo Peter,
----- Original Message -----
From: "Peter Geerds"
Am 28.11.2004 um 17:25 Uhr schrieb Johannes Kapune:
ich habe einiges an meiner SuSE 9.1 geändert, deshalb kann ich auch nicht sagen ab wann ir die virtuellen Terminals fehlen. Auf jeden Fall fehlen Sie jetzt.
auf ALT-F1 habe ich die Bootmeldungen auf ALT-F7 liegt die grafische Oberfläche auf ALT- F10 liegt die warn.log
a) kann man sie auf der Kommandozeile "nachstarten"? wenn ja wie? b) in den logs finde ich nichts, warum sie nicht beim booten mitgestartet werden
Wo soll ich anfangen zu suchen?
Hallo Johannes, ich bin mir nicht ganz sicher, was du meinst. In der Datei /etc/inittab steht folgendes:
# getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
Damit sollten die Terminals eigentlich vorhanden sein. Vielleicht findest du noch heraus, was du genau geändert hast?
leider steht genau das in der /etc/inittab Nach Handbuchlesen hatte ich dies schon kontrolliert. Leider muß es noch an anderer Stelle klemmen, nur wo? Nach welcher Änderung kann ich leider nicht mehr nachvollziehen, da ich so gut wie immer über ssh im Server war. Aufgefallen ist es halt als ich direkt am Server ein paar kleine Dinge testen wollte. Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden. Wo wird terminal 10 gestartet, welches die warn.log ausgibt?
Viel Erfolg!
Danke und Gruß Johannes
Am 28.11.2004 um 20:04 Uhr schrieb Johannes Kapune:
a) kann man sie auf der Kommandozeile "nachstarten"? wenn ja wie?
http://pronix.linuxdelta.de/C/Linuxprogrammierung/Linuxsystemprogrammieren_C... beschreibt ein Beispielprogramm, um eine konsole zustarten.
leider steht genau das in der /etc/inittab Nach Handbuchlesen hatte ich dies schon kontrolliert. Leider muß es noch an anderer Stelle klemmen, nur wo?
Schaue dir doch auch einmal die Rechte für /dev/tty1 bis /dev/tty8 an (chmod 777). Existieren die devices? Ebenso /dev/vcs* ? (Ich glaube, /dev/pts/* gehört auch noch dazu?). cu PeeGee
Schaue dir doch auch einmal die Rechte für /dev/tty1 bis /dev/tty8 an (chmod 777). Existieren die devices? Ebenso /dev/vcs* ? (Ich glaube, /dev/pts/* gehört auch noch dazu?).
cu PeeGee
Die Rechte hab ich von 620 au 777 geändert. Trotz Neustart keine Änderung cu Johannes
Hallo Johannes, hallo Leute, Am Sonntag, 28. November 2004 20:04 schrieb Johannes Kapune:
From: "Peter Geerds"
Am 28.11.2004 um 17:25 Uhr schrieb Johannes Kapune: [Keine Loginmöglichkeit auf den ttys]
[/etc/inittab]
1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
leider steht genau das in der /etc/inittab
Guck mal in /var/log/messages nach, ob Da was interessantes drinsteht. Ein interessanter Kandidat wäre z. B. die Meldung "respawn too fast".
Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden.
Vermutlich mit /sbin/mingetty tty2 Getestet habe ich das allerdings nicht.
Wo wird terminal 10 gestartet, welches die warn.log ausgibt?
Guck mal in /etc/syslog.conf ;-) Gruß Christian Boltz -- Comic Sans Man möge mir verzeihen, aber ich möchte mich im Rahmen dieses Essays in erster Linie mit Schriften auseinandersetzen, nicht mit Krankheiten. [http://praegnanz.de/essays/136/typo-im-web-html-schriften-unter-der-lupe]
Hallo Christian,
----- Original Message -----
From: "Christian Boltz"
Hallo Johannes, hallo Leute,
Am Sonntag, 28. November 2004 20:04 schrieb Johannes Kapune:
From: "Peter Geerds"
Am 28.11.2004 um 17:25 Uhr schrieb Johannes Kapune: [Keine Loginmöglichkeit auf den ttys]
[/etc/inittab]
1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
leider steht genau das in der /etc/inittab
Guck mal in /var/log/messages nach, ob Da was interessantes drinsteht. Ein interessanter Kandidat wäre z. B. die Meldung "respawn too fast".
Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden.
Vermutlich mit /sbin/mingetty tty2 Getestet habe ich das allerdings nicht.
Ergebnis ist: mingetty[...] /dev/tty2: cannot get controlling tty: Operation permitted als root fehlen mir Rechte? - meint etwas anderes, oder? ich denke mal: ich muß es anders aufrufen, nur wie?
Wo wird terminal 10 gestartet, welches die warn.log ausgibt?
Guck mal in /etc/syslog.conf ;-)
Danke , (ja ich habe nicht nachgedacht!)
Gruß
Christian Boltz
Danke und Gruß Johannes
Hallo Johannes, hallo Leute, Am Freitag, 3. Dezember 2004 17:00 schrieb Johannes Kapune:
From: "Christian Boltz"
Ich hab mal den "original message"-Block auf ein vernünftiges Maß zusammengekürzt ;-)
Guck mal in /var/log/messages nach, ob Da was interessantes drinsteht. Ein interessanter Kandidat wäre z. B. die Meldung "respawn too fast".
Und?
Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden.
Vermutlich mit /sbin/mingetty tty2 Getestet habe ich das allerdings nicht.
Ergebnis ist: mingetty[...] /dev/tty2: cannot get controlling tty: Operation permitted als root fehlen mir Rechte? - meint etwas anderes, oder?
Vielleicht läuft ja was anderes auf den Terminals (auch wenn es mich wundern würde). Guck mal nach: ps aux | grep tty
ich denke mal: ich muß es anders aufrufen, nur wie?
Gute Frage. Ich habe eben auch mal kurz getestet, bin aber durch direkten Aufruf nicht zu einem Ergebnis gekommen (außer dass ich dadurch knallhart ausgeloggt wurde).
Wo wird terminal 10 gestartet, welches die warn.log ausgibt?
Guck mal in /etc/syslog.conf ;-)
Danke , (ja ich habe nicht nachgedacht!)
Nicht so schlimm. Ich hab auch erst man etwas überlegen müssen, nachdem davon nix in der inittab steht... Gruß Christian Boltz -- Meine sigg macht Urlaub bis Donnerstag. [WoKo in dag°]
Hallo Christian,
Hallo Johannes, hallo Leute,
From: "Christian Boltz"
Guck mal in /var/log/messages nach, ob Da was interessantes drinsteht. Ein interessanter Kandidat wäre z. B. die Meldung "respawn too fast".
Und? entschuldige, ich hatte nichts gefunden und vergessen es weiterzugeben.
Nach was kann ich sonst noch suchen? Ich kann da nichts verdächtiges entdecken. es gibt nur einen Meldungstyp mit tty: kernel: isdn_tty: call from 177.... -> 90.... ignored
Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden.
Vermutlich mit /sbin/mingetty tty2 Getestet habe ich das allerdings nicht.
Ergebnis ist: mingetty[...] /dev/tty2: cannot get controlling tty: Operation permitted als root fehlen mir Rechte? - meint etwas anderes, oder?
Vielleicht läuft ja was anderes auf den Terminals (auch wenn es mich wundern würde). Guck mal nach: ps aux | grep tty
root 1084 0.0 0.2 9728 560 tty1 Ss+ Nov29 0:00 /sbin/blogd /dev/ tty1 root 4201 0.0 0.2 1728 636 pts/2 S+ 17:52 0:00 grep tty bei: ps -A | grep tty kommt: 1084 tty1 00:00:00 blogd leider sagt mir beides nur das nur tty1 da ist (stimmt ja auch), aber ich hätt' halt gerne ein paar mehr ? warum taucht tty10 nicht auf?
ich denke mal: ich muß es anders aufrufen, nur wie?
Gute Frage. Ich habe eben auch mal kurz getestet, bin aber durch direkten Aufruf nicht zu einem Ergebnis gekommen (außer dass ich dadurch knallhart ausgeloggt wurde).
Wo wird terminal 10 gestartet, welches die warn.log ausgibt?
Guck mal in /etc/syslog.conf ;-)
Danke , (ja ich habe nicht nachgedacht!)
Nicht so schlimm. Ich hab auch erst man etwas überlegen müssen, nachdem davon nix in der inittab steht...
Gruß
Christian Boltz Gruß Johannes
Am 04.12.2004 um 17:03 Uhr schrieb Johannes Kapune:
entdecken. es gibt nur einen Meldungstyp mit tty: kernel: isdn_tty: call from 177.... -> 90.... ignored
Wie schon gefragt: kann man die Terminals auch nachstarten? Wie? Dazu habe ich leider nichts gefunden.
root 1084 0.0 0.2 9728 560 tty1 Ss+ Nov29 0:00 /sbin/blogd /dev/ tty1
Leider kann ich dir so auch nicht helfen. Du könntest noch zwei Sachen machen: $> grep tty /etc/init.d/* das müssten so ca. 40 Fundstellen sein (in boot, rc, kbd u. a.). Versuche, ein login auf tty11 zu starten und poste alle Meldungen: $> agetty -l /bin/login -H localhost -n 38400 tty11 vt100 (am besten, du schaust noch mal in `man agetty` nach). Theoretisch müsstest du auf alt-f11 ein login sehen. cu PeeGee
Hallo Peter, hallo alle Anderen,
Leider kann ich dir so auch nicht helfen. Du könntest noch zwei Sachen machen: $> grep tty /etc/init.d/* das müssten so ca. 40 Fundstellen sein (in boot, rc, kbd u. a.).
/etc/init.d/apache2: if test -t 1 && stty -a 2>/dev/null | grep -q -- -echo\ ; then /etc/init.d/apache2: stty echo 2>/dev/null /etc/init.d/boot:set -- $(stty size < $CONSOLE) /etc/init.d/boot:otty=$(stty -g) /etc/init.d/boot: stty -nl ixon ignbrk -brkint /etc/init.d/boot: stty -nl -ixon ignbrk -brkint /etc/init.d/boot: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/boot: REDIRECT=/dev/tty /etc/init.d/boot:stty $otty /etc/init.d/boot.crypto: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/boot.crypto: REDIRECT=/dev/tty /etc/init.d/boot.crypto: otty=$(stty -g) /etc/init.d/boot.crypto: stty $otty < $REDIRECT /etc/init.d/boot.crypto: stty -nl -ixon ignbrk -brkint < $REDIRECT /etc/init.d/boot.crypto:restore () { stty $otty < $REDIRECT; } /etc/init.d/boot.klog: if test "`/sbin/showconsole`" = /dev/tty1 ; then /etc/init.d/boot.klog: ( test -c /dev/tty10 && > /dev/tty10 ) > /dev/null 2>&1 \ /etc/init.d/boot.localfs: [ -x /sbin/showconsole ] && [ "`/sbin/showconsole`" = "/dev/tty1" ] && FSCK_PROGRESSBAR="-C" /etc/init.d/boot.localnet: chown root:tty /var/run/utmp /etc/init.d/boot.rootfsck: [ -x /sbin/showconsole ] && [ "`/sbin/showconsole`" = "/dev/tty1" ] && FSCK_PROGRESSBAR="-C" /etc/init.d/isdn: grep -q ttyI /proc/devices || rc_failed 3 /etc/init.d/kbd: (test -c /dev/tty1 && > /dev/tty1 ) > /dev/null 2>&1 || exit 0 /etc/init.d/kbd: KBD_TTY="tty[1-9]*" /etc/init.d/kbd: for tty in $KBD_TTY; do /etc/init.d/kbd: ( test -c $tty && > $tty ) &> /dev/null && setleds -D $LEDOPT < $tty /etc/init.d/kbd: KBD_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty20 tty21 tty22 tty23 tty24" /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} /etc/init.d/rc:set -- $(stty size < $CONSOLE) /etc/init.d/rc:# to tty1 if the system console is bound on VGA (tty0). /etc/init.d/rc: case "$REDIRECT" in /dev/tty[1-9]*) /etc/init.d/rc: REDIRECT=/dev/tty1 /etc/init.d/rc: set -- $(stty size < $REDIRECT) /etc/init.d/rc:otty=$(stty -g) /etc/init.d/rc: stty -nl ixon ignbrk -brkint /etc/init.d/rc: stty -nl -ixon ignbrk -brkint /etc/init.d/rc: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/rc: REDIRECT=/dev/tty /etc/init.d/rc:stty $otty /etc/init.d/setserial:# one that sets up /dev/ttyS3, and the last time, which causes a report to be /etc/init.d/setserial:# going to use (/dev/ttyS0 /dev/cua1 /dev/cua2 for example) that it probably /etc/init.d/setserial: PORTS=`(for p in /dev/ttyS*; do isserial <$p && echo $p; done) 2>/dev/null` /etc/init.d/setserial: # to the /dev/ttyS3 line below. (It's not added by default because it will /etc/init.d/setserial: # run_setserial /dev/ttyS0 ${AUTO_IRQ} skip_test autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS1 ${AUTO_IRQ} skip_test autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS2 ${AUTO_IRQ} skip_test autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS3 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS4 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS5 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS6 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS7 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS8 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS9 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS10 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS11 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS12 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS13 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS16 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS17 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS18 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS19 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS16 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS17 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS18 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS19 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS16 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS17 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS18 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS19 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS20 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS21 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS22 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS23 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS16 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS17 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS18 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS19 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS20 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS21 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS22 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS23 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS24 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS25 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS26 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS27 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS28 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS29 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS30 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS31 ${AUTO_IRQ} autoconfig /etc/init.d/setserial: # run_setserial /dev/ttyS0 uart 16550A port 0x3F8 irq 4 /etc/init.d/setserial: # run_setserial /dev/ttyS1 uart 16550A port 0x2F8 irq 3 /etc/init.d/setserial: # run_setserial /dev/ttyS2 uart 16450 port 0x3E8 irq 4 /etc/init.d/setserial: # run_setserial /dev/ttyS3 uart 16450 port 0x2E8 irq 3 /etc/init.d/setserial: # run_setserial /dev/ttyS4 uart 16450 port 0x2A0 irq 7 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS5 uart 16450 port 0x2A8 irq 7 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS6 uart 16450 port 0x2B0 irq 7 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS7 uart 16450 port 0x2B8 irq 7 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS8 uart 16450 port 0x2A0 irq 5 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS9 uart 16450 port 0x2A8 irq 5 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS10 uart 16450 port 0x2B0 irq 5 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS11 uart 16450 port 0x2B8 irq 5 fourport /etc/init.d/setserial: # run_setserial /dev/ttyS12 uart 16450 port 0x330 irq 4 /etc/init.d/setserial: # run_setserial /dev/ttyS13 uart 16450 port 0x338 irq 4 /etc/init.d/setserial: # run_setserial /dev/ttyS14 uart XXXXX port XXXX irq X /etc/init.d/setserial: # run_setserial /dev/ttyS15 uart XXXXX port XXXX irq X /etc/init.d/setserial: # run_setserial /dev/ttyS16 uart 16550A port 0x100 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS17 uart 16550A port 0x108 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS18 uart 16550A port 0x110 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS19 uart 16550A port 0x118 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS20 uart 16550A port 0x120 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS21 uart 16550A port 0x128 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS22 uart 16550A port 0x130 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS23 uart 16550A port 0x138 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS24 uart 16550A port 0x140 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS25 uart 16550A port 0x148 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS26 uart 16550A port 0x150 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS27 uart 16550A port 0x158 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS28 uart 16550A port 0x160 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS29 uart 16550A port 0x168 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS30 uart 16550A port 0x170 irq 12 /etc/init.d/setserial: # run_setserial /dev/ttyS31 uart 16550A port 0x178 irq 12 /etc/init.d/setserial: PORTS=`(for p in /dev/ttyS*; do isserial <$p && echo $p; done) 2>/dev/null` /etc/init.d/syslog: ln -sf tty0 /dev/:$n /etc/init.d/syslog: chown root:tty /dev/xconsole /etc/init.d/xdm: chown root:tty /dev/xconsole /dev/tty0 /etc/init.d/xdm: chmod 622 /dev/xconsole /dev/tty0Was könnte ich daraus ersehen wenn ich die notwendigen Kenntnisse hätte? OK die seriellen Schnittstelen sind klar, die wichtigen Ausgaben sind die unter kbd? Oder biegt mit rc die tty's weg, weil tty1 auf VGA?
Versuche, ein login auf tty11 zu starten und poste alle Meldungen:
$> agetty -l /bin/login -H localhost -n 38400 tty11 vt100
(am besten, du schaust noch mal in `man agetty` nach). Theoretisch müsstest du auf alt-f11 ein login sehen.
also ein login ist da, aber: beim Versuch mich als root anzumelden kam zuerst die Aufforderung das Passwort einzugeben, danach das LDAP-Passwort einzugeben, was zwei mal nicht funktionierte (dieses Problem mit dem LDAP-Server kenne ich leider schon ohne es bisher lösen zu können). Liegt hier etwas im Argen? An Meldungen tauchen nicht besonders viele auf: in der warn.log login[8863]: pam_ldap: ldap_starttls_s: Connect error login[8863]: pam_ldap: ldap_result Can't contact LDAP server sshd[8888]: pam_ldap: ldap_starttls_s: Connect error sshd[8888]: pam_ldap: ldap_result Can't contact LDAP server danach kommen ein paar (4) Meldungen der FW2 über PROTO= UDP SPT=1029 DPT=53 (ich habe für einige weitere Probleme meinen BIND9 in Verdacht? Ist aber nur eine vage Vermutung) in den messages steht nichts (oder ich bin wieder zu blind) Ich mach mal zusätzlich eine neue Frage auf mit: wie bekomme ich LDAP beim login bzw. password wegkonfiguriert? Gruß Johannes
Am 05.12.2004 um 11:11 Uhr schrieb Johannes Kapune: (Den apache benutze ich nicht, daher kein Vergleich)
/etc/init.d/boot:set -- $(stty size < $CONSOLE) /etc/init.d/boot:otty=$(stty -g) /etc/init.d/boot: stty -nl ixon ignbrk -brkint /etc/init.d/boot: stty -nl -ixon ignbrk -brkint /etc/init.d/boot: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/boot: REDIRECT=/dev/tty /etc/init.d/boot:stty $otty
OK
/etc/init.d/boot.crypto: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/boot.crypto: REDIRECT=/dev/tty /etc/init.d/boot.crypto: otty=$(stty -g) /etc/init.d/boot.crypto: stty $otty < $REDIRECT /etc/init.d/boot.crypto: stty -nl -ixon ignbrk -brkint < $REDIRECT /etc/init.d/boot.crypto:restore () { stty $otty < $REDIRECT; } OK /etc/init.d/boot.klog: if test "`/sbin/showconsole`" = /dev/tty1 ; then /etc/init.d/boot.klog: ( test -c /dev/tty10 && > /dev/tty10 ) > /dev/null 2>&1 \ OK /etc/init.d/boot.localfs: [ -x /sbin/showconsole ] && [ "`/sbin/showconsole`" = "/dev/tty1" ] && FSCK_PROGRESSBAR="-C" OK /etc/init.d/boot.localnet: chown root:tty /var/run/utmp OK /etc/init.d/boot.rootfsck: [ -x /sbin/showconsole ] && [ "`/sbin/showconsole`" = "/dev/tty1" ] && FSCK_PROGRESSBAR="-C" OK /etc/init.d/isdn: grep -q ttyI /proc/devices || rc_failed 3 OK /etc/init.d/kbd: (test -c /dev/tty1 && > /dev/tty1 ) > /dev/null 2>&1 || exit 0 /etc/init.d/kbd: KBD_TTY="tty[1-9]*" /etc/init.d/kbd: for tty in $KBD_TTY; do /etc/init.d/kbd: ( test -c $tty && > $tty ) &> /dev/null && setleds -D $LEDOPT < $tty /etc/init.d/kbd: KBD_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty20 tty21 tty22 tty23 tty24" /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} /etc/init.d/kbd: test "X$NON_SUSE_KERNEL" = "Xyes" && chvt ${i#tty} OK /etc/init.d/rc:set -- $(stty size < $CONSOLE) /etc/init.d/rc:# to tty1 if the system console is bound on VGA (tty0). /etc/init.d/rc: case "$REDIRECT" in /dev/tty[1-9]*) /etc/init.d/rc: REDIRECT=/dev/tty1 /etc/init.d/rc: set -- $(stty size < $REDIRECT) /etc/init.d/rc:otty=$(stty -g) /etc/init.d/rc: stty -nl ixon ignbrk -brkint /etc/init.d/rc: stty -nl -ixon ignbrk -brkint /etc/init.d/rc: if (echo -n > /dev/tty) 2>/dev/null ; then /etc/init.d/rc: REDIRECT=/dev/tty /etc/init.d/rc:stty $otty OK /etc/init.d/setserial: Benutze ich nicht. /etc/init.d/syslog: ln -sf tty0 /dev/:$n /etc/init.d/syslog: chown root:tty /dev/xconsole OK /etc/init.d/xdm: chown root:tty /dev/xconsole /dev/tty0 /etc/init.d/xdm: chmod 622 /dev/xconsole /dev/tty0
also ein login ist da, aber: [Probleme mit ldap]
Sorry - bei ldap kann ich dir auch nicht helfen. Alles andere scheint in Ordnung zu sein. Kannst du ldap einfach mal weglassen und schauen, wie der Rechner startet? Oder startest mit dem ldap-Problem einen neuen thread und wir schauen dann weiter. cu PeeGee
participants (4)
-
Christian Boltz
-
Johannes Kapune
-
Peter Geerds
-
Peter Wiersig