LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   INIT: cannot execture /sbin/getty after server reset (fsck) (https://www.linuxquestions.org/questions/linux-software-2/init-cannot-execture-sbin-getty-after-server-reset-fsck-4175440095/)

shorto 12-05-2012 03:04 AM

INIT: cannot execture /sbin/getty after server reset (fsck)
 
1 Attachment(s)
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?

unSpawn 12-05-2012 08:09 PM

Why shouldn't you be able to (use a Live CD and) 'cryptsetup luksOpen /[dev|.*whatever.*]/yourdevicename' elswhere?

shorto 12-06-2012 12:43 PM

Kind of forgot to mention that 2 drives are "joined" with LVM. does that chnage anything?

unSpawn 12-06-2012 02:09 PM

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.

shorto 12-16-2012 05:43 AM

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?

unSpawn 12-16-2012 08:20 AM

Quote:

Originally Posted by shorto (Post 4850287)
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 (Post 4850287)
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.

shorto 12-16-2012 11:17 AM

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.


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