New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Cant access admin area - 500 error

Started by anandmys, October 25, 2026, 02:43:08 PM

Previous topic - Next topic

jeffshead

I believe I got hit by the PHP2SHELL vulnerability. I experienced several issues. I ended up restoring a 5 day old backup of the entire server VM. That worked and so far, I haven't encountered the previous errors.



However, I suffered from the same issue (after updates were applied) of not being able to access the admin and getting the 500 error. I ran the QuickFix posted Administrator and can once again access the admin but I still get the following errors and the counters on the dashboard do not auto-update every 5 seconds like they're supposed to:


2026/10/27 19:08:05 [crit] 547931#0: *1 connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (2: No such file or directory) while connecting to upstream, client: 10.10.10.10, server: localhost, request: "GET /cwp_teffb8f756156acde5d815e1b9730053/admin/loader_ajax.php?ajax=dashboard&updateCWP=yes HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "server.example.com:2031", referrer: "https://server.example.com:2031/cwp_teffb8f756156acde5d815e1b9730053/admin/index.php?"
2026/10/27 19:08:05 [crit] 547931#0: *1 connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (2: No such file or directory) while connecting to upstream, client: 10.10.10.10, server: localhost, request: "GET /cwp_teffb8f756156acde5d815e1b9730053/admin/loader.php?func=get_load&_=1793142453397 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "server.example.com:2031", referrer: "https://server.example.com:2031/cwp_teffb8f756156acde5d815e1b9730053/admin/index.php?"
2026/10/27 19:08:06 [crit] 547932#0: *4 connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (2: No such file or directory) while connecting to upstream, client: 10.10.10.10, server: localhost, request: "GET /cwp_teffb8f756156acde5d815e1b9730053/admin/loader.php?func=get_top_short&_=1793142453398 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "server.example.com:2031", referrer: "https://server.example.com:2031/cwp_teffb8f756156acde5d815e1b9730053/admin/index.php?"


How do you fix this?


robb4444

Hi everyone and thank you for all of the help.
I'm running into the same issue I have downloaded ,checked and run the quick fix script and I get this return any ideas?

[root@e3 ~]# sh /root/cwp83fix.sh --check
=== Wed Nov 14 08:49:19 CST 2018 cwp83fix start (check-only=1)
EL=7 rpm=cwpphp-8.3.36-1.x86_64 panel: admin=500 user=500
pcre2 rebuild needed: 0
cwpphp version: 8.3
old encoding: /usr/local/cwpsrv/htdocs/admin/index.php
old encoding: /usr/local/cwpsrv/htdocs/admin/login/index.php
old encoding: /usr/local/cwpsrv/var/services/users/login/index.php
code update needed: 1
[root@e3 ~]# ls
anaconda-ks.cfg  cwp83fix.sh          e3.ktownhost.net.key.org  package.json      server.js
cwp83fix        e3.ktownhost.net.csr  node_modules              package-lock.json
[root@e3 ~]# sh /root/cwp83fix.sh
=== Wed Nov 14 08:53:33 CST 2018 cwp83fix start (check-only=0)
EL=7 rpm=cwpphp-8.3.36-1.x86_64 panel: admin=500 user=500
pcre2 rebuild needed: 0
cwpphp version: 8.3
old encoding: /usr/local/cwpsrv/htdocs/admin/index.php
old encoding: /usr/local/cwpsrv/htdocs/admin/login/index.php
old encoding: /usr/local/cwpsrv/var/services/users/login/index.php
code update needed: 1
downloading cwp-el7-php-83.zip from CDN
curl: option --retry-connrefused: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
ERROR: download of cwp-el7-php-83.zip failed