Looks like the hour is catching up with me. I misspelled "fsck." I ran that command as: fsck /usr and saw numerous messages silimar to these: /usr contains a file syste with error, check forced. Pass1: Checking inodes, block sizes Pass2: Checking directory structures Missing ".." in inode 2260993 Fin<y>? yes Setting for entry ".." .... (2260993) to 2. Pass 3: Checking directroy connectivity. Connect to /lost+found<y>? yes Pass 4: Checking reference counts Inode 2 reference count is 15, should be 16. Fix<y>?yes Inode 180225 reference count is 727, should be 726. Fix<y>?yes .... Unattached inode 2244614 Connect to /lost+found <y>?yes .... Then, I typed: reboot -n -f The system booted fine. I ran the dmesg command and saw nothing unusual. I repeated the command that had I/O errors earlier: ls /usr/bin/ -al This time, there were no I/O error messages. I tested PINE and PILOT. Both applications are still missing. I looked in the /lost+found directory, but it was empty. How do I restore the missing applications? I'm sure there are several missing besides pine and pilot. Is there an automatic process? Should I restore the complete OS? I appreciate your help. Thank you. -- Justin On Sun, 12 Jan 2003, Justin F. Kuo wrote: > At 8:39 PM +0700 1/12/03, Philippe wrote: > [snip] > Under root, you can launch dmesg -c, it will clean the dmesg log. If you > run again dmesg (without the -c flag), you will se that it is empty. > > Then, try to lauch Pine or whatever command which failed, and type again > dmesg (you don't need to be root to type dmesg (root only to clear it). > Hope this will help, and give us a clue. > > > I followed your suggestions. No unusual messages displayed. > > > You can also force a check filesystem on reboot with the command (root): > > shutdown -Fr now > > It will force fsck when rebooting. Good luck, and I am sure many skilled > people will help you. > > > I ran the shutdown with the -Fr now arguments. When the computer rebooted, > I found these messages: > > /usr: > Missing '..' in directory inode 2260993. > .usr: UNEXPECTED INCONSISTENCY; RUN fcsk MANUALLY. > (i.e., without -a or -p options) > /var: 8578/130560 files (1.2% non-contiguous), 84308/260812 blocks > [FAILED] > *** An error occured during the file system check. > *** Dropping you to a shell; the system will reboot > *** when you leave the shell. > *** Give root password for maintainence > *** (or type Control-D for normal startup:) > bash: id: command not found > bash: id: command not found > bash: id: command not found > bash: [: too many arguments > (Repair filesystem) 1# fcsk > bash: fcsk: command not found > (Repair filesystem) 2# ls > anaconda-ks.cfg install.log install.log.syslog mail > (Repair filesystem) 3# > > It looks like the files are corrupted. I cannot tell if that's a software > or hardware problem. What steps do I take to get the Linux system working > again? Do I simply re-install the entire Linux OS? > > Thank you for your help. -- Justin > > [snip] > > > > > >Hi, > > > > > >Yep, this looks bad to me, hardware problem ... > > > > > >Try to run dmesg, and looks what it says. > > > > > >Philippe > > > > > >On Sun, 2003-01-12 at 10:20, Justin F. Kuo wrote: > > >> I'm new to Red Hat 8.0. I had the email reader, PINE, working two > days > > >> ago. Now, it's as though it no longer exists on my PC. > > >> > > >> [jkuo@mango jkuo]$ pine > > >> -bash: pine: command not found > > >> > > >> Several other applications, including PICO, and PILOT are also > missing. > > >> > > >> I attempted to look for it in the /usr/bin directory, but the ls > > command > > >> generated a bunch of errors. > > >> > > >> [jkuo@mango jkuo]$ ls /usr/bin/ -al > spool.txt > > >> ls: /usr/bin/gpg-sign+encrypt: Input/output error > > [snip] > > > > I ran the dmesg command and include the lengthy output below. What does > > all of it mean? Thanks -- Justin > > > > (There are two harddrives in this box. The 60GB drive (hda) is for the > > linux system, while the 30GB drive (hdc) contains Windows ME that was > > orginally run on that box.) > > > > [jkuo@mango jkuo]$ dmesg > > Linux version 2.4.18-19.8.0 (bhcompile@stripples.devel.redhat.com) > (gcc > [snip] > > hda: WDC WD600BB-75CAA0, ATA DISK drive > > hdc: WDC WD307AA-00BAA0, ATA DISK drive > > hdd: CR-4804TE, ATAPI CD/DVD-ROM drive > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > ide1 at 0x170-0x177,0x376 on irq 15 > [snip] > > EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,5), internal journal > > Adding Swap: 257000k swap-space (priority -1) > > kjournald starting. Commit interval 5 seconds > > EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,1), internal journal > > EXT3-fs: mounted filesystem with ordered data mode. > > kjournald starting. Commit interval 5 seconds > > EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,3), internal journal > > EXT3-fs: mounted filesystem with ordered data mode. > > kjournald starting. Commit interval 5 seconds > > EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal > > EXT3-fs: mounted filesystem with ordered data mode. > > kjournald starting. Commit interval 5 seconds > > EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,6), internal journal > > EXT3-fs: mounted filesystem with ordered data mode. > [snip] -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list