LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2011, 11:29 AM   #1
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Rep: Reputation: 0
server not restarting - grub error 15


Hello, i have a really big problem with my server,
it was rebooted to get a special upgrade and it never turned on again.
the support told me it's giving grub error 15, file not found.
my server is a debian lenny 5 32bit one in raid 1.

my menu.lst is:
http://pastebin.com/a8pfJfud

and fdisk -l gives:

Quote:
root@grml:/# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x49cc297a

Device Boot Start End Blocks Id System
/dev/sda1 1 132 1060258+ 82 Linux swap / Solaris
/dev/sda2 * 133 121601 975699742+ fd Linux raid autodetect

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1e79affb

Device Boot Start End Blocks Id System
/dev/sdb1 1 132 1060258+ 82 Linux swap / Solaris
/dev/sdb2 * 133 121601 975699742+ fd Linux raid autodetect

Disk /dev/md0: 999.1 GB, 999116439552 bytes
2 heads, 4 sectors/track, 243924912 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table
do you guys have any ideas how to fix this?

thank you very much!
Nikooo777

Last edited by nikooo777; 05-24-2011 at 11:32 AM.
 
Old 05-24-2011, 01:06 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I guess the updated system doesn't support raid.
My suggestion is to bootup a previous system (you have a few to choose from, pick the latest that worked).
 
Old 05-24-2011, 01:30 PM   #3
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
hello, actually the upgrade was simply switching from 100Mbit to 1Gbit.

so this cannot be the problem i think.

fun fact is that i can do everything like if it's normal in rescue mode, i just mount the disk and work as in normal mode, i have access too all and could even startup my webserver.
i really have no clue what could cause this error and how i can fix it. i think changing the kernel to an old one (older than 1 year) is not a good idea.
 
