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.
496
New Modules / [SCRIPT] fix_500
« on: May 15, 2020, 02:11:14 AM »
The following script should work to fix the dreaded error 500 CWP issue on both CentOS 6 and 7 automatically
1) login as root
2) nano /scripts/fix_500
3) paste contents below
4) chmod 700 /scripts/fix_500
5) run /scripts/fix_500
1) login as root
2) nano /scripts/fix_500
3) paste contents below
4) chmod 700 /scripts/fix_500
5) run /scripts/fix_500
Code: [Select]
#!/bin/bash
yum -y update cwpphp --enablerepo=cwp
cos=`uname -r | grep -oP "el\K(.)"`
ver=`grep "version" /usr/local/cwpsrv/htdocs/resources/admin/include/version.php | cut -d "\"" -f 2`
case $cos in
[6]*)
echo "CentOs $cos running CWP $ver"
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-$ver.zip
unzip -o cwp2-$ver.zip
rm -f cwp2-$ver.zip
;;
[7]*)
echo "CentOs $cos running CWP $ver"
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-$ver.zip
unzip -o -q cwp-el7-$ver.zip
rm -f cwp-el7-$ver.zip
;;
*)
echo "Not CentOs"
;;
esac
chattr -R -i /usr/local/cwpsrv/var/services/
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
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv
sh /scripts/update_cwp
497
E-Mail / Re: SMTP TLS or SSL not working
« on: May 14, 2020, 11:32:53 PM »
So you "Hostname" is panel.domain.com?
In my example:
Hostname: server3.schaffner.org
domain: schaffner.org
in gmail, I can't use mail.schaffner.org, as GM doesn't forward a "ServerName" request. I have to use server3.schaffner.org as both incoming and outgoing, as postfix's default ssl certificate (NON SANS) is the hostname cert
In my example:
Hostname: server3.schaffner.org
domain: schaffner.org
in gmail, I can't use mail.schaffner.org, as GM doesn't forward a "ServerName" request. I have to use server3.schaffner.org as both incoming and outgoing, as postfix's default ssl certificate (NON SANS) is the hostname cert
498
CentOS-WebPanel Bugs / Re: Suspended Account with DNS record pointing to another server not being suspended
« on: May 14, 2020, 11:30:26 PM »
DNS is DNS. If you point it away from your server, then there's nothing you can do about the other server. One Option might be to point the DNS at your server, and use a 301 ridirect to shopify. So when you suspend, the redirect goes away and they see the suspended page.
You will have to manually NULL route their DNS to your suspended page when you suspend if you keep the DNS pointed away from your server.
You will have to manually NULL route their DNS to your suspended page when you suspend if you keep the DNS pointed away from your server.
499
CentOS-WebPanel GUI / Re: CWP File Manager in Account has disappeared
« on: May 14, 2020, 08:02:47 PM »
In cwp admin, search for feature manager
500
E-Mail / Re: SMTP TLS or SSL not working
« on: May 14, 2020, 08:01:24 PM »
What "mail servers" are you using? Hostname, or mail.domain.com
501
SSL / Re: ssl not matching
« on: May 14, 2020, 03:22:10 PM »
You may want to run autossl on that domain again. Seems like it did www.domain and not just domain when it requested. You should also check the log to see if there was an issue with letsencrypt
502
E-Mail / Re: SMTP TLS or SSL not working
« on: May 14, 2020, 03:19:39 PM »
Make sure the firewall is open. As for slow sending, roindcube uses phpmail, whole clients have to route through postfix. Bit it shouldn't take too long unless there is an issue.
503
SSL / Re: how to install third Party ssl
« on: May 14, 2020, 03:17:45 PM »
Type ssl in the search box above the menu. I might have the wrong tab. But you can paste the cert info into the text fields.
504
SSL / Re: ssl not matching
« on: May 14, 2020, 02:24:13 PM »
Where do you get the mismatch error? Preferably screenshot
505
SSL / Re: how to install third Party ssl
« on: May 14, 2020, 01:28:11 PM »
Alternatively
CWP -> Server Settings -> SSL Certificates
Manual Install
CWP -> Server Settings -> SSL Certificates
Manual Install
506
E-Mail / Re: SMTP TLS or SSL not working
« on: May 14, 2020, 01:23:28 PM »
Gmail is tempermental to say the least. I have to connect via TLS to the hostname, as google doesn't not send the "Servername" with the connections for SANS to work.
507
SSL / Re: how to install third Party ssl
« on: May 14, 2020, 01:19:45 PM »
Private keys go in /etc/pki/tls/private
Certs go in /etc/pki/tls/certs
If you generate a self signed for a domain, you will see what files need to be there.
Certs go in /etc/pki/tls/certs
If you generate a self signed for a domain, you will see what files need to be there.
508
CentOS 7 Problems / Re: NameServer Ip Not Resolves
« on: May 14, 2020, 10:11:27 AM »
Is your DNS Server reachable from the outside world? Make sure port 53 is open in your firewall. IF you are behind a NAT, make sure the ports are forwarded.
509
CentOS 7 Problems / Re: php ini not changing
« on: May 14, 2020, 08:30:59 AM »Good Morning.Most likely it's not a PHP issue, but a server timeout issue withing the web applications. Please provide your setup. (Ngx-Var-Apache/ Ngx->Apache) ETC
I wrote to the Centos Web Panel support and they respond with a arrogance that I sincerely consider changing the control panel, I've got Centos Web Panel Pro but I'm tired because this control panel has 3 serious problems and maybe someone who can help me.
1) I changed all the settings of all the php.ini corresponding to the default version and each version (I have a pro license) and always when a file is being uploaded, when it reaches 100MB the transfer is stoped and I can't transfer files. There is nothing to indicate that it stops at 100MB, nor does the time limit elapse.
Quote
2) Although it corresponds to another topic but I write it here in case someone could solve it because the centos web panel support does not respond to me, when I create a hosting plans from the root user, I assign a space to each plan. When I create the hosting account, no plan has an allocated space and it appears as if each hosting account is empty (but the files exist) and no space limit works with this failure. This error has always existed since I acquired the pro license and no one ever solved it.If your using XFS filesystem with CentOS7, you need to enable quota's via the kernal. Search the forum for "XFS Quota" and there is a guide.
Quote
Is ClamAV running? PLease post the output of the "top" command.
3) I can't find a way to make the server work faster, the same VPS and with half the RAM it works faster with cPanel than with Centos Web Panel, there is no logic. I made the comparison having both activated simultaneously and with the same number of hosting accounts. It's a shame that cPanel has been so expensive for not too long.
Maybe can help help me or maybe I can help to another person, but I'm tired, when I comment on the errors of this control panel, it seems that the support gets angry. If I programmed something wrong and someone warned me, I would try to fix it.
At first I never wrote criticizing, I just wrote pleading to fix those flaws but they never did. Automatic import from cPanel also never worked correctly.
Best regards,
Horacio Adolfo Aulicino.
[/quote]
510
DNS / Re: can i change main domain in cwp pro
« on: May 14, 2020, 06:11:14 AM »
if you want to, you can keep your origional domain, AND added your new domain to the hostnme certificate. CWP listenes on all IP's for all domains, so you shouldn't need to change anything for CWP, other than regenerating the hostname certificate.