Bad File Descriptor
I need serious help. Thanks in advance.
RHL 7.3 ext3; 1 SCSI HD (36GB) -- single boot server (DHCP, SAMBA, SQUID)
Getting filesystem errors on boot -- some scroll off screen to quickly to read.
I'm a technical person but not skilled at command line Linux.
Last errors - (typing in):
Activating swap partitions: dup2: Bad file descriptor [FAILED]
Setting hostname Leshkow2: dup2: Bad file descriptor [FAILED]
/etc/rc.sysinit: /dev/null: Read-only filesystem
/etc/rc.sysinit: /dev/null: Read-only filesystem
Mounting USB filesystem: dup2: Bad file descriptor [FAILED]
Initializing USB controller (usb-ohci): dup2: Bad file descriptor [FAILED]
grep: /proc/mounts: No such file or directory
Checking root filesystem
dup2: Bad file descriptor
[FAILED]
Then it drops to shell prompt.
I ran fdisk, extended partition (/dev/sda4) had DOS file descriptor. Copied down partition table info, deleted partition, recreated with correct ID, recreated extended partitions (/dev/sda5-7) with info from table.
Ran e2fsck on each partition (no switches - Don't know which, if any to use) read in each journal - result clean. Except swap partition which e2fsck reports that it doesn't work on (now you know the limits of my knowledge)
Still same problem
Thanks once again
Last edited by tech_user; 10-16-2005 at 12:43 AM.
|