Results 1 to 6 of 6
  1. #1

    Hard Disk issue in server

    Hi,

    I have RHEL 4 dedicated server - i that server i face filesystem issue - the issue is that the filesystem is changed to read-only mode and services ( apache,mysql ) are stopping - when in try to edit any file or change the ownership of file it shows the error like :

    chown: changing ownership of `about.php': Read-only file system

    I have ran fsck and e2fsck but no use

    What can i do plz help me to get out of this issue

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    Did you run fsck under single user mode?
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  3. #3
    Join Date
    Mar 2009
    Location
    Austin, TX
    Posts
    934
    There is a reason why the OS puts FS into read-only mode. You may have a bad disk.

    Can you check your FS setting for "errors=remount-ro" in /etc/fstab?
    SysAdmin.xyz
    Having severs with customer data on it without proper monitoring is like having one night stand without using protections - eventually, there will be an 'oh s**t!' moment.

  4. #4
    Hi,

    Thanks for your replies...

    @Patrick

    Yes in ran fsck and e2fsck in signel usermode...

    @quad3datwork

    There is no such entries "errors=remount-ro" in my fstab

  5. #5
    Join Date
    Mar 2009
    Location
    Austin, TX
    Posts
    934
    That's odd. Have you looked at dmesg/syslog and see what caused the OS to put FS into read-only mode? Things don't happen for no reason. And, it's very likely logged.
    SysAdmin.xyz
    Having severs with customer data on it without proper monitoring is like having one night stand without using protections - eventually, there will be an 'oh s**t!' moment.

  6. #6
    @quad3datwork

    Thank for your response...

    i can see the line like the following in dmesg

    EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
    EXT3 FS on dm-0, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.

    Adding 2048276k swap on /dev/sdb2. Priority:-1 extents:1
    Adding 1959920k swap on /dev/sda3. Priority:-2 extents:1



    Also is there any possiblity for hacking ? and keep my FS read only - if so how do detect those ?

Similar Threads

  1. High Hard disk space server with low specs
    By vaicine in forum Web Hosting
    Replies: 13
    Last Post: 02-11-2011, 03:44 AM
  2. High server loads and hard disk damage ?
    By SecondSight in forum Dedicated Server
    Replies: 3
    Last Post: 10-19-2006, 01:25 PM
  3. Hard Disk Space in Linux Server
    By softstor in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-15-2006, 04:17 AM
  4. server with large hard disk space options
    By renski in forum Dedicated Server
    Replies: 9
    Last Post: 08-15-2006, 12:10 PM
  5. dedicated server with 1 terabyte hard disk space
    By thegreat in forum Dedicated Server
    Replies: 7
    Last Post: 05-06-2004, 10:15 PM

Posting Permissions

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