Author Topic: Cannot Access CWP URL | IP Address:2030  (Read 2483 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot Access CWP URL | IP Address:2030
« 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
« Last Edit: July 16, 2017, 11:34:08 PM by artistrey »

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #1 on: July 18, 2017, 06:48:05 PM »
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
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Cannot Login CWP URL | IP Address:2030
« Reply #2 on: September 04, 2017, 12:35:36 PM »
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

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #3 on: September 04, 2017, 01:09:24 PM »
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
Code: [Select]
cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
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: Cannot Access CWP URL | IP Address:2030
« Reply #4 on: September 07, 2017, 05:51:28 AM »
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!
« Last Edit: September 07, 2017, 05:55:16 AM by MadMan »

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #5 on: September 11, 2017, 06:03:13 AM »
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

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #6 on: September 11, 2017, 11:53:10 AM »
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.
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: Cannot Access CWP URL | IP Address:2030
« Reply #7 on: September 12, 2017, 02:38:40 AM »
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.

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #8 on: September 15, 2017, 06:37:54 AM »
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

Offline
*
Re: Cannot Access CWP URL | IP Address:2030
« Reply #9 on: September 15, 2017, 01:13:25 PM »
check your cron files there should be configuration for automatic updates
file /etc/cron.daily/cwp
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.