Page 1 of 1

My Server is crashed after reboot??

Posted: Mon Mar 28, 2011 2:34 pm
by sleife
Hi everybody!
I need help!!

http://www.xup.in/dl,16658670/IMAG0075.jpg/


This error is when i start my fedora.. what can i do? I have absolutly no plan???

Re: My Server is crashed after reboot??

Posted: Mon Mar 28, 2011 11:13 pm
by moredruid
This means that your filesystem seems to be inconsistent.
Fill in the root password.
Then type "lvs"
you'll see an overview of the logical volumes you have on the system and in which volume group they belong.
run the following command:
fsck -f /dev/<volumegroup name>/<logicalvolumename>

if you get errors let the system fix them. When done type exit to reboot.

Re: My Server is crashed after reboot??

Posted: Tue Mar 29, 2011 8:51 am
by sleife
Omg. When i run lvs:
File-based locking initialisation failed

Whats that??

Re: My Server is crashed after reboot??

Posted: Tue Mar 29, 2011 11:55 pm
by moredruid
It probably means the LVM headers or disk headers are inconsistent.

you should be able to figure out which Logical Volumes you have on your system by examining your /etc/fstab file - cat /etc/fstab - you should look for entries starting with /dev/mapper/

Re: My Server is crashed after reboot??

Posted: Wed Mar 30, 2011 10:43 am
by sleife
Yeeees!! Thank you very much! It works!

1.
Ok question: When i reboot my Server next time. How should i do that?
Console and init 6 ?

or how?


2.
When I want to Update the Server. Can i press: Ctrl + Alt + F2 and then init 3
and then yum update yum
?

Thank you very much!! You are my hero :D

Re: My Server is crashed after reboot??

Posted: Wed Mar 30, 2011 11:47 pm
by moredruid
1.
Ok question: When i reboot my Server next time. How should i do that?
Console and init 6 ?
That is one of several options:
reboot
shutdown -r
telinit 6
should all do the same
2.
When I want to Update the Server. Can i press: Ctrl + Alt + F2 and then init 3
and then yum update yum
If you run a graphical shell: open a terminal and sudo to root (type "su -" , type the root password)
If you want to run a different TTY: you can switch to a different TTY using Ctrl-Alt-F(1-6), log in as root. Your graphical shell usually resides in Ctrl-Alt-F7.
If you want to update remotely: from windows use PuTTY to SSH to your server, sudo to root.
To update: type yum -y update (-y implies "yes" to the question if you want to update). There is no need to switch to a different runlevel (you should be running in either runlevel 3 or 5, you can check this with the "runlevel" command). The Graphical shell is usually started in runlevel 5. Here is a bit more info on runlevels.
Thank you very much!! You are my hero
:oops: you're welcome

Re: My Server is crashed after reboot??

Posted: Thu Apr 07, 2011 11:09 am
by sleife