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

Pages: [1]
1
Varnish / Varnish not installed!!
« on: November 06, 2020, 01:52:07 PM »
Hi you all.

I have CWP-pro version: 0.9.8.1021

I'm using Nginx & Varnish & Apache, when I click on ([Varnish Conf]) I get "Varnish not installed"

And in my menu I don't have varnish conffiguration options.

IS there a reason why that is.

If I add this to the url module=varnish_conf I get this.

Varnish High Performance
Varnish is for more advanced users with high traffic servers!
For best performance use Varnish with RAM!
***Varnish not installed.

Could some one be so kind to assist me or should I talk to support about this.

Best reards

2
DNS / Re: Creating name server
« on: July 21, 2016, 10:22:36 PM »
I have this error to. Can someone please tell us why this is.

3
DNS / Re: Strange bug in named
« on: June 04, 2016, 05:42:07 PM »
BUMP

4
How to / Re: How To Install Forever
« on: May 16, 2016, 11:08:34 AM »
Can you tell me what forever is?

5
Updates / Re: can we update phpMyAdmin and Roundcube Webmail ?
« on: May 10, 2016, 11:44:26 PM »
This did not update roundcube.

6
SSL / Re: How to secure the CWP panel https
« on: May 09, 2016, 10:26:11 PM »
Never mind.

I found out how to do this.

This is what I did.


Code: [Select]
cd /etc/pki/tls/certs/

sr1.domain.ltd is your FQDN

Code: [Select]
nano sr1.domain.ltd.crt
copy all the lines and generate a new SSL from our SSL provider.

empty the file.


Code: [Select]
cat /dev/null > sr1.domain.ltd.crt
insert the new .crt from your ssl provider.

Code: [Select]
nano sr1.domain.ltd.crt
Next

Code: [Select]
nano /usr/local/cwpsrv/conf.d/cwp-ssl.conf
replace server IP with * like this

Code: [Select]
Listen 2031
<VirtualHost 192.168.1.2:2031>
        ServerName 192.168.1.2
        SSLEngine on
   SSLCertificateKeyFile /etc/pki/tls/private/sr1.domain.ltd.key
   SSLCertificateFile /etc/pki/tls/certs/sr1.domain.ltd.crt
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

To

Code: [Select]
Listen 2031
<VirtualHost *:2031>
        ServerName *
        SSLEngine on
   SSLCertificateKeyFile /etc/pki/tls/private/sr1.domain.ltd.key
   SSLCertificateFile /etc/pki/tls/certs/sr1.domain.ltd.crt
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

Then restart cwp service like this /etc/init.d/cwpsrv restart

All is working fine now.

7
SSL / How to secure the CWP panel https
« on: May 09, 2016, 08:58:13 PM »
Can someone explain to me how to secure the CWP panel https://domainname.ext:2031 
with an bought SSL certificate.

8
DNS / Strange bug in named
« on: May 09, 2016, 07:02:49 PM »
Hi.

I have a bug problem and I'm wondering if someone can assist me on fixing this.

Some times named stops do to an error. Now when I try to start named I get this.


Code: [Select]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone pns1.cloudns.net/IN: loaded serial 2013071600
zone pns2.cloudns.net/IN: loaded serial 2013071600
zone ns1.centos-webpanel.com/IN: loaded serial 2013071600
zone ns2.centos-webpanel.com/IN: loaded serial 2013071600
dns_rdata_fromtext: /var/named/mydomain1.is.db:12: near '.': extra input text
zone mydomain1.is/IN: loading from master file /var/named/mydomain1.is.db failed: extra input text
zone mydomain1.is/IN: not loaded due to errors.
_default/mydomain1.is/IN: extra input text
dns_rdata_fromtext: /var/named/mydomain2.is.db:12: near '.': extra input text
zone mydomain2.is/IN: loading from master file /var/named/mydomain2.is.db failed: extra input text
zone mydomain2.is/IN: not loaded due to errors.
_default/mydomain2.is/IN: extra input text
dns_rdata_fromtext: /var/named/10.1.168.192.in-addr.arpa.db:12: near '.': extra input text
zone 10.1.168.192.in-addr.arpa/IN: loading from master file /var/named/10.1.168.192.in-addr.arpa.db failed: extra input text
zone 10.1.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/10.1.168.192.in-addr.arpa/IN: extra input text
dns_rdata_fromtext: /var/named/mydomain3.is.db:12: near '.': extra input text
zone mydomain3.is/IN: loading from master file /var/named/mydomain3.is.db failed: extra input text
zone mydomain3.is/IN: not loaded due to errors.
_default/mydomain3.is/IN: extra input text
[FAILED]

