LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-14-2003, 04:15 PM   #1
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
Redhat crash - boot directory empty "dub2 bad descriptor" errors


Installing RH9 on a pretty plain base system. Added to the system after base installation was done is an Adaptec 2410SA-based SATA RAID system.

The problem is that I keep getting errors on boot. The system boots into errors, coming up with "dup2: Bad file descriptor" when attempting to run several services. it appears that this is because the file system has become read-only.

System does not mount /proc directory, and the /boot directory appears to be completely empty.

I know I can set the system read/write with:
mount -o remount,rw /dev/device

but after that, fsck doesn't do much good. Ideas for recovery are welcome.

Second - this is the second time in a row this has happened. Anyone aware of any problems in RH9 that would cause something like this on a consistent basis? The RAID subsystem was replaced.......

Ideas, comments welcome.

Thanks

Jon J.
 
Old 11-14-2003, 04:20 PM   #2
robartes
Member
 
Registered: Oct 2003
Location: Mechelen, BE
Distribution: Mandrake as base, most software hand rolled
Posts: 80

Rep: Reputation: 15
Re: Redhat crash - boot directory empty "dub2 bad descriptor" errors

Quote:
Originally posted by jjohnston62
The problem is that I keep getting errors on boot. The system boots into errors, coming up with "dup2: Bad file descriptor" when attempting to run several services. it appears that this is because the file system has become read-only.
What's the very first error you get. Post that, and we'll focus on solving the cause of that one - that should take care of the rest of them.
 
Old 11-14-2003, 04:34 PM   #3
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Original Poster
Rep: Reputation: 15
mounting proc filesystem: dup2: Bad file descriptor

thanks
 
Old 11-14-2003, 05:08 PM   #4
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Original Poster
Rep: Reputation: 15
got it back.... /dev/null had been turned into a directory.

got back into read/write mode on system:
mount -o remount, rw /dev/device

then deleted the /dev/null fake directory. (rm and rmdir)

then recreated /dev/null -

mknod /dev/null c 1 3

Jon J.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM
Installing Oracle Apps 11i in Redhat 9 - Linux "bad interpreter" error msoares Linux - Newbie 4 07-14-2004 09:45 PM
sshd error " bad owner or mode for /var/empty" piraxter Slackware 1 09-09-2003 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:47 PM.

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