Dup 2: Bad File Descriptor...Whuzzat mean?

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default Dup 2: Bad File Descriptor...Whuzzat mean?

    I'm running Red Hat 7.2 (I think, kernel 2.4.7-10 according to uname -a)
    on my home computer. I had trouble deleting a cd.iso image on my last
    good boot. I shut it down normally this morning. This afternoon when I
    tried to reboot it instead of rebooting I got a bunch of error messages
    ending with dup 2: Bad File Descriptor. I then was dropped into a repair
    mode where I had to enter the root password, or Cntl D to continue. I
    entered the root password, did an fsck (which didn't work). When I
    exited the machine attempted to reboot, whereupon I started the whole
    thing over again. Does anyone know what this means and what I should do
    about it?

    If I haven't included pertinent information I can look again once I get
    home. Any help would be appreciated.

    Mike



    Michael Guest

  2. Similar Questions and Discussions

    1. Air extension could not create app descriptor file
      CS3, v9, 3481-- Current CS 3 Air Extension and Adobe Air This was working at one point. When I installed the CS4 beta, it stopped, so I...
    2. #40214 [NEW]: Bad File Descriptor, Please help me
      From: support at vikoshosting dot com Operating system: Linux Kernel version 2.6.9-42.0. PHP version: 5CVS-2007-01-24 (snap) PHP...
    3. #25475 [NEW]: Direct IO access to raw file descriptor
      From: mbostrom at syrah dot us Operating system: Unixes PHP version: Irrelevant PHP Bug Type: Feature/Change Request Bug...
    4. Read/Write IO on socket file descriptor
      Hi all, I'm trying to perform read and write I/O on a socket file descriptor received for another process via a Unix Domain Socket. In trying to...
    5. Using text track descriptor file instead of cue points?
      Although I can use cue points in Quicktime fine to make a Director timeline move forward, I'm at a dead end with trying to get them to work in a...
  3. #2

    Default Re: Dup 2: Bad File Descriptor...Whuzzat mean?

    Thanks for the quick answer. I'll give this a try.

    Mike



    Mauriat wrote:
    > [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=9358n4%243bl%241%40nnrp1.deja.com[/url]
    >
    > --
    >
    > Mauriat
    > ----------------------------
    > Remove 'NOSPAM' to email me.
    Michael Guest

  4. #3

    Default Re: Dup 2: Bad File Descriptor...Whuzzat mean?

    Michael wrote:
    > I'm running Red Hat 7.2 (I think, kernel 2.4.7-10 according to uname -a)
    > on my home computer. I had trouble deleting a cd.iso image on my last
    > good boot. I shut it down normally this morning. This afternoon when I
    > tried to reboot it instead of rebooting I got a bunch of error messages
    > ending with dup 2: Bad File Descriptor. I then was dropped into a repair
    > mode where I had to enter the root password, or Cntl D to continue. I
    > entered the root password, did an fsck (which didn't work). When I
    > exited the machine attempted to reboot, whereupon I started the whole
    > thing over again. Does anyone know what this means and what I should do
    > about it?
    >
    > If I haven't included pertinent information I can look again once I get
    > home. Any help would be appreciated.
    >
    > Mike
    >
    >
    >
    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=9358n4%243bl%241%40nnrp1.deja.com[/url]

    --

    Mauriat
    ----------------------------
    Remove 'NOSPAM' to email me.

    Mauriat Guest

  5. #4

    Default Re: Dup 2: Bad File Descriptor...Whuzzat mean?

    I tried what was suggested in this posting and am still having the same problem.

    It suggests doing the following

    mount -n -o remount,rw /
    rm -f /dev/null
    mknoe -m 666 /dev/null c 1 3

    After issuing the 'mount -n -o remount,rw /'

    I get:

    mount: could not open /proc/partitions, so UUID and LABEL conversion cannot be done.

    mount: no such partition found.

    I'm not sure what to do from here. Any suggestions?

    output from the mount command gives:

    /dev/hda2 on / type ext2 (rw)
    none on /proc type proc (rw)
    none on /dev/pts type devpts (rw,gid=5, mode=620)

    Even though it shows /dev/hda2 as read write, it seems to have stuck somehow as read only. I've had
    intermittent problems in the past of a device (a card reader) hanging up and showing as read only
    when it should be read,write. Reformatting it under DOS has fixed the problem. I'd like not to format
    this whole Hard Drive because there are things on it that I'd like to save.

    Any help would be appreciated,
    Mike




    Mauriat wrote:
    > Michael wrote:
    > > I'm running Red Hat 7.2 (I think, kernel 2.4.7-10 according to uname -a)
    > > on my home computer. I had trouble deleting a cd.iso image on my last
    > > good boot. I shut it down normally this morning. This afternoon when I
    > > tried to reboot it instead of rebooting I got a bunch of error messages
    > > ending with dup 2: Bad File Descriptor. I then was dropped into a repair
    > > mode where I had to enter the root password, or Cntl D to continue. I
    > > entered the root password, did an fsck (which didn't work). When I
    > > exited the machine attempted to reboot, whereupon I started the whole
    > > thing over again. Does anyone know what this means and what I should do
    > > about it?
    > >
    > > If I haven't included pertinent information I can look again once I get
    > > home. Any help would be appreciated.
    > >
    > > Mike
    > >
    > >
    > >
    >
    > [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=9358n4%243bl%241%40nnrp1.deja.com[/url]
    >
    > --
    >
    > Mauriat
    > ----------------------------
    > Remove 'NOSPAM' to email me.
    Michael Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139