Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: artistrey on July 16, 2017, 11:30:31 PM
-
Hi,
I'm a bit new to CWP and wanted to harden the CWP server by changing some ssh configurations. Like, PermitRootLogin set to NO. Now I can't access my server on the CWP admin panel. I also changed the SSH port to 2401 instead of the default 22. Now all of the incoming connections seems to be blocked. Can I redeem this server back?
Here's my IP: 172.104.55.107
TIA
-
if you have access to cwp then you can edit this configuration and enable your root access
Other solution is that you contact your server provider for password recovery instructions
-
Hello Team,
Suddenly, I am unable to login into my CWP GUI portal with root credentials. It's showing me blank screen in Firefox and HTTP ERROR 500 in Google Chrome. All the services and websites hosted on this server are working fine except CWP portal login.
When I checked /usr/local/cwpsrv/logs/error_log and found below error. I tried to search in google but nothing is helpful. Also, I tried to reinstall CWP by executing yum reinstall cwpsrv cwpphp command but it didn't works at all.
2017/09/04 17:20:00 [error] 22460#0: *37 FastCGI sent in stderr: "PHP message: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 10.0.0.157, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "linux.concept.co.in:2030"
It would be great if you can refer the above error and let me know how to fix it.
Thanks in Advance!!!
Bharat Pagi
-
do you maybe know what version you had on that server since that looks like an very old version without update ?
you can also check your cwp version from the shell
cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
-
I'm facing the same issue with my cwp, nothing changed or updated before. Noticed it five days ago.
My version is 0.9.8.188
My log entry in detail:
2017/09/03 19:47:55 [error] 1725#0: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "localhost:20300"
I'm accessing the web panel via SSH tunnel, that's the reason for the localhost IP.
Can anyone help please?
Many thanks in advance!
-
Hi,
does anyone has an idea what may be the reason for this issue? I'm totally lost as I find no way to access the web panel. Do I simply have to update cwp to a recent version? Unfortunately even the upgrade script failed with the message that the related - also encoded - PHP script has expired...
Would be great if anyone could help me with an idea.
Many thanks,
Eddie
-
you will need to contact support since your version has expired and its over half year old and they need to check your system and do manual update.
-
Hello, I had the same problem. I am on CentOS 6 with CWP version 0.9.8.188. I started getting a http 500 error on my admin site with the "The encoded file ... has expired." error message in the logs.
I set my machine's system date to Aug 30th using
date -s "30 AUG 2017 10:00:00"
I then ran the upgrade script
sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp
The script ran for a while and I got an error at the end about my server's date being more then 1 day in the past.
I set my system date back to the current date and time and ran the upgrade script again.
sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp
The admin page loaded up right away.
I hope this helps.
-
Hi,
thank you so much! I followed your steps and now I'm again able to logon to the admin page! :)
Seems I have to keep an eye on my CWP and make sure it won't expire again. But now I know at least how to solve it :-)
Thanks again!
Eddie
-
check your cron files there should be configuration for automatic updates
file /etc/cron.daily/cwp
-
Hellow
I installed CWP in a cloud server, today. Installation got succeeded but I can't go to the login screen by IPaddress:2030
This page isn’t working
<IPaddress> is currently unable to handle this request.
HTTP ERROR 500
What am I missing here? Please help