Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    4
    Trophy Points:
    193
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webcloaker

    webcloaker Member

    Joined:
    Jan 5, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice