RHEL 5 - Remounting file system read-only

Running RHEL 5.5

Three out of the past five nights, our RHEL 5 server displays the following attached error.  Also, below is the file for when this happens.  To get the server going again, I have to reboot it.  It cleans the journal entries and resumes operation.  However, we need help determine what is causing this to happen and how to fix it.

/var/log/messages:
Apr 28 05:31:10 webmail kernel: EXT3-fs error (device dm-2): htree_dirblock_to_t
ree: bad entry in directory #46891009: rec_len % 4 != 0 - offset=0, inode=573884
258, rec_len=63203, name_len=55
Apr 28 05:31:10 webmail kernel: Aborting journal on device dm-2.
Apr 28 05:31:10 webmail kernel: ext3_abort called.
Apr 28 05:31:10 webmail kernel: EXT3-fs error (device dm-2): ext3_journal_start_
sb: Detected aborted journal
Apr 28 05:31:10 webmail kernel: Remounting filesystem read-only
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13074903896, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14012744600, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=15754967840, limit=673906688Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14827115336, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13213332408, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14412915480, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14820772816, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=6630372192, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13077031896, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14928282000, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=16267322304, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=8059359256, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14688658376, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=7300406056, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13749160312, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=16169790312, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13748618112, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=6235572648, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=15494507280, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14153378592, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=6898301888, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=15896621984, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13178598248, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=15092405080, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14285998960, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14142878640, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=6772988304, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13752186992, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14283295560, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13750182264, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14558135176, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=14682884864, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=15489264456, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=16426562392, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13074903896, limit=673906688
Apr 28 05:31:22 webmail kernel: attempt to access beyond end of device
Apr 28 05:31:22 webmail kernel: dm-2: rw=0, want=13074903896, limit=673906688

rhel5-error.jpg
shannon_adamsAsked:
Who is Participating?
 
Martin_J_ParkerCommented:
Okay so there's a bad entry in a directory - so there is a filesystem error.  

As nithinprabhakar says, fsck should fix that - but you will need to keep a close eye on the system and the logs for the next few days as filesystem problems can be an early indication the hard drive is on its way out.  

Check to see what's in /var/log/messages and run dmesg regularly to see if there's any errors.
0
 
stanimirpCommented:
1st You can try run other kernel.
0
 
nithinprabhakarCommented:
Since its showing File System Error you can try running fsck  in single user mode or rescue mode
Unmount the file system and run file system check, and if it shows any corruption fix it and check.

If you need further steps please let me know.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.