LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Redhat crash - boot directory empty "dub2 bad descriptor" errors (https://www.linuxquestions.org/questions/red-hat-31/redhat-crash-boot-directory-empty-dub2-bad-descriptor-errors-116081/)

jjohnston62 11-14-2003 04:15 PM

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.

robartes 11-14-2003 04:20 PM

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.

jjohnston62 11-14-2003 04:34 PM

mounting proc filesystem: dup2: Bad file descriptor

thanks

jjohnston62 11-14-2003 05:08 PM

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.


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