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!

Invalid argument: mod_rewrite

Discussion in 'EasyApache' started by jca2, Sep 18, 2014.

  1. jca2

    jca2 Member

    Joined:
    Sep 17, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Code:
    [crit] (22)Invalid argument: mod_rewrite: Parent could not set permissions on RewriteLock; check User and Group directives
    Configuration Failed
    How can I fix this? This is prevent websites from coming online.
     
  2. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please post apache error log for this site. You get error log files at below location :

    /usr/local/apache/logs/error_log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jca2

    jca2 Member

    Joined:
    Sep 17, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This is the only critical message in the error log, unfortunately I do not have access to it at the moment.
     
  4. jca2

    jca2 Member

    Joined:
    Sep 17, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Her are the logs:

    Code:
    [Thu Sep 18 10:10:08 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu Sep 18 10:10:08 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Thu Sep 18 10:10:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Sep 18 10:10:08 2014] [crit] (22)Invalid argument: mod_rewrite: Parent could not set permissions on RewriteLock; check User and Group directives
    Configuration Failed
     
  5. jca2

    jca2 Member

    Joined:
    Sep 17, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Also can't get apache to work:

    Code:
    root@site [/tmp]# /etc/init.d/httpd restart
    httpd not running, trying to start
    root@site [/tmp]# service httpd status
    
    Looking up localhost
    Making HTTP connection to localhost
    Alert!: Unable to connect to remote host.
    
    lynx: Can't access startfile http://localhost/whm-server-status
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Since Apache is down on your production machine, free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please take backup for you httpd.conf file and the try to rebuild the apache on server using below command :

    Code:
    /scripts/rebuildhttpdconf 
    Above script update your Apache configuration setting.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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