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.

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
     
  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:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
  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.
     
Loading...
Similar Threads - Invalid argument mod_rewrite
  1. jbenes
    Replies:
    2
    Views:
    427

Share This Page