Server bootet nicht ?

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Server bootet nicht ?

Post by powie »

Ich habe hier einen Freund der einen Rootserver bei Alturo hat.
Diese Maschine lief mehrere Monate problemlos, hat aber nun doch einmal einen Reboot benötigt.
Nach dem Reboot startet die Maschine nicht mehr. Im Recovery System gestartet haben wir in den logs Hinweise auf Probleme mit der Festplatte gefunden. Alturo hat sich das selbst angeschaut und ist der Meinung die HDD sei OK.
Im Recovery System gestartet: habe ich verschiedenste Sachen überprüft, werde aber nicht schlüssig daraus.
- fsck lief durch (45 Minuten) und ist jetzt ok, bootet trotzdem nicht
- In /boot sieht alles ordentlich aus.
- Der original Kernel ist vorhanden
- Grub scheint korrekt konfiguriert
- /etc/modules.conf ist ok.
- in /boot liegen verschiedene kernel von alturo, diese hab ich durchprobiert, aber kein erfolg.

ich gehe mittlerweile davon aus das da vielleicht am mbr etwas nicht ok ist, denn da absolut nix in die /var/log/boot.msg geschrieben wird denke ich das der garnicht zum booten kommt.

Ideen ?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Server bootet nicht ?

Post by Joe User »

Code: Select all

grub --no-floppy
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
reboot
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

Joe User wrote:

Code: Select all

grub --no-floppy
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
reboot
habe ich bereits getan. das hilft auch nicht
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Server bootet nicht ?

Post by Joe User »

Code: Select all

ls -alR /boot
cat /boot/grub/menu.lst
cat /boot/grub/device.map
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

das sieht so aus:

Code: Select all

total 10108
drwxr-xr-x    4 root     root         4096 Oct 30 18:34 .
drwxr-xr-x   19 root     root         4096 Oct 30 17:26 ..
-rw-r--r--    1 root     root       134320 Jun 28 17:00 Kerntypes-2.4.21-231-default
-rw-r--r--    1 root     root       468482 Dec  1  2002 System.map-2.4.20
-rw-r--r--    1 root     root       640913 Jun 28 17:05 System.map-2.4.21-231-default
-rw-r--r--    1 root     root       503663 Jul  4  2003 System.map-2.4.21-lufs-030704
-rw-r--r--    1 root     root       558736 Jan  9  2004 System.map-2.4.24-xfs-040109
-rw-r--r--    1 root     root       558943 Feb 18  2004 System.map-2.4.25-040218
lrwxrwxrwx    1 root     root            1 Mar 12  2004 boot -> .
-rw-r--r--    1 root     root        18690 Dec  1  2002 config-2.4.20
-rw-r--r--    1 root     root        52328 Jun 28 16:59 config-2.4.21-231-default
-rw-r--r--    1 root     root        19279 Jul  4  2003 config-2.4.21-lufs-030704
-rw-r--r--    1 root     root        20433 Jan  9  2004 config-2.4.24-xfs-040109
-rw-r--r--    1 root     root        20512 Feb 18  2004 config-2.4.25-040218
drwxr-xr-x    2 root     root         4096 Oct 31 09:27 grub
lrwxrwxrwx    1 root     root           25 Jul 29 15:54 initrd -> initrd-2.4.21-231-default
-rw-r--r--    1 root     root       386965 Jul 29 15:54 initrd-2.4.21-231-default
lrwxrwxrwx    1 root     root            6 May 30 21:10 initrd.shipped -> initrd
drwxr-xr-x    2 root     root        49152 Mar 12  2004 lost+found
-rw-r--r--    1 root     root        83147 Oct 19 18:39 message
-rw-r--r--    1 root     root      1409704 Jun 28 17:45 vmlinux-2.4.21-231-default.gz
lrwxrwxrwx    1 root     root           26 Oct 30 18:34 vmlinuz -> vmlinuz-2.4.21-231-default
-rw-r--r--    1 root     root       880402 Dec  1  2002 vmlinuz-2.4.20
-rw-r--r--    1 root     root      1183264 Jun 28 17:05 vmlinuz-2.4.21-231-default
-rw-r--r--    1 root     root       955995 Jul  4  2003 vmlinuz-2.4.21-lufs-030704
-rw-r--r--    1 root     root      1147929 Jan  9  2004 vmlinuz-2.4.24-xfs-040109
-rw-r--r--    1 root     root      1148535 Feb 18  2004 vmlinuz-2.4.25-040218
lrwxrwxrwx    1 root     root           27 Oct 28 09:52 vmlinuz.ald -> /boot/vmlinuz-2.4.25-040218
lrwxrwxrwx    1 root     root           26 Mar 12  2004 vmlinuz.old -> vmlinuz-2.4.21-lufs-030704
lrwxrwxrwx    1 root     root            7 May 30 21:10 vmlinuz.shipped -> vmlinuz

