LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2012, 03:04 AM   #1
shorto
Member
 
Registered: Jul 2006
Distribution: Debian 6.0.2.1 i386
Posts: 111

Rep: Reputation: 15
INIT: cannot execture /sbin/getty after server reset (fsck)


Hi all!

Well a couple of days ago my server stopped responding, when I went to check on it, not even the keyboard was working, so I had ho hard reset it. After the startup of course I had to run fsck it did what it did and now I get the errors show in the image. I don't care if I have to set up Debian again, but I really need to get the files for my clients, the problem being the disk is encrypted with dm-crypt so plugging the hard drives to another station kinda not working.

Ideas?
Attached Thumbnails
Click image for larger version

Name:	20121205_001759.jpg
Views:	28
Size:	253.3 KB
ID:	11345  
 
Old 12-05-2012, 08:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Why shouldn't you be able to (use a Live CD and) 'cryptsetup luksOpen /[dev|.*whatever.*]/yourdevicename' elswhere?
 
1 members found this post helpful.
Old 12-06-2012, 12:43 PM   #3
shorto
Member
 
Registered: Jul 2006
Distribution: Debian 6.0.2.1 i386
Posts: 111

Original Poster
Rep: Reputation: 15
Kind of forgot to mention that 2 drives are "joined" with LVM. does that chnage anything?
 
Old 12-06-2012, 02:09 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Generally speaking as long as you're using Linux software raid the kernel should be able to recognize the disks for what they are and direct user land to unpack each layer.
 
Old 12-16-2012, 05:43 AM   #5
shorto
Member
 
Registered: Jul 2006
Distribution: Debian 6.0.2.1 i386
Posts: 111

Original Poster
Rep: Reputation: 15
OK so I maned up and tried with the Ubuntu live CD It saw the two drives asked em for the password and then told me it cannot mount them, so I'm guessing VML2 is the problem here since both HDD were joined as one, and now both are recognized individually.

Any other ideas?
 
Old 12-16-2012, 08:20 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by shorto View Post
OK so I maned up and tried with the Ubuntu live CD
It's best to use rescue mode on the disk the distribution was installed from.


Quote:
Originally Posted by shorto View Post
It saw the two drives asked em for the password and then told me it cannot mount them, so I'm guessing
Without knowing what comes first (LVM or dm-crypt first?) and without any diagnostic output (dmnesg, fdisk -l, pvscan, vgscan, cryptsetup isLuks) it's hard to say more than "it depends" 10 days on.
 
Old 12-16-2012, 11:17 AM   #7
shorto
Member
 
Registered: Jul 2006
Distribution: Debian 6.0.2.1 i386
Posts: 111

Original Poster
Rep: Reputation: 15
Ok the rescue CD did rescue me, I can see al the files now, but is there a way to just upload all the server contants to an remote FTP?

BTW can the mysql DB's be saved as well? Since the services are unable to run, i would kind of need to do this via the file transfer I mentioned earlier.
 
  


Reply



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
exec of init (/sbin/init) failed!!! Permission dened kernel-panic - not syncing! charlztin88 Linux - Newbie 1 03-15-2011 03:17 PM
/sbin/init: Kernel panic - not syncing: Attempted to kill init! jalejo08 Linux - Kernel 7 07-02-2009 01:16 PM
exec of init (/sbin/init) failed!!! kernel panic KiraII Linux - Kernel 1 07-13-2007 09:07 PM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:53 AM.

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