Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: f3biz on March 02, 2023, 01:50:28 PM
-
Hi to all, I can't access more to my Admin/root panel of CWP.
I do the login and get many redirects error.
I have tryed many cli command but nothing solve this error.
Reinstalled cwp, reloaded and restarted... nothing
Rebuilded apache too, but nothing.
Anyone can help me?
-
how u can rebuild apache if you cant login?
btw turn off adblock and allow cookies and disable VPN
-
Cookie is allowed, and adblock is not activated.
I rebuild it via cli
-
Anyone can help me???
Users access to control panel, and root/admin can't accesso to cwp..
-
if you can ping your server
then try change the root pwd
after that relogin to cwp using the new password (user root)
if you cant ping :D try to get in and disable csf
btw
can you screenshot what kind of error
-
I think the problem is 2FA plugin for cwp.
Because when login I inser root username and password, then ask me the 2fa code, I put the code and will get many redirect error.
I have tryed to uninstall cwp 2FA plugin and get this error
setenforce: SELinux is disabled
uninstall.sh: line 7: syntax error near unexpected token `>'
uninstall.sh: line 7: `exec > >(tee -ia $logFile)'
After that I have tryed to exec update admin script via sh /scripts/cwp_update_admin
and get this other error
cat: /usr/local/cwpsrv/htdocs/resources/admin/version.txt: No such file or directory
/scripts/cwp_update_admin: line 14: [[: 0.9.8.1140: syntax error: invalid arithmetic operator (error token is ".9.8.1140")
Could it be a token issue? Because I get an token error?
-
I have tried to remove 2FA, and I do this command
sh /usr/local/src/cwp_2fa/uninstall.sh
and get this
[root@srv2 cwp_2fa]# ./uninstall.sh
setenforce: SELinux is disabled
0.9.8.1151
username
user1
user2
user3
user4
user5
user6
sed: -e expression #1, char 1: unknown command: `,'
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login//design
tail: cannot open ‘/usr/local/cwpsrv/htdocs/admin/login/index.php’ for reading: No such file or directory
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services/users/login//cwp_theme
tail: cannot open ‘/usr/local/cwpsrv/var/services/users/login/login.php’ for reading: No such file or directory
/////Uninstalling User Panel Files/////
and now when I try to open cwp panel get 404 error