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

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

Get CWPpro ›

root User cannot login to Cwp

Started by balron, September 20, 2024, 12:46:17 PM

Previous topic - Next topic

balron

Hello,

After the fresh install , I have changed root password by ssh terminal passwd command, Now i cannot login to cwp panel
It says login failed but i can login to server via ssh with new root password.

What is the issue? Is it bug or do i need to run some sh script to update cwp or something else?
I have double check the url is correct : serverIP:2031/login/index.php

It is running on CentOS 9, all the websites and databases works well , I just cannot connect to cwp

I have got some error messages here, all cwp login related errors started after 2 dayf of fresh installaton
/usr/local/cwpsrv/logs/error_log


2024/09/02 00:12:34 [error] 22179#0: *2121 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property 'apache_additional' of non-object in /usr/local/cwpsrv/var/services/users/index.php on line 0PHP message: PHP Notice:  Trying to get property 'dns' of non-object in /usr/local/cwpsrv/var/services/users/index.php on


22179#0: *2725 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: mod_security in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0" while reading response header from upstream, client: 178.233.17.82, server: localhost, request: "POST /cwp_2502dbb9f76d296e/erc/erc/index.php?module=mod_security&acc=loadrules HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/erc.sock:", host: "46.101.192.105:2083", referrer: "https://46.101.192.105:2083/cwp_2502dbb9f76d296e/erc/?module=mod_security"
2024/09/02 00:20:40 [error] 22178#0: *2794 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 178.233.17.82, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "46.101.192.105:2031", referrer: "https://46.101.192.105:2031/cwp_40117dccf33b3f7b1e1abb6c981736bf/admin/fileManager_v2.php"


2024/09/02 11:47:31 [error] 32465#0: *11759 open() "/usr/local/cwpsrv/var/services/users/login/admin/console/index.html" failed (2: No such file or directory), client: 77.221.148.157, server: localhost, request: "GET /admin/console/index.html HTTP/1.1", host: "46.101.192.105:2083", referrer: "http://46.101.192.105:2083/admin/console/index.html"

2024/09/02 12:03:49 [error] 32464#0: *12163 open() "/usr/local/cwpsrv/var/services/roundcube/login" failed (2: No such file or directory), client: 137.184.88.139, server: localhost, request: "POST /login HTTP/1.1", host: "46.101.192.105:2095"
2024/09/02 12:06:15 [error] 32465#0: *12221 open() "/usr/local/cwpsrv/var/services/roundcube/m6Du" failed (2: No such file or directory), client: 96.126.104.20, server: localhost, request: "GET /m6Du HTTP/1.1", host: "46.101.192.105:2096"
2024/09/02 12:42:36 [error] 32465#0: *13096 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 184.105.247.196, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "46.101.192.105:2031"


Here is the last errors:

2024/09/20 10:52:48 [error] 165936#0: *227 open() "/usr/local/cwpsrv/var/services/users/login/new/login" failed (2: No such file or directory), client: 77.221.148.157, server: localhost, request: "GET /new/login HTTP/1.1", host: "46.101.192.105:2083", referrer: "http://46.101.192.105:2083/new/login"
2024/09/20 10:52:52 [error] 165936#0: *229 open() "/usr/local/cwpsrv/var/services/users/login/admin/console/index.html" failed (2: No such file or directory), client: 77.221.148.157, server: localhost, request: "GET /admin/console/index.html HTTP/1.1", host: "46.101.192.105:2083", referrer: "http://46.101.192.105:2083/admin/console/index.html"
2024/09/20 10:57:36 [error] 165935#0: *246 open() "/usr/local/cwpsrv/var/services/users/login/init" failed (2: No such file or directory), client: 77.221.148.157, server: localhost, request: "GET /init HTTP/1.1", host: "46.101.192.105:2083", referrer: "http://46.101.192.105:2083/init"
2024/09/20 11:50:58 [info] 165935#0: *267 client 77.221.148.157 closed keepalive connection
2024/09/20 12:03:58 [error] 165936#0: *269 open() "/usr/local/cwpsrv/htdocs/admin/0Hmw" failed (2: No such file or directory), client: 96.126.104.20, server: localhost, request: "GET /0Hmw HTTP/1.1", host: "46.101.192.105:2031"
2024/09/20 12:03:59 [error] 165935#0: *268 open() "/usr/local/cwpsrv/var/services/users/login/0Hmw" failed (2: No such file or directory), client: 96.126.104.20, server: localhost, request: "GET /0Hmw HTTP/1.1", host: "46.101.192.105:2083"


sivehost

Try downgrading your OS to CentOS 8 ?
Had a similar issue with both Alma and Rocky Linux 9, 8 could login fine.


Starburst

Depending on what image your host used, this can or can't be a problem.
It's related to which encryption the host selected when they created the image.

This also can result in AL9 not talking to AL8 to do a CWP -> CWP migration.

See the link @overseer posted, it's a simple fix.