The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to restart apache and getting this error

Discussion in 'EasyApache' started by webcloaker, Oct 24, 2007.

  1. webcloaker

    webcloaker Member

    Joined:
    Jan 5, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Everytime I try to start apache Im getting this

    [root@files ~]# /usr/local/apache/bin/apachectl start
    fopen: Read-only file system
    httpd: could not open error log file /usr/local/apache/logs/error_log.
    /usr/local/apache/bin/apachectl start: httpd could not be started


    What am I doing wrong? the server was working perfectly forever we rebooted now this?
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    It sounds that one or more of your partitions was re-mounted Read-only. It might indicate potential drive failure. I suggest you SS to the server and check /var/log/messages, and your partitions to see which partition is affected.

    FYI, when partitions all of a sudden go to Read-only mode, you should check for errors against the partition/device. For example, let's say your partition is /dev/sda5 run this command:

    grep /dev/sda /var/log/messages
     
  3. webcloaker

    webcloaker Member

    Joined:
    Jan 5, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    thanks for your input on this, seems you were right, we had to have a new harddrive installed,

    They mounted our old as a secondary so I could move stuff back to our domain, which is about 60 gigs worth , Question now is how in the world do I access the old harddrive to get the old stuff off?
     
Loading...

Share This Page