Operating System - Linux
1827649 Members
3370 Online
109966 Solutions
New Discussion

help with unix system crash

 
sarita_1
New Member

help with unix system crash

Hi,

I am a graduate student, totally new with Unix and my problem is that the system stopped responding and it gives error messages and warning. to make a long story short, it asks me to fsck (below is the message from the system when i boot it) ...something and am not sure what to do if someone can kindly help me with this issue it will be great.

Message on system is as follows:
Error for command ‘read’
Error level: fatal
Block 23280, Abs. Block:23281
Sense key: media error
Vendor ‘seagate’ error code:0 x 11
Error for command ‘read’
Fsck I/O
Unknown error in reboot fsck
Warning: file systems has not been remounted read-write. Use fsck to fix any file system problems, rebooting the system if any problems are found with a mounted file system. After file system have fsck’d cleanly, you can remount file systems and finish single-user setup using “etc/rc.single”

I look forward for some re
7 REPLIES 7
Ravi_8
Honored Contributor

Re: help with unix system crash

Hi,

File system has been corrupted, hence it need fsck (file system check).

a reboot will solve your problem.

if the problem still exist after a reboot, get into single user mode (from SRM console issue the command " boot -fl S), you will get # prompt
#fsck -y will check and correct the file system
never give up
Han Pilmeyer
Esteemed Contributor

Re: help with unix system crash

Hm... Are we even talking about Tru64 UNIX, DIGITAL UNIX or even DEC OSF/1 here??

If we are, then I'm very disappointed as someone is actually using UFS. But I don't think this Tru64 UNIX in some form.
Michael Schulte zur Sur
Honored Contributor

Re: help with unix system crash

Han,

I think you are right with your suspicion. I don't know of an /etc/rc.single under tru64.
Sarita, what os are you using? Linux?

greetings,

Michael
Han Pilmeyer
Esteemed Contributor

Re: help with unix system crash

Linux doesn't have /etc/rc.single either. At least not the one on my laptop. Neither does HP-UX. So I'm really curious now. :-)
Ralf Puchner
Honored Contributor

Re: help with unix system crash

the following os-systems have a /etc/rc.single file:

sunos
linux (a few distributions)
openbsd

but the error message also look non tru64 like and I'm just wondering seeing "seagate" instead of HP or compaq/dec ;-)
Help() { FirstReadManual(urgently); Go_to_it;; }
sarita_1
New Member

Re: help with unix system crash

Thanks all,

Just some clarifications:
1) it is a 'seagate' hard-drive
2) i do not have the root password, how can i even use 'fsck' in single user mode in that case?

hope to hear from someone soon.

thanks,
Sarita
Asif Sharif
Honored Contributor

Re: help with unix system crash

Go to the console, reboot your HP-UX box to single user mode, then change root password.That's it. and then u can do fsck.

1. shutdown -r -y 0 ;shutdown and reboot
2. Intercept AUTOBOOT by pressing space bar
3. bo pri isl ; I assume you are booting primary boot path
4. hpux -is ; single user mode
5. passwd root ; change root password

And you have your root password changed. So never let any stranger approach your console. ;)


With Warm Regards,

Asif Sharif
Regards,
Asif Sharif