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!

Apache Conf going Read-Only every 24 hr

Discussion in 'EasyApache' started by cretu, Jun 20, 2007.

  1. cretu

    cretu Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    We have a weird problem on one of the server: httpd.conf goes read-only - in results, Apache stops and only remedy would be restarting whole server.

    I have rebuilt the whole Apache, logs do not say anything else except that Apache cannot be restarted.

    Can you advice?

    Cretu
     
  2. dspillett

    dspillett Active Member

    Joined:
    Oct 2, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    httpd.conf being read only shouldn't upset Apache - it only needs to read the file, not write to it.

    Is it *only* this file that goes readonly, or the entirefilesystem - if it is the latter then you probably have something curropting the file system (perhaps the drive is dying?) and the kernel is seeing that and remount the filesystem read-only in an effort to protect against further damage until you run fsck (either manually or during the boot process)?

    What is your partition structure like? If you have *everything* in one partition, and that one is going read-only, then everything goes read-only at once including apache logs and /tmp both of which may well upset apache (and a number of other things).
     
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