I find this so strange. The extra input text is this ( . ) the dot.

Now I open the file nano /var/named/10.1.168.192.in-addr.arpa.db

And I see that the .  at the 10.1.168.192.in-addr.arpa. 86400 IN NS pns2.cloudns.net  . <----- is not at the right place.
What  I did was move the .  closer to .net like this 10.1.168.192.in-addr.arpa. 86400 IN NS pns2.cloudns.net . <-----

Here is the file.

Code: [Select]
; Panel %version%
; Zone file for 10.1.168.192.in-addr.arpa
$TTL 14400
10.1.168.192.in-addr.arpa.      86400        IN      SOA     pns1.cloudns.net. adolfbragi.gmail.com. (
         2013071600      ; serial, todays date+todays
                86400           ; refresh, seconds
          7200            ; retry, seconds
            3600000         ; expire, seconds
           86400 )         ; minimum, seconds

10.1.168.192.in-addr.arpa. 86400 IN NS pns1.cloudns.net.
10.1.168.192.in-addr.arpa. 86400 IN NS pns2.cloudns.net .<-----

10.1.168.192.in-addr.arpa. IN A 212.30.216.179

localhost.10.1.168.192.in-addr.arpa. IN A 127.0.0.1

10.1.168.192.in-addr.arpa. IN MX 0 10.1.168.192.in-addr.arpa.

mail IN CNAME 10.1.168.192.in-addr.arpa.
www IN CNAME 10.1.168.192.in-addr.arpa.
ftp IN CNAME 10.1.168.192.in-addr.arpa.
; Add additional settings below this line


This happens to all my .db file that the CWP creates at first all is working fine and later on I have to start named again.

can some one please explain why CWP named is doing this.

Here is another .db file.

nano /var/named/mydomain1.is.db

Code: [Select]
; Panel %version%
; Zone file for mydomain1.is
$TTL 14400
mydomain1.is.      86400        IN      SOA     pns1.cloudns.net. gmail.gmail.com. (
         2013071600      ; serial, todays date+todays
                86400           ; refresh, seconds
          7200            ; retry, seconds
            3600000         ; expire, seconds
           86400 )         ; minimum, seconds

mydomain1.is. 86400 IN NS pns1.cloudns.net.
mydomain1.is. 86400 IN NS pns2.cloudns.net . <-----

mydomain1.is. IN A 212.30.216.179

localhost.mydomain1.is. IN A 127.0.0.1

mydomain1.is. IN MX 0 mydomain1.is.

mail IN CNAME mydomain1.is.
www IN CNAME mydomain1.is.
ftp IN CNAME mydomain1.is.
; Add additional settings below this line


As I told you before all my .db files are like this. I have to move the .  to fix this.


Can someone assist me on this.


Best regards.

9
Apache / Re: Default Page Displayed for all domains
« on: April 30, 2016, 09:46:13 AM »
I went to CWP Settings and changed my Default IP to * and the restarted Apache and now my other sites work.

Only took me like 8 hours and 4 complete rebuilds to figure that out...  :-\


This worked for me :) But this will create an error in named. Like this

Checking DNS Zone Record for Domain: yourdomain.ltd   
Checking Zone File: /var/named/yourdomain.ltd.db

dns_rdata_fromtext: /var/named/yourdomain.ltd.db:15: near '*': bad dotted quad
zone yourdomain.ltd/IN: loading from master file /var/named/yourdomain.ltd.db failed: bad dotted quad
zone yourdomain.ltd/IN: not loaded due to errors.

But if your'e behind a router NAT I found out that to fix this is to change the Shared IP: from my external IP to my Local IP.

Now all my websites are working :)

10
Do not change the name backup-3.25.2016_19-18-17_USERNAME.tar.gz to cpmove-USERNAME.tar.gz that will not work.

Upload the backup-3.25.2016_19-18-17_USERNAME.tar.gz to /home folder
and then do the cPanel Migration and search for USERNAME.

11
FINALLY.

I can confirm this. This is working.

Pages: [1]