INIT problem, system halted

System: HP Netserver E200 with RedHat 7.2 and hp surestore dat 40.

Problem started as such:
1. I had to see if i could restore a folder from a backup
2. System setup by a collegue who is on holiday and hard to contact
3. I'm fairly new to linux and didn't know the server setup here prior to my visit
4. Given basic instructions by collegue to look in "webmin" for the cron jobs, identify which is the backup job, do a search on it on google to find the restore version of same command
5. Collegue 'thought' it was using 'CVH' and 'TAR'

I get onsite and i find (via webmin) the server isn't using CVH or TAR, but CPIO for its backups (cron command is "
find / / / / / -print | cpio -oa --block-size=512 --format=newc -O /dev/st0 2 > /tmp/files.err
") done a few searches and found what info i needed EXCEPT the device name of the tape drive (assumed it was /dev/st0? but it didn't work when using "cpio -itv < /dev/st0" to list files on tape)

Thought it'd be a good idea to reboot the server and see if a device name was listed upon bootup... BUT

Machine reboots...

Now displays error:"
INIT: cannot execute "etc/rc.d/rc.sysinit"
INIT: cannot execute "etc/rc.d/rc"
"
Reading up on this it sounds like the startup script won't run and i'll have to do some kind of repair (see: http://infocom.cqu.edu.au/Units/aut99/85321/Assessment/Emergencies/Emergencies/ )

Why isn't anything simple! I don't have rescue disks, but i can get some RedHat CD's from my other collegue (on his way here)

Are the instructions in the above URL accurate and will let me get the server running again? How about getting the device name for the tape drive?
LVL 1
RoadyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RoadyAuthor Commented:
Anyone with any pointers or things to try?
(just increased points)
0
majorwooCommented:
That is a legitimate attempt to check the permissions on the file (which can indeed cause your error)

Booting off the redhat CD's will have the same affect -- once they boot (in rescue mode) you will be able to mount your existing drive and check it out.  I am on my way out of town for Turkey day, hopefully others will come along and help you.  I'll try to check the mail over the weekend.

What it boils down to is:
1 - put the CD in
2 - set your system to boot from CD (in BIOS if not already set)
3 - type "linux rescue" at the boot prompt (no quotes)
4 - follow the instructions, redhat will try to mount your system for you

Your other guid shows you the idea, check the permissions on /etc/rc.d/rc.sysinit
0
RoadyAuthor Commented:
Have done the above and used chmod to make sure the file is 'a+x', used 'cat rc.sysinit' to check the file also and it looks intact (no corruption).

Using fdisk and fcsk to check the hard drives there where the following partitions:
/dev/hda1
/dev/hda2
/dev/hdd1

Looked at the file 'raidtab' and corrected an entry (using pico) where it was looking for /dev/hdb1 and the second drive was actually /dev/hdd1, so its looking like a broken raid mirror set?

Am now doing a new install on a new disk and now getting a package error with /mnt/source/RedHat/RPMS/emacs-20.7-41.i386.rpm, there doesn't seem to be a way i can skip this file as i think its just my second cd is a bit iffy
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

RoadyAuthor Commented:
have now got a blank redhat install, but being unable to install the webmin .rpm has left me stuck using cpio from the shell.

the data was backed up using the following command line:"
find ///// -print¦cpio -oa --block-size=512 --format=newc -O /dev/st0 > /tmp/files.err
" I am attempting to use the following command to restore the tape "
cpio -cv -I /dev/st0 > -O /data
" what am i doing wrong? it doesn't work!
have created a blank /data/ directory.
0
jlevieCommented:
Your cpio command is flawed. To list the archive the command would be 'cpio -tvc -I /dev/st0'. To extract the contents of the tape to /data the commands would be:

cd /data
cpio -ivc -I /dev/st0
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
majorwooCommented:
looks like a split between jlevie and myself
0
Karl Heinz KremerCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between majorwoo and jlevie
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0
RoadyAuthor Commented:
Sorry i left this open guys!

If anyone else has this problem: It was the second hard drive, for some reason it was faulting and refusing to become part of the raid, ghosted drive and replaced - fixed!

With a working RedHat install (with webmin) restore was easy! :)

I'll split the points as you where both helpful!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.