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 - rcschaff

Pages: 1 ... 34 35 [36] 37 38 ... 55
526
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)

527
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

528
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

529
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

530
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?

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

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

533
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?

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

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

536
PHP / Re: Error: 502 Bad Gateway
« on: May 06, 2020, 02:15:08 PM »
If you can run php files in the root folder, it's a permission issue.  Of you can't, php-fpm might not be running.

537
9 chances out of 10:



Code: [Select]
Hello,

Test what is the cwp PHP version and if it is updated to 7.2

/usr/local/cwp/php71/bin/php -v
PHP 7.2.30

if PHP was not updated to 7.2 then try manually
yum update cwpphp --enablerepo=cwp

**Manual update CentOS 7 (ignore if you have CentOS 6)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip
```

**Manual update CentOS 6 (ignore if you have CentOS 7)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
```


**Manual update for services (This steep must be done for CentOS 6 and 7)**
```
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
```

Test if all is ok, it should run update without errors
```
sh /scripts/update_cwp
```

If you get error like:
> Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS

then run this:

```
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv

538
CentOS 7 Problems / Re: HTTP ERROR 500 on admin
« on: May 06, 2020, 01:28:49 AM »
Code: [Select]
Hello,

Test what is the cwp PHP version and if it is updated to 7.2

/usr/local/cwp/php71/bin/php -v
PHP 7.2.30

if PHP was not updated to 7.2 then try manually
yum update cwpphp --enablerepo=cwp

**Manual update CentOS 7 (ignore if you have CentOS 6)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip
```

**Manual update CentOS 6 (ignore if you have CentOS 7)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
```


**Manual update for services (This steep must be done for CentOS 6 and 7)**
```
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
```

Test if all is ok, it should run update without errors
```
sh /scripts/update_cwp
```

If you get error like:
> Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS

then run this:

```
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv

This has been posted to the forum at least 20 times. But here you go...

539
Mod_Security / Re: I have + 100 error line ModSecurity
« on: May 06, 2020, 01:26:34 AM »
Those aren't "Errors"  That's exactly what ModSecurity is supposed to do to prevent exploits.  If you NEED to run those scripts, you'll have to whitelist yourself to run them.  I'm not sure if there are any ModSecurity experts here, but a good start would be to look at the documentation on https://www.modsecurity.org/.

540
SSL / Re: Unable to issue AutoSSL
« on: May 05, 2020, 01:02:47 PM »
You need more of the log.  No errors reported on that tail.  Try tail -n 50

Pages: 1 ... 34 35 [36] 37 38 ... 55