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.
556
CentOS-WebPanel GUI / Re: cwp to cep migration- firewall issue
« on: May 07, 2020, 02:50:43 PM »
If it works without the firewall, just migrate with it off. Unfortunately, we cannot see how exactly CWP migrates because of encrypted code. If they are using rsync, it could possibly be that port 843 needs to be open, but I can't be sure...
557
CentOS 7 Problems / Re: PHP Version Switcher v2 not chaning PHP version
« on: May 07, 2020, 02:46:50 PM »
It takes around 20 minutes to completely build, at which point it should switch version. I just did it on a test server, and it worked for me.
You could try rebuilding the Vhosts to see if it's an issue with the Server itself.
You could try rebuilding the Vhosts to see if it's an issue with the Server itself.
558
CentOS 7 Problems / Re: PHP Version Switcher v2 not chaning PHP version
« on: May 07, 2020, 01:24:17 PM »
If you are relying on the phpinfo from CWP Admin Panel, that is not an accurate description of what PHP version your websites are using. PHP Version Switcher is for the hosted websites. So it may be confusing.
559
CentOS-WebPanel Bugs / Re: file_get_contents local file issue
« on: May 07, 2020, 01:19:56 PM »
It's neither. DNS worked exactly as expected when using the FQDN. Your machine looked up the IP address of the domain, and it returns the Public IP. Your issue is with the way NAT works, which is exactly what it is also supposed to be doing.
So your solution of adding the domains to the hosts file is a great workaround. The other one can be found here:
So your solution of adding the domains to the hosts file is a great workaround. The other one can be found here:
Code: [Select]
https://www.the-art-of-web.com/system/iptables-nat/
560
CentOS 7 Problems / Re: Can't update cmake3 packages (repositories issue)
« on: May 07, 2020, 01:04:17 PM »
Yum remove python36u-libs-3.6.8-1.el7.ius.x86_64
Yum update
Yum install cmake3
Yum update
Yum install cmake3
561
Installation / Re: private sll for host name
« on: May 07, 2020, 04:20:08 AM »
if hostname.crt doesn't exists, look for the FQDN of your server .crt (EX: srv1.centos-webpanel.com.crt/.key)
562
Updates / Re: Error on yum update python conflict
« on: May 07, 2020, 03:55:27 AM »
Please try to search the forum for future issues. But here you go.
Code: [Select]
yum remove python36u-3.6.8-1.el7.ius.x86_64
yum -y update
yum -y install cmake3
563
Installation / Re: private sll for host name
« on: May 07, 2020, 03:53:07 AM »
It will work, however you need to run "systemctl restart cwpsrv" afterwards to reload the configuration
564
CSF Firewall / Re: How to block a range of IP addresses?
« on: May 06, 2020, 10:28:28 PM »
Individual IP's should be one line. If however you want to block and entire subnet, you could use:
http://www.subnet-calculator.com/cidr.php to type in the IP, and adjust the CIDR to get a list of IP's (At the bottom).
Then use the Net: CIDR Notation to block the whole subnet.
EX: TO block 110.92.30.0 - 110.92.30.255 you would use 110.92.30.0/24
http://www.subnet-calculator.com/cidr.php to type in the IP, and adjust the CIDR to get a list of IP's (At the bottom).
Then use the Net: CIDR Notation to block the whole subnet.
EX: TO block 110.92.30.0 - 110.92.30.255 you would use 110.92.30.0/24
565
CentOS 7 Problems / Re: CWP keeps renaming PHPMyAdmin folder
« on: May 06, 2020, 09:35:03 PM »
Sound's like CWP File updates might be failing. you could run an hourly cron to check if pma exists, if not cp .bak to pma as a workaround.
Are any other issues arising after this happens?
Are any other issues arising after this happens?
566
CentOS 7 Problems / Re: Error After recent Update
« on: May 06, 2020, 09:29:41 PM »
If your IP changes that often, I would file a complain with the ISP. Should be at least 1 day leases on IPs. A workaround would be to utilize a VPN connection to administer your server.
567
CentOS-WebPanel Bugs / Re: System folder links being deleted
« on: May 06, 2020, 09:24:55 PM »
Can you check /etc/Cron.(daily,weekly) to see if there are any suspicious scripts. I've install Cwp at least 20 times and never seen this issue.
568
CentOS-WebPanel Bugs / Re: file_get_contents local file issue
« on: May 06, 2020, 09:18:11 PM »
If Apache, check .htaccess files for redirects.
If nginx check config file for redirects.
As to the issue of "failed to open stream", have you tried with csf off to see if the issue persists?
If nginx check config file for redirects.
As to the issue of "failed to open stream", have you tried with csf off to see if the issue persists?
569
Updates / Re: Default Apache Page on All Domains
« on: May 06, 2020, 09:14:13 PM »systemctl status httpd
in CWP -> WebServers Settings -> Webservers Main COnfig
Check Rebuild all Vhosts and click save
When will people finally understand that this is not working? It never worked for me and people not answering to this makes the problem everlasting.
Has anyone thought that some maybe using nginx and varnish in their setup? What then? You wait for 10 hour long ticket response i quess.
By the way for the people who are looking for the answer is that they forgot to properly handle all instanses of the httpd so i think you should try the following at the command prompt.
killall httpd
/usr/local/apache/bin/httpd -k start
When will users realize that we can't help fix problems without information? You also failed to reply to the original response asking for said information. I don't have a magic wand to fix your problems, but with troubleshooting steps, and information, you would get your help. I'm glad you discovered your issue, bit don't take out your lack of response on those trying to help you. I personally have flagged you now as a do not help person because of your attitude. Best of luck...
570
CentOS 7 Problems / Re: Error After recent Update
« on: May 06, 2020, 02:18:00 PM »
Check the error log /usr/local/cwpsrv/log
Could be your session keys can't be written to the server, or about 30 other factors.
Could be your session keys can't be written to the server, or about 30 other factors.