total 324
drwxr-xr-x    2 root     root         4096 Oct 31 09:27 .
drwxr-xr-x    4 root     root         4096 Oct 30 18:34 ..
-rw-r--r--    1 root     root           19 Mar 12  2004 device.map
-rw-r--r--    1 root     root         8928 Mar 28  2003 e2fs_stage1_5
-rw-r--r--    1 root     root         8528 Mar 28  2003 fat_stage1_5
-rw-r--r--    1 root     root         7904 Mar 28  2003 ffs_stage1_5
-rw-r--r--    1 root     root         9728 Mar 28  2003 jfs_stage1_5
-rw-r--r--    1 root     root          592 Mar 12  2004 menu.lst
-rw-r--r--    1 root     root         8064 Mar 28  2003 minix_stage1_5
-rw-r--r--    1 root     root        10880 Mar 28  2003 reiserfs_stage1_5
-rw-r--r--    1 root     root          512 Oct 14  2002 stage1
-rw-r--r--    1 root     root       109284 May 30 21:09 stage2
-rw-r--r--    1 root     root       105124 Oct 30 14:49 stage2.old
-rw-r--r--    1 root     root         7552 Mar 28  2003 vstafs_stage1_5
-rw-r--r--    1 root     root        10504 Mar 28  2003 xfs_stage1_5

die menu.lst :

Code: Select all

serial --unit 0 --speed 57600
terminal serial console --timeout=5

default 0
timeout 5

title linux with serial console
   kernel (hd0,0)/vmlinuz root=/dev/hda3 console=tty1 console=ttyS0,57600

title linux
   kernel (hd0,0)/vmlinuz root=/dev/hda3 console=ttyS0,57600 console=tty1

title linux.old with serial console
   kernel (hd0,0)/vmlinuz.old root=/dev/hda3 console=tty1 console=ttyS0,57600

title linux.old
   kernel (hd0,0)/vmlinuz.old root=/dev/hda3 console=ttyS0,57600 console=tty1

title linux_suse
   kernel (hd0,0)/vmlinuz.shipped root=/dev/hda3
   initrd (hd0,0)/initrd.shipped
und die device.map

Code: Select all

(hd0)     /dev/hda
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Server bootet nicht ?

Post by Joe User »

Versuche mal Folgendes (Backup anlegen!):

1.) Aktuellen Kernel besorgen (Updateserver)

2.) Alte Kernel entsorgen:

Code: Select all

rm /boot/{K,S,c,i,v}
rm -rf /lib/modules/*
3.) Aktuellen Kernel installieren

4.) Grub rekonfigurieren:

Code: Select all

cat > /boot/grub/menu.lst << "EOF"
timeout 10
default 0
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal serial

title=linux
  root (hd0,0)
  kernel /vmlinuz root=/dev/hda3 console=tty0 console=ttyS0,57600

EOF
5.) Reboot

HTH
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

danke .. auch das bringt die Büchse nicht wieder zum booten.
Ich denke es ist jetzt daran das dort ein Techniker nachsieht was da wirklich los ist. Irgendwann ist es halt ohne Bildschirm doch etwas schlecht zu handeln.
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Server bootet nicht ?

Post by captaincrunch »

Schuss ins Blaue: /-Filesystem vollgelaufen?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

nein, es sind gerade mal 6GB belegt...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Server bootet nicht ?

Post by Joe User »

Hmm, HDD und MBR sind OK - Hat die Kiste eine serielle Console? Falls nicht, dann nimm mal die entsprechenden Optionen aus der menu.lst und versuche danach nochmal einen Reboot. Mehr fällt mir momentan leider nicht ein...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

Also auch die serielle Konsole spielt da keine Rolle, das hatte ich selbst schon probiert.
Vielleicht hat ja ein Techniker vom HDD Test eine Diskette im Laufwerk vergessen :))
[/u]
powie
Posts: 80
Joined: 2002-09-25 16:41
Location: Singen
 

Re: Server bootet nicht ?

Post by powie »

alsoooooo neue Info: Bei alturo war jemand am Server (dazu hat man seit Freitag bis heut 4 Tage gebraucht) und nachgesehen.

Wie sollt es anders sein: Man empfiehlt eine Neuinstallation...

Angeblich findet er beim Systemstart immer Fehler im Dateisystem und bleibt somit bei STRG+D stehen. e2fsck wurde schon durchgeführt, auch jetzt nochmal mit -f. Trotzdem will das System nicht booten...

Irgendwie trau ich den Alturo(1&1) Technikern nicht über den Weg.

Ist das Filesystem total kaputt?
Wieso hab ich im Recovery Mode keine Probleme mit der Platte, wir haben alle Daten runter gesichert?
Gints da noch einen anderen Weg?