LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-12-2010, 06:18 PM   #1
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 0
call manager linux boot problem


hi all i have a cisco call manager that run on linux os i have had a power failure when i have tried to boot the system i got :
checking filesystems
fsck.ext3: invalid argument while checking ext3 journal for /common
/grub: clean, 26/66528 files, 16820/265072 blocks
/partB: clean, 11/3515680 files, 118535/7018396 blocks

dropping you to a shell, the system will reboot


i have tried to recover from recovery cd and i have got:

checking device /dev/dev6
fsck 1.41.4
group descriptors look bad... trying backup blocks...
errors found (8)


any ideas please need help urgent
 
Old 08-12-2010, 07:40 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Suggestion: Since the journal file on /common seems bad, use tune2fs to remove the journal from it (which will lose anything in the journal, but, hopefully, that's survivable), rerun fsck, and recreate the journal file (now empty, of course) with tune2fs.
 
Old 08-13-2010, 04:57 AM   #3
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
but why when i am trying to recover i am having bad group descriptors. does that mean if i remove the /common journal the os will work?.

please write for me the parameters of tune2fs which allow me to delete and create the journal

Last edited by elie; 08-13-2010 at 06:57 AM.
 
Old 08-14-2010, 04:05 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Look at man tune2fs for the complete description.

Basically, to remove the journal file you would use something like this (where /dev/sda9 is my assumed location of the physical, unmounted, device that contains the /common file system - DO NOT USE THIS LOCATION ON YOUR SYSTEM).

tune2fs -fO ^has_journal /dev/sda9

To create a new journal file (assuming the same physical device, and that you want to use the default settings):

tune2fs -j /dev/sda9

BE SURE TO READ THE WARNINGS UNDER THE -f OPTION IN THE MANUAL FILE. N.B: I would recommend that you use the dd command to create an image of the bad partition before trying any recovery methods. That let's you recover to where you are now if things go wrong. (In fact, if you can keep the image on-line on a different drive, you could mount it using mount -o loop,ro and try the recover on the image instead of the problem device.)

As to the OS working, as you know, removing the journal file converts the file system from ext3 to ext2, so everything should work (but see the WARNING referred to above).
 
Old 08-16-2010, 12:13 PM   #5
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
my problem now is i am not able to get to single user mode to enter these commands.
when i press 'e' or 'a' to enter single user mode nothing happen like i didn't press anything the only key which work is the enter key to continue booting

please assist
 
Old 08-16-2010, 04:06 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You mentioned in your first post that you were booting from the rescue CD. If this is what you're doing, why would you need to edit the GRUB menu to get into single user mode? The rescue disk should automatically boot you into init level 3 with you drives unmounted, and let you run fsck (or tun2fs) as you wish.

What file system do you have on /dev/sda6? (I had assumed that it was /common because that was where it first error was reported.)

Are you using Logical Volume Management on your drives? I ask because fsck will completely destroy all logical volumes on a partition used by LVM if it is run on the raw partition. You can only run fsck on the logical volumes listed under /dev/mapper/Volume_group_name/Logical_Volume_Name after the logical volume is activated.

Are you sure that the "Enter" key actually worked? The boot may have continued because the timeout period expired.

I've only had the problem you describe when my keyboard cable was disconnected.

If your keyboard is connected, try pressing the "Escape" key (or Ctrl-[) to see if that gets GRUB's attention.
 
Old 08-12-2011, 04:05 PM   #7
cragan
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: 0
hey - have EXACT same issue, almost a year later on a cucm 6.1.3.

i boot to the recovery cd, go to user mode

when i run

./tune2fs -fO ^has_journal /dev/sda6

i get..

invalid argument when reading journal inode

did you ever find a solution to this?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Manager problem when installing FreeBSD chuanweizuo *BSD 1 02-12-2008 01:44 PM
LXer: Smart Boot Manager - An OS Independent Boot Manager LXer Syndicated Linux News 0 02-01-2008 02:11 AM
Problem with Boot Manager joany MEPIS 5 12-11-2006 09:34 PM
Problem installing the boot manager - FreeBSD K@rl` *BSD 0 04-25-2005 11:20 AM
boot manager problem Chijtska Linux - Software 15 02-06-2002 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration