Koozali.org: home of the SME Server

Server crashed? help required

Jenny

Server crashed? help required
« on: September 15, 2002, 10:18:33 AM »
Hi, yesterday after a power faillure my e-smith machine restarted but it doesn't work anymore. I have following error message when I boot:

Checking root filesystem
/contains a file system with errors, check forced...

Unattached inode 1556526

/: UNEXPECTED INCONSISTENCY;
RUN fsck manually. (i.e. without -a or -p options)
              [failed]

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** When you leave the shell
Give root password for maintenance (or type control-D for normal startup)

(repair filesystem) 1 #

I tried both solutions without succes, and as a linux newbie it's not easy to fix this.
Anyone has an idea?

Thanks
Jenny

Ruusvuu

Re: Server crashed? help required
« Reply #1 on: September 15, 2002, 10:48:18 AM »
reinstall SME server as an upgrade

If your HDD is sound this should work

guestHH

Re: Server crashed? help required
« Reply #2 on: September 15, 2002, 11:41:46 AM »
Hi,

You have to fsck a device, so only entering fsck is not enough.

- Type '-df' and enter, to see your partitions (e.g. /dev/hda1and /dev/hda6)
- Type 'fsck /dev/hda6' and enter.
- Follow on screen instructions.

Hope it helps a bit.

Regards,
guestHH

NickR

Re: Server crashed? help required
« Reply #3 on: September 15, 2002, 11:46:39 PM »
Don't panic!  It's easy once you know the magic command ;-)

fsck /

Charlie Brady

Re: Server crashed? help required
« Reply #4 on: September 16, 2002, 03:54:47 AM »
Ruusvuu wrote:

> reinstall SME server as an upgrade
>
> If your HDD is sound this should work

No, it shouldn't. The installer will refuse to do the upgrade until the file system shows as having been shut down cleanly.

Charlie

Ruusvuu

Re: Server crashed? help required
« Reply #5 on: September 16, 2002, 05:07:24 AM »
Thanks Charlie!

I realized that after the third post but sat on my haunches until now.
Thanks for setting the record straight.Charlie Brady wrote:

Dan

Re: Server crashed? help required
« Reply #6 on: September 20, 2002, 12:24:58 AM »
This should be in the SME manual!

It's such a simple command and so many people end up having to use it.