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.
1
Installation / Re: Cannot login into the admin panel anymore
« on: October 12, 2025, 03:29:12 PM »
Thanks again for your help!
I did not read it all proper, the most important bit, after the reboot i didn't do this:
I just did read this, did this and it solved the problem.
Super many thanks!
I did not read it all proper, the most important bit, after the reboot i didn't do this:
Code: [Select]
After this you can change the user's password from the cwp administration panel and you will be able to login.I just did read this, did this and it solved the problem.
Super many thanks!
2
Installation / Re: Cannot login into the admin panel anymore
« on: October 12, 2025, 01:02:05 PM »
Thanks again for your quick reply.
The good thing, no serious stuff is running on this, so a reinstall shouldn't be a problem.
Again thanks for your help.
The good thing, no serious stuff is running on this, so a reinstall shouldn't be a problem.
Again thanks for your help.
3
Installation / Re: Cannot login into the admin panel anymore
« on: October 12, 2025, 09:56:23 AM »Sorry, that advice was if you had changed the MariaDB root password. You mean the system user root password! Are you on an EL9 distribution (AlmaLinux 9, Rocky Linux 9)?
If so open /etc/login.defs
Find:
SHA_CRYPT_MAX_ROUNDS 10000
Replace with:
#SHA_CRYPT_MAX_ROUNDS 10000
Reboot. Now re-set the root's password and it will login successfully.
Sorry for the lack of information, i am indeed running CentOS 9
Code: [Select]
[mothew@server01 ~]$ hostnamectl
Static hostname: server01.soberlife.nl
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: 432a6a92f65e49c3b3181e8f0e7f2cab
Boot ID: bc1q4h3rk4hgruu7auyf0dpxtx6hsh86xpq04jx5g5
Virtualization: vmware
Operating System: CentOS Stream 9
CPE OS Name: cpe:/o:centos:centos:9
Kernel: Linux 5.14.0-522.el9.x86_64
Architecture: x86-64
Hardware Vendor: VMware, Inc.
Hardware Model: VMware Virtual Platform
Firmware Version: 6.00I did as you suggested, but still cannot login to CWP.
But thanks for the tip at least!
4
Installation / Re: Cannot login into the admin panel anymore
« on: October 11, 2025, 02:01:40 PM »When changing the root password outside of CWP, make sure to update these two files so they agree with the current PW:
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
/root/.my.cnf
Thanks for your reply, i can try that, but i didn't change the password of the database.
Or doesn't that have todo with this? Cause these files are for the database connection right?
5
Installation / Cannot login into the admin panel anymore
« on: October 10, 2025, 02:26:43 PM »
Hi all,
Sorry if i post this question in the wrong section.
For a while i am running CWP without any problems.
Last week, i decided to change the root password on the server itself, so not through the controlpanel.
After that, i cannot login into the admin panel anymore.
Also, all the packages i created, cannot login to the client area.
To be honest i was thinking, those passwords would be the same as in /etc/passwd, but i guess i am wrong.
Is there anyway i can retrieve access again to the admin area?
Sorry if i post this question in the wrong section.
For a while i am running CWP without any problems.
Last week, i decided to change the root password on the server itself, so not through the controlpanel.
After that, i cannot login into the admin panel anymore.
Also, all the packages i created, cannot login to the client area.
To be honest i was thinking, those passwords would be the same as in /etc/passwd, but i guess i am wrong.
Is there anyway i can retrieve access again to the admin area?
6
CentOS 7 Problems / Re: The encoded file /include/cron.php has expired
« on: November 03, 2021, 12:17:12 PM »
Thanks for your quick reply.
Pretty sure i did already something like that (found in another topic).
But will try again later and will let you know the results!
Pretty sure i did already something like that (found in another topic).
But will try again later and will let you know the results!
7
CentOS 7 Problems / The encoded file /include/cron.php has expired
« on: October 31, 2021, 07:16:27 PM »
Hi All,
(Sorry posted this before in CentOS 6 problems, while i am running centOS 7)
After not have used my server for a while, i tried to start it and update it.
I started ./update_cwp from the script folder.
The next error appeared:
[root@server01 scripts]# ./cwp_api
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_api has expired.
in Unknown on line 0
So of course i started to google.
I saw a few related problemens including this:
https://forum.centos-webpanel.com/index.php?topic=9136.0
Alright that one didn't work.
So i thought encoded... could be some ioncube shit.
Did upgrade ioncude without any result.
Someone has a solution for this issue without reinstalling the whole server?
Thanks in advance!
[edit]
[root@server01 scripts]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
[root@server01 scripts]# cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
<?php
$webpanel_version = "0.9.8.961";
?>
[root@server01 scripts]# php -v
PHP 7.2.23 (cli) (built: Oct 11 2019 19:17:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Because i was like.. well. The system is already f******, i might as well upgrade to centOS 8
Tried todo it with this manual: https://www.tecmint.com/upgrade-centos-7-to-centos-8/
Also didn't work
(Sorry posted this before in CentOS 6 problems, while i am running centOS 7)
After not have used my server for a while, i tried to start it and update it.
I started ./update_cwp from the script folder.
The next error appeared:
[root@server01 scripts]# ./cwp_api
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_api has expired.
in Unknown on line 0
So of course i started to google.
I saw a few related problemens including this:
https://forum.centos-webpanel.com/index.php?topic=9136.0
Alright that one didn't work.
So i thought encoded... could be some ioncube shit.
Did upgrade ioncude without any result.
Someone has a solution for this issue without reinstalling the whole server?
Thanks in advance!
[edit]
[root@server01 scripts]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
[root@server01 scripts]# cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
<?php
$webpanel_version = "0.9.8.961";
?>
[root@server01 scripts]# php -v
PHP 7.2.23 (cli) (built: Oct 11 2019 19:17:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Because i was like.. well. The system is already f******, i might as well upgrade to centOS 8
Tried todo it with this manual: https://www.tecmint.com/upgrade-centos-7-to-centos-8/
Also didn't work
8
CentOS 7 Problems / Server doesn't get SSL
« on: April 11, 2019, 09:15:50 PM »
I am back 
Trying to get my server/laptop back to working.. but for some reason. AutoSSL doesnt get a certificate.
Server is running, all stuff is running.. but the server just doesnt get a certificate,
Any clue on that thing?

Trying to get my server/laptop back to working.. but for some reason. AutoSSL doesnt get a certificate.
Server is running, all stuff is running.. but the server just doesnt get a certificate,
Any clue on that thing?
9
CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:21:25 PM »You must check if the IP in nginx configs exists at the server.
Mmmm... so what you basicly mean.. It does a reverse checkup on the domain/ip?
Cause i made a fake domein.. added it in my hostfile on my pc.
So it does some reverse checkup?
10
CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:17:55 PM »
This btw just solved the problem:
https://stackoverflow.com/questions/3191509/nginx-error-99-cannot-assign-requested-address
https://stackoverflow.com/questions/3191509/nginx-error-99-cannot-assign-requested-address
11
CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:14:58 PM »Try nginx -t or systemctl status nginx . It will show you why this happens.Status of systemctl nginx status was just posted above your reply.
nginx -t output:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed
This bit: nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
Which is weird.. cause i can connect on the hostname.
12
CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:07:19 PM »Hi, try to check if all three WEB servers are work after the rebuild. Also, you can try apache+nginx or nginx+php-fpm 7.x
Thanks for your quick reply.
Just noticed that nginx doesn't want to start indeed.. should have checked that first
13
CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:06:23 PM »
Ooooh wait.. might already have found it..
Now need to find out how to solve this ^^
Code: [Select]
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Starting nginx - high performance web server...
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan nginx[18381]: nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: nginx.service: control process exited, code=exited status=1
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Failed to start nginx - high performance web server.
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Unit nginx.service entered failed state.
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: nginx.service failed.Now need to find out how to solve this ^^
14
CentOS 7 Problems / [Solved] Connection refused
« on: April 11, 2019, 06:02:34 PM »
Hi all,
Just reinstalled one of my laptop with centos7.
Installed the latest version of CWP (version 0.9.8.796).
All working fine.. now changed my webserver to nginx -> varnish -> apache.
After this, every time i get a connection refused ERR_CONNECTION_REFUSED error when visiting a normal file.
Normally, no problem. Just reading some error logs and the problem could be solved. But this time.
Nothing got written in the log files.
If i switch to apache the sites work without any problem.
Someone got a clue?
Just reinstalled one of my laptop with centos7.
Installed the latest version of CWP (version 0.9.8.796).
All working fine.. now changed my webserver to nginx -> varnish -> apache.
After this, every time i get a connection refused ERR_CONNECTION_REFUSED error when visiting a normal file.
Normally, no problem. Just reading some error logs and the problem could be solved. But this time.
Nothing got written in the log files.
If i switch to apache the sites work without any problem.
Someone got a clue?
15
CentOS 7 Problems / Re: Default page appears, even though account completely set up
« on: March 23, 2019, 10:31:41 AM »So what is the real cause?
Do you need to rebuild Apache or maybe just the vhosts files to get things working?
From what i have been reading in these forums. Do you maybe also have something like cwp-httpd running?
