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 ... 43 44 [45] 46 47 ... 57
661
From Sandeep to several complaining of the same issue
Quote
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

662
please post the output of

tail -n 50 /usr/local/cwpsrv/logs/error_log

663
CentOS 7 Problems / Re: Urgent! can't access cwp panel error 500
« on: April 25, 2020, 07:09:57 AM »
Solution...

http://forum.centos-webpanel.com/index.php?topic=8782.msg30572#msg30572

You need to follow the directions to Manually update the files for your servers.

664
CWP API / Re: CWP API - Error SSL with IP or FQDN
« on: April 25, 2020, 02:41:47 AM »
Try using he hostname of the machine.  Your hostname cert should then match.

665
CentOS Configuration / Re: cwp web panel http error 500
« on: April 25, 2020, 01:17:02 AM »
http://forum.centos-webpanel.com/index.php?topic=8782.msg30572#msg30572


Check this out. Do a manual update of the files and services to see if it corrects your issues.

666
CentOS Configuration / Re: cwp web panel http error 500
« on: April 25, 2020, 01:09:10 AM »
Try

yum install cwpphp

667
CentOS Configuration / Re: cwp web panel http error 500
« on: April 25, 2020, 12:42:40 AM »
please post the output of "php -v"

also ls -al /usr/local/cwp/

668
SSL / Re: Want to install Wildcard SSL in CWP
« on: April 25, 2020, 12:23:44 AM »
You can generate your own.  Here is how I did it: (Note my hostname is server3.schaffner.org).  Change schaffner.org to your domain.

Install haveged:  yum install haveged

Generate a tsig: 
cd /etc/named/
dnssec-keygen -a HMAC-SHA512 -b 512 -n acme

Create a new zone called acme.schaffner.org:
/etc/named.conf
Code: [Select]
zone "acme.schaffner.org" {
        type master;
        file "/var/named/acme.schaffner.org.db";
        allow-update {
                key "acme";
        };
};

/var/named/acme.schaffner.org.db
Code: [Select]
$ORIGIN .
$TTL 86400      ; 1 day
acme.schaffner.org      IN SOA  ns1.schaffner.org. rcschaff82.gmail.com. (
                                2020021035 ; serial
                                86400      ; refresh (1 day)
                                7200       ; retry (2 hours)
                                3600000    ; expire (5 weeks 6 days 16 hours)
                                86400      ; minimum (1 day)
                                )
$TTL 14400      ; 4 hours
                        NS      ns1.schaffner.org.  ;   THIS IS IMPORTANT.  DO NOT USE BOTH NAMESERVERS FOR LE
$ORIGIN acme.schaffner.org.
$TTL 60 ; 1 minute

Now the fun part.  You must add a cname for every domain that you want to have a wildcard certificate.  Add the following to those domains dns entries ((**NOTE: This also works for domains not hosted on your server, ex godaddy))
Code: [Select]
_acme-challenge 600     IN      CNAME   _acme-challenge.acme.schaffner.org.
_acme-challenge.* 600     IN      CNAME   _acme-challenge.acme.schaffner.org.

Now you are setup to generate wildcard certificates.  IN this example I added the above cnames to domain.com
Code: [Select]
NSUPDATE_SERVER=localhost NSUPDATE_KEY=/etc/named/acme.key ./.acme.sh/acme.sh --issue --test -d *.domain.com --challenge-alias acme.schaffner.org --dns dns_nsupdate --debug 2
Please not the challenge-alias.  This basically forwards the request for EVERY domain to acme.schaffner.org, and hence why domain.com has to have the CNAME.  I do this so that I only have the one dynamically updated zone.

669
CentOS 7 Problems / Re: Module Reseller Panel not working
« on: April 24, 2020, 01:18:36 PM »
can you post the last lines of /usr/local/apache/domlogs/mosspaco.error.log

670
Apache / Re: 408 HTTP error
« on: April 24, 2020, 01:14:44 PM »
It could be timing out because it can't write to the temp directory.  What size file are you trying to upload?

671
New Modules / [Module] CWP_ShoutCast2
« on: April 24, 2020, 01:10:44 PM »
Here's a new module for the installation on configuration of ShoutCast 2 Servers.

https://github.com/rcschaff82/cwp_shoutcast2

672
CentOS-WebPanel GUI / Re: Disk IO usage graph is not working
« on: April 24, 2020, 08:27:22 AM »
If you are using a VPS, chances are the KVM kernal does not have quota enabled by default.  Try this:

https://www.interworx.com/support/faq/enabling-quotas-centos7/

673
Postfix / Re: unable to change port 25 to 587 in postfix
« on: April 22, 2020, 06:31:50 PM »
Your only option at this point, is an outside provider that accepts port 25 and forwards to your server on a different port.  As for sending, you would have to send to that same outside source and have it forward on port 25.  Iow, you might as well just use a $5 vps for email only.

674
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: April 21, 2020, 06:04:52 PM »
The one thing none of you are posting is your system specs.  If you only have a 1 core 1ghz process you really can't run ClamV.  I personally wouldn't run a mail server on anything less than 2 cores, preferabble 4 cores.

675
New Modules / Re: new module error
« on: April 21, 2020, 06:00:12 PM »
If you don't want to share the code for your module, at least share the format and functions your calling so we can maybe help you.

Pages: 1 ... 43 44 [45] 46 47 ... 57