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

Pages: [1] 2 3 ... 10
1
Apache / Re: HELP APACHE.
« on: Today at 05:01:12 AM »
Are you behind a router? Do you have the ports opened, forwarded and unused by other apps?

2
DNS / Re: BIND DNS Server problem
« on: October 16, 2017, 05:08:16 PM »
Can you paste here lines 14, 16 and 18 ?

3
Do you have A record for "server.asomimp3.com" ?

4
Installation / Re: hello.... (not sure where this goes...)
« on: October 15, 2017, 01:31:15 PM »
Both of the links are ok, just add ":2030" or ":2031" after the domain. http://www.diapersabdl.com:2030 or http://panel.diapersabdl.com:2030 for HTTP and http://www.diapersabdl.com:2031 or http://panel.diapersabdl.com:2031 for HTTPS (you will get Not Secure and red bar in the browser). It`s not an error, just accept it and continue with it. Have fun.

5
CentOS 6 Problems / Re: server down after change server ip ? apache error
« on: October 15, 2017, 06:11:37 AM »
you need to check apache error_log ...

latest errors is this

AH02561: Failed to configure certificate host.***.net:443:0, check /etc/pki/tls/certs/host.***.net.cert
 [ssl:emerg] [pid 2490:tid 140349867616000] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
 [ssl:emerg] [pid 2490:tid 140349867616000] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib

any suggestion? pls
There`s an error in your "/etc/pki/tls/certs/host.***.net.cert". Create new certificate for "host.***.net.cert" using Apache Settings -> SSL Cert Manager or Certbot, replace with the new files in Apache Settings -> Apache Include Conf -> vhosts-ssl.conf and restart apache. If using Certbot, on the place for
Code: [Select]
SSLCertificateFile /etc/pki/tls/certs/host.***.net.cert
 SSLCertificateKeyFile /etc/pki/tls/private/host.***.net.key
 SSLCertificateChainFile /etc/pki/tls/certs/host.***.net.bundle
Use:
Code: [Select]
SSLCertificateFile /etc/letsencrypt/live/host.***.net/fullchain.pem
 SSLCertificateKeyFile /etc/letsencrypt/live/host.***.net/privkey.pem
 SSLCertificateChainFile /etc/letsencrypt/live/host.***.net/fullchain.pem
Else use standart files created by SSL Cert Manager.

6
CentOS 6 Problems / Re: server down after change server ip ? apache error
« on: October 15, 2017, 06:01:50 AM »
Just open the file, remove the line and restart apache:
Code: [Select]
nano -w /usr/local/apache/conf.d/ssl.conf
Delete line 9 where "Name VirtualHost" is and:
Code: [Select]
service httpd restart
Then you will stop seeing this Warning.

7
As CWP6/7 cannot be deinstalled you need to reinstall the whole OS. My advice is to run the installer again.
Code: [Select]
cd /usr/local/src
sh cwp-el7-latest
Let it finish and check again for pma. If it`s not working try like this:
Code: [Select]
cd /usr/local/cwpsrv/var/services
wget -q http://dl1.centos-webpanel.com/files/mysql/phpMyAdmin-4.6.6-all-languages.zip
unzip -o phpMyAdmin-4.6.6-all-languages.zip
mv phpMyAdmin-4.6.6-all-languages pma
rm -Rf phpMyAdmin-4.6.6-all-languages.zip pma/setup
mv /usr/local/cwpsrv/var/services/pma/config.sample.inc.php /usr/local/cwpsrv/var/services/pma/config.inc.php
ran_password=$(</dev/urandom tr -dc A-Za-z0-9 | head -c32)
sed -i "s|\['blowfish_secret'\] = ''|\['blowfish_secret'\] = '${ran_password}'|" /usr/local/cwpsrv/var/services/pma/config.inc.php
Please report if one of the ways is working.