Old 05-24-2011, 01:45 PM   #4
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Ok, so you can boot your system - you said in first post "it was rebooted to get a special upgrade and it never turned on again" so I thought that was the problem.
You are not very precise as to details, so here is next guess: The problem is that the root-filesystem is not mounted.
You can boot into rescue mode and then mount your partitions ("i just mount the disk.." - no you don't, you mount partitions it is important to understand the difference!)
My guess now is that your newest initrd.img does not include driver for raid, that's why your raid-partition /dev/md0 can't be found.
My suggestion is still go back to previous version - you have
kernel 2.6.34-myloc as the newest but then kernel 2.6.33, kernel 2.6.31 ... - they can't be a year old!
 
Old 05-24-2011, 01:58 PM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Hmmm I'm thinking now...
There's something fishy here, don't quite know what's going on??
"the upgrade was simply switching from 100Mbit to 1Gbit." You upgraded only driver for network card?? That doesn't even require a reboot! And it definitely shouldn't ruin anything concerning your booting!

Please, tell me: exactly what were you doing just before system broke, is your kernel upgraded or not, which boot-option in Grub did you use before - when it worked?
Also please post output of
#df -h
#cat /etc/fstab
when you have booted up in resque mode - please give output of those commands both before and after having mounted your partitions!
What kind of raid do you use - according to your first post you have software raid handled by your system but then again, that could not work with Grub? I believe you must have a correct initrd.img then so actually we're back to first suggestion again...?
Also what hardware in this server?
 
Old 05-24-2011, 02:01 PM   #6
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
sorry for my imprecisions.
i am not very good at linux,
actually yes, you are right, i can mount the partitions via rescue mode and access the files in the disk.
the kernel is a custom kernel that my host installed and i'd like not to touch it, at the end it always worked without any major problems.
and yes those other kernels are quite old. this one was configured to run with 6GB of ram in 32bit environment and some other things related to my host's hardware.

any other ideas maybe?

E: here are the outputs with partitions mounted if you really need the data with partitions unmounted too please confirm because i'd have to shut down the most important processes i decided to keep up in recovery mode:
Quote:
root@grml ~ # df -h
Filesystem Size Used Avail Use% Mounted on
none 3,0G 112K 3,0G 1% /dev
rootfs 3,0G 33M 2,9G 2% /
tmpfs 3,0G 33M 2,9G 2% /live/cow
tmpfs 3,0G 0 3,0G 0% /lib/init/rw
tmpfs 3,0G 4,0K 3,0G 1% /dev/shm
/dev/md0 916G 203G 668G 24% /mnt
and
Quote:
root@grml ~ # cat /etc/fstab
# /etc/fstab - static file system information
#
# This file was deployed via grml-live's
# /etc/grml/fai/config/scripts/GRMLBASE/30-fstab script, using
# /etc/grml/fai/config/files/etc/fstab/GRMLBASE
#
# <filesystem> <mountpoint> <type> <options> <dump > <pass>
proc /proc proc rw,nosuid,nodev,noexec 0 0
none /proc/bus/usb usbfs defaults,noauto 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts noauto,mode=0622 0 0
/dev/fd0 /mnt/floppy auto user,noauto,exec 0 0
/dev/external /mnt/external auto user,noauto,exec,rw,uid=grml,gid=grml 0 0
/dev/external1 /mnt/external1 auto user,noauto,exec,rw,uid=grml,gid=grml 0 0
/dev/cdrom /mnt/cdrom auto user,noauto,exec,ro 0 0
/dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0
# some other examples:
# /dev/hda1 /Grml ext3 dev,suid,user,noauto 0 2
# //1.2.3.4/pub /smb/pub smbfs defaults,user,noauto,uid=grml,gid=grml 0 0
# linux:/pub /beer nfs defaults 0 0
# tmpfs /tmp tmpfs size=300M 0 0
# none /proc/bus/usb usbfs defaults,nodev,noexec,nosuid,noauto,devgi d=1001,devmode=664 0 0
# 192.168.1.101:/backups /mnt/nfs nfs defaults,user,wsize=8192,rsize=8192 0 0
#
# Warning! Please do *not* change any lines below because they are auto-generate d by rebuildfstab!
# If you want to disable rebuildfstab set CONFIG_FSTAB='no' in /etc/grml/autocon fig!
# See 'man grml-rebuildfstab' for more details about the following entries.
# Added by GRML /dev/md0
/dev/md0 /mnt/md0 ext3 noauto,user,dev,suid,exec 0 0 # /dev/md0
unfortunately i can't tell you what happened when the server went down, or why it did.
i was at school at that time and my host did the job. what i know is that at a certain point i saw "server timeout" in a ping graph. tripplechecked if it was right, tried to restart and didn't work.
called the support and they told me it was giving this "error 15" and it was not related to the upgrade.
i quote:

Quote:
the server shows a Grub error 15 on startup. You can start are server in rescue mode and check where is the problem or backup your data and start a new installation.
Grub Error 15 has nothing to do with the 1Gbit upgrade.


------
Mit freundlichen Grüßen aus Düsseldorf,

also E2:
the raid in use is RAID 1 but to be honest i am not sure what software or hardware raid means, i'm googling it now
-- ok i can tell that it's software RAID because my host also sells the upgrade "hardware RAID".

Last edited by nikooo777; 05-24-2011 at 02:16 PM. Reason: more info
 
Old 05-24-2011, 02:18 PM   #7
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
"..if you really need the data with partitions unmounted too please confirm because i'd have to shut down.." No, not now.
But if that /etc/fstab is correct it's really weird!
You have in there:
Code:
/dev/md0 /mnt/md0 ext3 noauto,user,dev,suid,exec 0 0
- but /dev/md0 is to be your root-filesystem!
Maybe this is the only error, edit /etc/fstab and change that line to
Code:
/dev/md0 /  ext3 auto,user,dev,suid,exec 0 0
 
1 members found this post helpful.
Old 05-24-2011, 02:21 PM   #8
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
... and I must add, please *think* first - this problem seems so strange to me but then I have had a few glasses of wine, I might not get it right because of the alcohol! (Don't think so, I'm not drunk, but my head might be a bit slow.)
 
Old 05-24-2011, 02:22 PM   #9
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
hold on trying

E: omfg ping reply

this definitely fixed the problem!
the system started up and looks ok!

man if you have a paypal email pm it to me, i somehow owe you a beer!

Last edited by nikooo777; 05-24-2011 at 02:26 PM.
 
Old 05-24-2011, 02:24 PM   #10
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
.. and just for clarification:
Hardware raid is handled by your hardware - it's probably built in to your server but could also be an expansioncard. This means raid is handled by your server not by your Libux-system.
Software raid is handled entirely by your system.

Edit: "Libux"?? Is that next-generation-Linux??

Last edited by pingu; 05-24-2011 at 02:35 PM.
 
Old 05-24-2011, 02:26 PM   #11
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by nikooo777 View Post
hold on trying

E: omfg ping reply
That sounds good! :-)
(Well, as long as the reply isn't something like "Go to hell and don't mess with my life! (But then, you don't have kids, do you? ;-) )
 
Old 05-24-2011, 02:28 PM   #12
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by nikooo777 View Post
man if you have a paypal email pm it to me, i somehow owe you a beer!
I don't have paypal, but I'll call you when I'm wherever you are! :-)
 
Old 05-24-2011, 02:40 PM   #13
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
oh!
well see you in switzerland then

thanks man!
or if you do play counter strike source tell me
E: i am not sure if you know but... now only webserver is working, i mean, all those internet services using other ports aren't accessible.

even if started as root.

also if i type iptables -F the root crashes.

i uninstalled iptables and didn't change anything.

Last edited by nikooo777; 05-24-2011 at 02:47 PM.
 
Old 05-24-2011, 02:45 PM   #14
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Nope, too old for counter strike...
But you're from Switzerland, that's funny! I know that country - my mom's is Swiss, so I've got lots of relatives there!
Also a sister-in-law lives in Switzerland, she's half-Swedish half-Polish and met a German guy in Mexico so now they live in "der Schweiz"!
 
Old 05-24-2011, 02:59 PM   #15
nikooo777
LQ Newbie
 
Registered: Apr 2010
Location: Switzerland
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
ahhaha nice

i live in the italian part (ticino) so for me it's "la Svizzera"

pity, css is still one of the most played games on steam. actually my gameserver is 4th world wide, used to be 2nd...

as for the network problem. i'm trying to fix it by fixing the network configs.. seems old things were in there

network problem fixed by uninstalling totally iptables, rebooting, reinstalling it.

Last edited by nikooo777; 05-24-2011 at 04:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restarting server thembo Linux - Newbie 4 11-29-2010 03:08 AM
Ubuntu server stuck after startup! *Restarting OpenBSD error noob_J Linux - Server 0 09-06-2009 10:44 AM
restarting x-server Zuggy Linux - Newbie 2 08-04-2006 03:16 AM
Failed Error while restarting vsftp server winxandlinx Linux - Networking 2 05-16-2006 12:00 AM
Restarting X Server unwrittenLaww Linux - Newbie 11 04-20-2004 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration