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.
346
CentOS 6 Problems / Re: mysql crashed after server migration please help!
« on: January 06, 2019, 01:13:40 AM »
Check if the passwords match between files:
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
and
/root/.my.cnf
If the passwords mismatch, correct them.
It must be exact same in both files.
Restart mysql:
# systemctl restart mariadb (if in CentOS7)
or
# service mariadb restart (if in CentOS6)
Regards,
Netino
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
and
/root/.my.cnf
If the passwords mismatch, correct them.
It must be exact same in both files.
Restart mysql:
# systemctl restart mariadb (if in CentOS7)
or
# service mariadb restart (if in CentOS6)
Regards,
Netino
347
SSL / Re: alertandautorenewssl error
« on: January 05, 2019, 02:12:00 AM »
Ok, so you don't have a file named "/usr/local/apache/conf.d/vhosts-ssl.conf".
Your CWP is updated, but trying to access a unused anymore file.
I don't know why you are receiving this message, but surely apache call the SSL files from individual domain files, like "domain.ssl.conf" in directory "/usr/local/apache/conf.d/", called from directive:
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
from file:
/usr/local/apache/conf.d/vhosts.conf
... that is called from directive:
Include /usr/local/apache/conf.d/*.conf
from file:
/usr/local/apache/conf/httpd.conf
.. the main apache configuration file.
So, if you have activated some monitoring for apache, that checks the old structure, this program is outdated, and need be updated.
This only can be made by CWP support.
Regards,
Netino
Your CWP is updated, but trying to access a unused anymore file.
I don't know why you are receiving this message, but surely apache call the SSL files from individual domain files, like "domain.ssl.conf" in directory "/usr/local/apache/conf.d/", called from directive:
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
from file:
/usr/local/apache/conf.d/vhosts.conf
... that is called from directive:
Include /usr/local/apache/conf.d/*.conf
from file:
/usr/local/apache/conf/httpd.conf
.. the main apache configuration file.
So, if you have activated some monitoring for apache, that checks the old structure, this program is outdated, and need be updated.
This only can be made by CWP support.
Regards,
Netino
348
SSL / Re: Cert Hostname DOES NOT VERIFY
« on: January 03, 2019, 03:49:21 AM »
What tutorial are you referring..??
349
CentOS-WebPanel Bugs / Re: named_conf.conf is not used when adding domain
« on: January 03, 2019, 03:43:37 AM »
This is an example of the problem of CWP developers, failing to publish a changelog.
We simply don't know what was changed, at least in features, and if you have customizations, you are lost.
Seems that file now is unused, due to that config had changed to be made at database level.
Check youself, acessing the phpMyAdmin, database 'root_cwp', table 'settings', field 'named_tpl', have a identical configuration of that template.
Regards,
Netino
We simply don't know what was changed, at least in features, and if you have customizations, you are lost.
Seems that file now is unused, due to that config had changed to be made at database level.
Check youself, acessing the phpMyAdmin, database 'root_cwp', table 'settings', field 'named_tpl', have a identical configuration of that template.
Regards,
Netino
350
Apache / Re: How to enable http/2
« on: January 03, 2019, 03:31:10 AM »
I never tried it, but you can:
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/
Regards,
Netino
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/
Regards,
Netino
351
SSL / Re: alertandautorenewssl error
« on: January 03, 2019, 03:09:57 AM »
What CWP version are you using..??
Seems this file is not used anymore in any apache configuration in my server.
Check your with:
# find /usr/local/apache/ -type f -exec grep -H vhosts-ssl.conf {} +
Regards,
Netino
Seems this file is not used anymore in any apache configuration in my server.
Check your with:
# find /usr/local/apache/ -type f -exec grep -H vhosts-ssl.conf {} +
Regards,
Netino
352
CSF Firewall / Re: Chat Application with port 8065 - IP not working
« on: January 03, 2019, 02:58:41 AM »
Did you even check your logs (/var/log/messages).. ??
Your server is OpenVZ .. ??
Your server is OpenVZ .. ??
353
CentOS 7 Problems / Re: How to deal with a domain thats in an inconsistent state?
« on: January 03, 2019, 02:47:58 AM »
I have this exact same configuration, with a domain just used for emails, and I can work normally with it.
But the domain is configured normally, and is not in "inconsistent" state, it is enabled normally, but I only disable the "www" at DNS configuration.
This is the only change I made.
The control panel is accessed normally too, in the customer panel.
With backups, I do it manually with a custom remote backup script.
Regards,
Netino
But the domain is configured normally, and is not in "inconsistent" state, it is enabled normally, but I only disable the "www" at DNS configuration.
This is the only change I made.
The control panel is accessed normally too, in the customer panel.
With backups, I do it manually with a custom remote backup script.
Regards,
Netino
354
E-Mail / Re: Roundcube not loading php?
« on: January 03, 2019, 02:36:49 AM »
I never tried, but you can try to activate the roundcube error logs in:
/usr/local/cwpsrv/var/services/roundcube/.htaccess
...uncommenting the following line:
# php_value error_log logs/errors
...and try again to access, and check your error logs.
Seems you have any path wrong in some configuration.
Regards,
Netino
/usr/local/cwpsrv/var/services/roundcube/.htaccess
...uncommenting the following line:
# php_value error_log logs/errors
...and try again to access, and check your error logs.
Seems you have any path wrong in some configuration.
Regards,
Netino
355
CentOS 7 Problems / Re: roundcube webmail interface problem with cwp 7
« on: January 03, 2019, 02:27:29 AM »
Is not possible to check what is the problem with these domains.
They are not pointing to any problem with CWP.
Regards,
Netino
They are not pointing to any problem with CWP.
Regards,
Netino
356
DNS / Re: BIND DNS / Nameservers are unreachable
« on: December 30, 2018, 05:33:32 AM »
Try to use the "named-compilezone" tool from named.
The more simplified syntax, to send a zone file to standard output is:
Executing this command to your domain:
.. results in the "reformated" zone in this output:
So, you must redirect the standar output to a file(p.ex. 'gaiabithia.org.db.new'):
# named-compilezone -s relative -o - gaiabithia.org gaiabithia.org.db > gaiabithia.org.db.new
And after that, replace it in the real zone file (backup it first):
# cp -p gaiabithia.org.db gaiabithia.org.db.backup
# mv gaiabithia.org.db.new gaiabithia.org.db
Strangely, CWP have a mix from "relative" and "full" style zones, and should be simplified in one or other style.
But You can make a script to mix them in a unique file, if you want to.
And do everything the same for the other domain as well.
Regards,
Netino
The more simplified syntax, to send a zone file to standard output is:
Code: [Select]
# named-compilezone -s relative -o - [zone] [zonefile]
(You can replace the parameter "-o - " by a file "-o [outputfile]", but redirecting to standard output makes it easy to view it)Executing this command to your domain:
Code: [Select]
# named-compilezone -s relative -o - gaiabithia.org gaiabithia.org.db
.. results in the "reformated" zone in this output:
Code: [Select]
$ORIGIN .
$TTL 86400 ; 1 day
gaiabithia.org IN SOA s3ns1.bentsea.net. brokenmind.gmail.com. (
2018071600 ; serial
3600 ; refresh (1 hour)
7200 ; retry (2 hours)
1209600 ; expire (2 weeks)
86400 ; minimum (1 day)
)
NS s3ns1.bentsea.net.
NS s3ns2.bentsea.net.
$TTL 14400 ; 4 hours
A 172.93.54.122
MX 0 gaiabithia.org.
TXT "v=spf1 +a +mx +ip4:172.93.54.122 ~all"
$ORIGIN gaiabithia.org.
_dmarc TXT "v=DMARC1\; p=none"
default._domainkey TXT "v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDeyZLcuYMlLXr2kN0C6q/aSK8WltaHIzoGgGed1yrc2BlQmpmvb6fU5PtPtHxDXhVRK5xNH8xe6gJSeVqoUDcMZGICY5VMjrS0b4RCZ7NlPl1MWY9hCoke09iDe7khzNE8UEQyf+Yu+5lKCgRyRUNZGdABrFE3h7N0ALtO95tkywIDAQAB"
cpanel A 172.93.54.122
cwp A 172.93.54.122
ftp CNAME gaiabithia.org.
imap CNAME gaiabithia.org.
localhost A 127.0.0.1
mail CNAME gaiabithia.org.
pop CNAME gaiabithia.org.
pop3 CNAME gaiabithia.org.
smtp CNAME gaiabithia.org.
webmail A 172.93.54.122
www CNAME gaiabithia.org.
So, you must redirect the standar output to a file(p.ex. 'gaiabithia.org.db.new'):
# named-compilezone -s relative -o - gaiabithia.org gaiabithia.org.db > gaiabithia.org.db.new
And after that, replace it in the real zone file (backup it first):
# cp -p gaiabithia.org.db gaiabithia.org.db.backup
# mv gaiabithia.org.db.new gaiabithia.org.db
Strangely, CWP have a mix from "relative" and "full" style zones, and should be simplified in one or other style.
But You can make a script to mix them in a unique file, if you want to.
And do everything the same for the other domain as well.
Regards,
Netino
357
CentOS 7 Problems / Re: Amavis no Start
« on: December 26, 2018, 03:11:19 AM »
You have a message claiming "Address already in use".
Seems the amavisd-new server is already started.
Why you didn't run this "systemctl restart amavisd" .. ??
Seems the amavisd-new server is already started.
Why you didn't run this "systemctl restart amavisd" .. ??
358
Postfix / Re: Greylisting
« on: December 23, 2018, 03:05:28 PM »
Yes, I have used greylisting with Rspamd.
I will post a tutorial on how to install it in CWP.
It has been very effective, and filters a lot of spam.
But the most effective method of combating is the combination with the postscreen, which filters out almost all of the zombies and spam.
Regards,
Netino
I will post a tutorial on how to install it in CWP.
It has been very effective, and filters a lot of spam.
But the most effective method of combating is the combination with the postscreen, which filters out almost all of the zombies and spam.
Regards,
Netino
359
CentOS 7 Problems / Re: 1800 emails a day from server
« on: December 23, 2018, 02:58:03 PM »
Most likely it's a memcached problem, some deadlock from it. I would recommend checking the suggestions described here <https://forum.centos-webpanel.com/installation/how-can-install-memcached-thanks/>, or using varnish instead.
Perhaps are you using GDM ..?! In remote administration environments, it can be safely disabled. But if you want to continue its use, the recommended would be to investigate some incompatibility of the graphical environment.
There is no way, you will have to investigate the logs.
If you simply reinstall the same system under the same conditions, the same problem may occur.
If you use 'selinux', you should wait for deadlocks, so each system added after it, you should predict its occurrence.
Regards,
Netino
Perhaps are you using GDM ..?! In remote administration environments, it can be safely disabled. But if you want to continue its use, the recommended would be to investigate some incompatibility of the graphical environment.
There is no way, you will have to investigate the logs.
If you simply reinstall the same system under the same conditions, the same problem may occur.
If you use 'selinux', you should wait for deadlocks, so each system added after it, you should predict its occurrence.
Regards,
Netino
360
CentOS 7 Problems / Re: 1800 emails a day from server
« on: December 22, 2018, 08:05:40 PM »
Some process in your server has crashed, of deadlocked, and is lost.
Is needed to you drop that process, or restart it.
If you want to know why are in crashed or deadlock state, you must investigate your logs, and the sequence of events.
To solve the problem, the more simple is you reboot.your server.
Regards,
Netino
Is needed to you drop that process, or restart it.
If you want to know why are in crashed or deadlock state, you must investigate your logs, and the sequence of events.
To solve the problem, the more simple is you reboot.your server.
Regards,
Netino