Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kolesar

Pages: [1]
1
CentOS-WebPanel Bugs / Re: Can't login as root to webpanel
« on: September 20, 2017, 11:01:07 AM »
I have found solution on another topic on this forum

Quote
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.

2
CentOS-WebPanel Bugs / Re: Can't login as root to webpanel
« on: September 20, 2017, 10:25:30 AM »
I have same problem

==> /usr/local/cwpsrv/logs/error_log <==
2017/09/20 12:03:02 [error] 2268#0: *13 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 192.168.111.44, server: localhost, request: "GET /login/index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "10.0.9.20:2030"

Pages: [1]