[nycbug-talk] bad file descriptor and fts_read error

Marc Spitzer mspitzer at gmail.com
Fri May 22 09:22:43 EDT 2009


fsck the box from CD  then try it again, simplest way to get
everything including root.  It helps if you have a copy of /etc/fstab
somewhere else to read durring the process


marc

On Fri, May 22, 2009 at 4:32 AM, Matt Juszczak <matt at atopia.net> wrote:
> Hi all,
>
> For some reason, on one of my FreeBSD jump boxes, which has been acting up
> lately, I'm getting a few errors.  This all caught my attention when I
> started noticing some setuid errors in my nightly report (files were
> disappearing as being set as setuid).
>
> First:
>
> bob# cd /usr/ports/packages/All && pkg_delete -f gettext-0.17_1 &&
> pkg_add gettext-0.17_1.tbz
> mtree: bin/snmpbulkwalk: Bad file descriptor
> mtree: bin/snmpcheck: Bad file descriptor
> mtree: bin/snmpconf: Bad file descriptor
> mtree: bin/snmpdelta: Bad file descriptor
> mtree: bin/snmpdf: Bad file descriptor
> mtree: bin/snmpget: Bad file descriptor
> mtree: bin/snmpgetnext: Bad file descriptor
> mtree: bin/snmpinform: Bad file descriptor
> mtree: bin/snmpnetstat: Bad file descriptor
> mtree: bin/snmpset: Bad file descriptor
> mtree: bin/snmpstatus: Bad file descriptor
> mtree: man/man5/slapd-ldbm.5.gz: Bad file descriptor
> mtree: man/man5/slapd-ldif.5.gz: Bad file descriptor
> mtree: man/man5/slapd-meta.5.gz: Bad file descriptor
> mtree: man/man5/slapd-monitor.5.gz: Bad file descriptor
> mtree: man/man5/slapd-ndb.5.gz: Bad file descriptor
> mtree: man/man5/slapd-null.5.gz: Bad file descriptor
> mtree: man/man5/slapd-passwd.5.gz: Bad file descriptor
> mtree: man/man5/slapd-perl.5.gz: Bad file descriptor
> mtree: man/man5/slapd-relay.5.gz: Bad file descriptor
> mtree: man/man5/slapd-shell.5.gz: Bad file descriptor
> mtree: man/man5/slapd-sock.5.gz: Bad file descriptor
>
>
> Second:
>
> bob# cd /etc/periodic/security
> bob# ./100.chksetuid
>
> Checking setuid files and devices:
> find: fts_read: No such file or directory
>
>
>
>
>
> This seems to be really weird.  Why I would be getting file descriptor and
> fts_read errors I'm not sure.  Nothing in dmesg to indicate file system
> problems, however a running fdisk shows:
>
> ** /dev/amrd0s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> 70568 DUP I=16768
> 70569 DUP I=16768
> 70570 DUP I=16768
> 70571 DUP I=16768
> 70572 DUP I=16768
> 70573 DUP I=16768
> 70574 DUP I=16768
> 70575 DUP I=16768
> 70576 DUP I=16768
> 70577 DUP I=16768
> 70578 DUP I=16768
> EXCESSIVE DUP BLKS I=16768
> CONTINUE? [yn]
>
>
>
>
>
> Any ideas anyone?
>
>
> Thanks!
>
> -Matt
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
>



-- 
Freedom is nothing but a chance to be better.
Albert Camus



More information about the talk mailing list