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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache Conf going Read-Only every 24 hr

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

  1. cretu

    cretu Well-Known Member

    Jul 21, 2002
    Likes Received:
    Trophy Points:

    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?

  2. dspillett

    dspillett Active Member

    Oct 2, 2005
    Likes Received:
    Trophy Points:
    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).

Share This Page