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.
196
Installation / Re: What distro to go for..
« on: March 29, 2022, 10:29:14 PM »I'm not sure about the fear for centos 8 stream with delayed cwp repos. I'm running it.
Did I make a mistake?
The issue with CentOS, is that there is no "In Place" upgrade option. If you go 8, when 9 comes out, you will have to do a complete reinstall. Unlike Ubuntu/Debian, where you can simply change the version in apt, and do an in place upgrade. Not sure about the other 2 listed if that is possible.
197
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 06:10:14 AM »
That's fine.
198
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 05:26:01 AM »
is 87.121.167.48 still listed as an IP in CWP. If it is, remove it, and try rebuilding vhosts again
199
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 04:26:13 AM »
Can you post one of the config files from
If Nginx: /etc/nginx/conf.d/vhosts
if apache: /usr/local/apache/conf.d/vhosts
If Nginx: /etc/nginx/conf.d/vhosts
if apache: /usr/local/apache/conf.d/vhosts
200
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 03:49:18 AM »
I see that you use remote DNS for your domains. Did you update the A records for the domains to point to the new ip?
201
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 02:57:32 AM »
To Start, Log into CWP Admin.
First go here:
admin/index.php?module=ip_manager
Make sure the NEw IP is assigned
Then
admin/index.php?module=settings
Set the shared IP to the new IP
Then
/admin/index.php?module=WebServers_conf
Check Rebuild all webservers on save, and click save.
If you have any sites that use an individual config, they will need to be rebuilt as well:
admin/index.php?module=WebServers_domain
Now. If you have removed the Old IP (Or plan to), You will have to rebuild your mailservers as well. Everything on your system is tied to the original IP (especially SSL based software). So we need to know if you are keeping the old IP, or removing it. But the initial step above will get your started.
First go here:
admin/index.php?module=ip_manager
Make sure the NEw IP is assigned
Then
admin/index.php?module=settings
Set the shared IP to the new IP
Then
/admin/index.php?module=WebServers_conf
Check Rebuild all webservers on save, and click save.
If you have any sites that use an individual config, they will need to be rebuilt as well:
admin/index.php?module=WebServers_domain
Now. If you have removed the Old IP (Or plan to), You will have to rebuild your mailservers as well. Everything on your system is tied to the original IP (especially SSL based software). So we need to know if you are keeping the old IP, or removing it. But the initial step above will get your started.
202
CentOS 7 Problems / Re: I change server IP adress and every website stop working.
« on: March 29, 2022, 02:05:12 AM »
You need to rebuild all of the Config files in CWP
203
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 28, 2022, 03:22:27 AM »
I'm honestly at a loss mate. Everyting "Looks" good.
The only thing I can think of is to run the following scripts and see what happens:
/scripts/update_cwp
/scripts/cwp_update_all
/scripts/restart_cwpsrv
The only thing I can think of is to run the following scripts and see what happens:
/scripts/update_cwp
/scripts/cwp_update_all
/scripts/restart_cwpsrv
204
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 28, 2022, 02:19:55 AM »205
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 28, 2022, 12:32:03 AM »
Please post the results of the following command:
tail -n 50 /usr/local/cwpsrv/logs/error_log
tail -n 50 /usr/local/cwpsrv/logs/error_log
206
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 27, 2022, 06:38:01 PM »
Please run
sh /scripts/mysql_pwd_reset
sh /scripts/mysql_pwd_reset
207
CentOS-WebPanel GUI / Re: Captcha on admin login page
« on: March 26, 2022, 03:59:22 PM »
There is no Captcha, but here's what I do to secure my server.
Step 1: Get a dynamic DNS address
Step 2: add your dynamic DNS hostname to /etc/csf/csf.dyndns
Step 3: Remove ports 2030,2031, 2086, 2087 from TCP_IN/TCP6_IN in /etc/csf/csf.conf
Restart the Firewall.
By being in the dyndns, you are able to bypass the firewall completely, so you have access to those ports, so they do not need to be open to the public.
Step 1: Get a dynamic DNS address
Step 2: add your dynamic DNS hostname to /etc/csf/csf.dyndns
Step 3: Remove ports 2030,2031, 2086, 2087 from TCP_IN/TCP6_IN in /etc/csf/csf.conf
Restart the Firewall.
By being in the dyndns, you are able to bypass the firewall completely, so you have access to those ports, so they do not need to be open to the public.
208
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 26, 2022, 03:16:26 AM »
It seems like mariadb is running. When exactly are you getting that error?
209
MySQL / Re: Problem Danger: MySQL - BAD CONFIGURATION DETECTED
« on: March 26, 2022, 01:24:42 AM »
please post the results of " journalctl -xeu mysqld "
Also, when you go into ssh, and run " mysql ", what does it say?
Also, when you go into ssh, and run " mysql ", what does it say?
210
SSL / Re: SSL install when domain is not pointed to the server.
« on: March 26, 2022, 01:23:21 AM »
If the main server get's it's certificate from LE, you can "Deploy" the certificate to you backup CWP. All depends on what program the main server uses to get a certificate. CWP uses acme.sh