Author Topic: nknown directive "ModSecurityEnabled"  (Read 291 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
nknown directive "ModSecurityEnabled"
« on: November 11, 2017, 09:20:47 AM »
hello i have problem web panel


[root@host ~]# service cwpsrv restart
Stopping cwpsrv:                                           [FAILED]
Starting cwpsrv: cwpsrv: [emerg] nknown directive "ModSecurityEnabled" in /usr/local/cwpsrv/conf/cwpsrv.conf:23

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #1 on: November 11, 2017, 11:10:32 AM »
I too have the same problem hav you updated using yum update.

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #2 on: November 11, 2017, 11:23:43 AM »
I have Solved id  :) :) :) :)

just goto the files
 /usr/local/cwpsrv/conf/cwpsrv.conf
/usr/local/cwpsrv/conf/cwp_services.conf
/usr/local/cwpsrv/conf/cwp_panels.conf

and comment out the lines which contains modSecurity and restart cwp.

It solved the issue.

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #3 on: November 11, 2017, 11:32:21 AM »
I too have the same problem hav you updated using yum update.

yes after update not work cwp

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #4 on: November 11, 2017, 11:36:16 AM »
try the above solution it solved the problem.

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #5 on: November 11, 2017, 12:07:52 PM »
try the above solution it solved the problem.
i delete modsecurity lines and white page cwp

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #6 on: November 11, 2017, 01:14:54 PM »
Same problem.

Offline
**
Re: nknown directive "ModSecurityEnabled"
« Reply #7 on: November 11, 2017, 05:08:31 PM »
happened here too, just tried starting it over and over and commenting out offending ModSec lines and it did eventual work  :o

CPU Model: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz
CPU Details: 8 Core (2500 MHz)
Distro Name: CentOS release 6.9 (Final)
Kernel Version: 2.6.32-696.13.2.el6.x86_64
Platform: x86_64 [Dedicated]
CWP version: 0.9.8.273

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #8 on: November 11, 2017, 09:15:03 PM »
try this, it should update cwpsrv to latest version and fix that issue

Code: [Select]
yum clean all
yum update cwpsrv

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #9 on: November 14, 2017, 03:47:21 PM »
try this, it should update cwpsrv to latest version and fix that issue

Code: [Select]
yum clean all
yum update cwpsrv

cwpsrv work but http 500 error panel login

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #10 on: November 15, 2017, 07:11:38 AM »
try checking cwpsrv error log inm folder

/usr/local/cwpsrv/logs/
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: nknown directive "ModSecurityEnabled"
« Reply #11 on: November 15, 2017, 07:37:43 AM »
try checking cwpsrv error log inm folder

/usr/local/cwpsrv/logs/
2017/11/14 19:53:47 [error] 2080#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 46.1.108.18, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/14 23:01:02 [error] 2080#0: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 31.223.35.112, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/14 23:01:02 [error] 2080#0: *3 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:01:02 [error] 2080#0: *3 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:17:04 [error] 2080#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 66.249.81.79, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030", referrer: "http://www.google.com/search"
2017/11/14 23:17:04 [error] 2079#0: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 66.249.93.2, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/14 23:17:04 [error] 2079#0: *12 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 66.249.93.4, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *13 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 31.223.35.112, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-120x120-precomposed.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-120x120-precomposed.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-120x120.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-120x120.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-precomposed.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-precomposed.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-120x120-precomposed.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-120x120-precomposed.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-120x120.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-120x120.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon-precomposed.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon-precomposed.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/apple-touch-icon.png" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /apple-touch-icon.png HTTP/1.1", host: "185.22.185.126:2030"
2017/11/14 23:52:08 [error] 2080#0: *15 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/15 00:16:34 [error] 2080#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 31.223.35.112, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/15 00:16:34 [error] 2080#0: *16 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/15 00:16:34 [error] 2080#0: *16 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/15 00:31:17 [error] 2080#0: *18 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 31.223.35.112, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/15 00:31:18 [error] 2080#0: *18 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 31.223.35.112, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/15 00:31:19 [error] 2080#0: *18 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 31.223.35.112, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/15 09:37:02 [error] 2080#0: *21 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 46.1.108.18, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"
2017/11/15 10:35:00 [error] 2080#0: *23 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 46.1.108.18, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "185.22.185.126:2030"
2017/11/15 10:35:29 [error] 2080#0: *24 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/resources/admin/include/functions.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 46.1.108.18, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "185.22.185.126:2030"