8
Apache / Re: 500 Internel Server Errow For File Upload
« on: October 15, 2017, 02:47:35 AM »
Did you tried to go to User Accounts -> Fix Permissions? A common mistake is that people use root to upload/move files to user directories and then they get 500 error. Try with Fix Permissions and if it`s not helping let me know.

9
DNS / Re: BIND DNS Server problem
« on: October 14, 2017, 05:00:58 AM »
I will rewrite your named.conf, so just copy from here, delete everything in your named.conf and paste this:
Code: [Select]
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a any DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// See the BIND Administrator's Reference Manual (ARM) for details about the
// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html

options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { ::1; };
        directory    "/var/named";
        dump-file    "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { any; };
        allow-transfer  { any; };
        recursion no;
        dnssec-enable yes;
        dnssec-validation yes;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";
        managed-keys-directory "/var/named/dynamic";
        pid-file "/run/named/named.pid";
        session-keyfile "/run/named/session.key";
};

logging {
    channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
    type hint;
        file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";



// zone domain4
zone "domain4" IN {
                                   type master;
                                   file "/var/named/domain4.db";};
// zone_end domain4

// zone domain4
zone "domain4" IN {
                                   type master;
                                   file "/var/named/domain4.db";};
// zone_end domain4

// zone domain
zone "domain" IN {
                                   type master;
                                   file "/var/named/domain.db";};
// zone_end domain

// zone domain5
zone "domain5" IN {
                                   type master;
                                   file "/var/named/domain5.db";};
// zone_end domain5

// zone domain3
zone "domain3" IN {
                                   type master;
                                   file "/var/named/domain3.db";};
// zone_end domain3

//zone "ns.nsbox.com" IN {type master;file "/var/named/ns.nsbox.com.db";};
//zone "ns12.nsbox.com" IN {type master;file "/var/named/ns12.nsbox.com.db";};


// zone service
zone "service" IN {
                                   type master;
                                   file "/var/named/service.db";};
// zone_end service
// zone domain2
zone "domain2" IN {
                                   type master;
                                   file "/var/named/domain2.db";};
// zone_end domain2

Ok. You need to replace "domain, domain2, domain3, domain4, domain5 and service" with real domains like "jeniha.com" or something else which is real. Also you need to rename all the "file "/var/named/domain.db";" to be "file "/var/named/jeniha.com.db";" for example and then to create a proper "jeniha.com.db". I will give you an example "jeniha.com.db" and you will replace "jeniha.com" with your domain.
Code: [Select]
$TTL 14400
jeniha.com.      86400        IN      SOA     ns1.jeniha.com. root.jeniha.com. (
                    2017101401      ; serial, todays date+todays
                    86400           ; refresh, seconds
                    7200            ; retry, seconds
                    3600000         ; expire, seconds
                    86400 )         ; minimum, seconds

;; NS Records
jeniha.com.     IN      NS      ns1.jeniha.com.
jeniha.com.     IN      NS      ns2.jeniha.com.
jeniha.com.     IN      NS      ns3.jeniha.com.
jeniha.com.     IN      NS      ns4.jeniha.com.
jeniha.com.     IN      NS      ns5.jeniha.com.

;; A Records
jeniha.com.    IN      A       77.236.161.244
localhost.jeniha.com.     IN      A       127.0.0.1

;; AAAA Records
jeniha.com.     IN      AAAA    2001:470:1d1b:e5::11

;; MX Records
jeniha.com.       IN      MX      0       jeniha.com.

;; CNAME Records
www           IN      CNAME           jeniha.com.
mail            IN      CNAME           jeniha.com.
ftp              IN      CNAME           jeniha.com.
irc              IN      CNAME           jeniha.com.
Leaving "domain, domain2, domain3, domain4, domain5 and service" will not work properly for outside. If it`s for LAN it will be ok. If you are not using IPv6 remove the whole ";; AAAA Records and jeniha.com.     IN      AAAA    2001:470:1d1b:e5::11". Try like this and tell me what`s going on. Waiting for your reply.

10
DNS / Re: BIND DNS Server problem
« on: October 13, 2017, 03:31:27 PM »
Got root? Type "whoami" and see the output if you are not sure. Than open the file as root and show me, if you want can be on PM.

11
DNS / Re: BIND DNS Server problem
« on: October 12, 2017, 03:42:36 PM »
CentOS 6 or CentOS 7? As I see "Oct 12 12:22:01 cbox.biz bash[28142]: _default/domain/IN: bad zone". Please paste first your /etc/named.conf and later we will see the zones.

12
Installation / Re: Moved server problems
« on: October 12, 2017, 01:13:49 PM »
Go to CWP Settings -> Edit Settings and change the IP address in the "NAT Local IP:" field. Click "Save changes" and then rebuild vhosts. Should be ok. Please confirm.

13
DNS / Re: BIND DNS Server problem
« on: October 12, 2017, 01:11:16 PM »
Try to start it from CWP and paste the error from there, or systemctl status named.service or journalctl -xe

14
E-Mail / Re: Retrieve / Fetch emails from other accounts
« on: October 12, 2017, 01:09:50 PM »
Didn`t check the RoundCube options. I don`t use RC because I don`t like the UI, but I use RainLoop and I can tell you for sure that RL have the option you want.

15
Please post also the output of this command:
Code: [Select]
journalctl -xe

Pages: [1] 2 3 ... 10