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

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

Do you have A record for "" ?

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. or for HTTP and or 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.

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

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.

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
unzip -o
mv phpMyAdmin-4.6.6-all-languages pma
rm -Rf pma/setup
mv /usr/local/cwpsrv/var/services/pma/ /usr/local/cwpsrv/var/services/pma/
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/
Please report if one of the ways is working.

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.

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/";
        session-keyfile "/run/named/session.key";

logging {
    channel default_debug {
                file "data/";
                severity dynamic;

zone "." IN {
    type hint;
        file "";

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 "" IN {type master;file "/var/named/";};
//zone "" IN {type master;file "/var/named/";};

// 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 "" or something else which is real. Also you need to rename all the "file "/var/named/domain.db";" to be "file "/var/named/";" for example and then to create a proper "". I will give you an example "" and you will replace "" with your domain.
Code: [Select]
$TTL 14400      86400        IN      SOA (
                    2017101401      ; serial, todays date+todays
                    86400           ; refresh, seconds
                    7200            ; retry, seconds
                    3600000         ; expire, seconds
                    86400 )         ; minimum, seconds

;; NS Records     IN      NS     IN      NS     IN      NS     IN      NS     IN      NS

;; A Records    IN      A     IN      A

;; AAAA Records     IN      AAAA    2001:470:1d1b:e5::11

;; MX Records       IN      MX      0

;; CNAME Records
www           IN      CNAME 
mail            IN      CNAME 
ftp              IN      CNAME 
irc              IN      CNAME 
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     IN      AAAA    2001:470:1d1b:e5::11". Try like this and tell me what`s going on. Waiting for your reply.

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.

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 bash[28142]: _default/domain/IN: bad zone". Please paste first your /etc/named.conf and later we will see the zones.

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.

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

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.

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

Pages: [1] 2 3 ... 10