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.
46
Apache / Re: Apache issue
« on: October 19, 2017, 05:49:40 PM »
Can you paste the last 10 lines from /usr/local/apache/logs/error_log please. Or if you see the exact error in that file - paste it.
47
Apache / Re: HELP APACHE.
« on: October 19, 2017, 05:48:02 PM »
Ok. Do you have the ports forwarded? If you want port 8512 for user jackson you need to forward this port in your router to 192.168.1.1 (ex.), than for user jackson you fix the vhost to be on port 8512.
48
SSL / Re: Certbot installation and requesting certificate (CentOS 6)
« on: October 19, 2017, 02:23:04 PM »
Run:
Code: [Select]
./certbot-auto certonly
With CWP I`m not sure why but Certbot can`t find apache/apachectl to include the SSL certificates automaticly. You have to put them manual.
49
CentOS 7 Problems / Re: has no address records (A or AAAA)
« on: October 19, 2017, 02:20:20 PM »
Add in your zone file for novinelectronik.com this lines:
Code: [Select]
ns1.novinelectronik.com IN A YOUR_EXTERNAL_IP
ns2.novinelectronik.com IN A YOUR_EXTERNAL_IP
Then restart BIND through CWP or through console:Code: [Select]
service named restart (for CentOS 6)
systemctl restart named.service (for CentOS 7)
50
SSL / Re: Certbot installation and requesting certificate (CentOS 6)
« on: October 18, 2017, 07:04:33 PM »
Try to run "./certbot-auto" only for the first time to download and install needed files. If not working please contact me.
51
CentOS-WebPanel Bugs / Re: Can't show databse after import database by mysql with cwp7!
« on: October 18, 2017, 04:46:35 AM »
Put yourself CentOS 6 and CWP6 as of no skills user.
52
CentOS-WebPanel Bugs / Re: Unknown database
« on: October 17, 2017, 03:48:19 PM »
Try:
Then type:
Code: [Select]
cat /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
cat /root/.my.cnf
Check if both passwords match. If yes, try this:Code: [Select]
mysql -u root -pPASSWORDFROM/root/.my.cnf
Once you are inside mysql, type this:Code: [Select]
show databases;
You are supposed to see something like this:Code: [Select]
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| blogger_1389624 |
| information_schema |
| mysql |
| performance_schema |
| postfix |
| root_cwp | <-----------
| roundcube |
+--------------------+
7 rows in set (0.00 sec)
If you see "root_cwp" then the error is somewhere else. Check both files if they have password.Then type:
Code: [Select]
quit;
Waiting for your reply.
53
E-Mail / Re: MX Records
« on: October 17, 2017, 03:39:29 PM »
In your /var/named/domain.com.db you need to have a record like this if you use your own mail server:
Code: [Select]
domain.com. IN MX 0 mail.domain.com.
If you use Google for your emails you need to put Google records. If you use Zoho it looks like this:Code: [Select]
@ IN MX 10 mx.zoho.com.
@ IN MX 20 mx2.zoho.com.
@ IN MX 50 mx3.zoho.com.
54
Apache / Re: HELP APACHE.
« on: October 17, 2017, 05:01:12 AM »
Are you behind a router? Do you have the ports opened, forwarded and unused by other apps?
55
DNS / Re: BIND DNS Server problem
« on: October 16, 2017, 05:08:16 PM »
Can you paste here lines 14, 16 and 18 ?
56
CentOS 6 Problems / Re: Appacha Not Workk AH00557: httpd: apr_sockaddr_info_get() failed for
« on: October 16, 2017, 05:25:32 AM »
Do you have A record for "server.asomimp3.com" ?
57
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.
58
CentOS 6 Problems / Re: server down after change server ip ? apache error
« on: October 15, 2017, 06:11:37 AM »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 foryou 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
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.
59
CentOS 6 Problems / Re: server down after change server ip ? apache error
« on: October 15, 2017, 06:01:50 AM »60
CentOS 7 Problems / Re: Fresh install cwp in centos 7, phpmyadmin error 404
« on: October 15, 2017, 02:55:28 AM »
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.