jca2

Member
Sep 17, 2014
12
0
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.
 

server9host

Well-Known Member
Sep 18, 2013
160
0
16
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
 

jca2

Member
Sep 17, 2014
12
0
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
 

jca2

Member
Sep 17, 2014
12
0
1
cPanel Access Level
Root Administrator
Also can't get apache to work:

Code:
[email protected] [/tmp]# /etc/init.d/httpd restart
httpd not running, trying to start
[email protected] [/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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463
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.
 

server9host

Well-Known Member
Sep 18, 2013
160
0
16
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.