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.
316
SSL / Re: Cert Hostname DOES NOT VERIFY
« on: January 03, 2019, 03:49:21 AM »
What tutorial are you referring..??
317
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
318
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
319
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
320
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 .. ??
321
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
322
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
323
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
324
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
325
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" .. ??
326
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
327
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
328
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
329
Apache / Re: dict.mysite.com.cert' does not exist or is empty
« on: December 21, 2018, 04:03:53 AM »
Apache stops when is configured a site with a invalid or inexistent path.
So, seems the site was removed, but the configuration in apache was not.
Try to check one of the most important files in apache (always):
/usr/local/apache/logs/error_log
(This path is for CentOS7)
As an emergency measure, try to recreate that paths claimed, or remove the configuration at apache. in the configuration file '/usr/local/apache/conf.d/vhosts-ssl.conf'.
Keep in mind you always MUST try to clean any [error:] message at Apache log '/usr/local/apache/logs/error_log' to restart apache.
Try to solve in any ways the problems pointed there.
And restart the apache server:
# systemctl restart apache
(This is for CentOS7)
If not come back, check again the logs for another problems, solve it, and restart again.
Or you can use the "Rebuild VHosts" feature of CWP, when your CWP came up again.
The same is valid for CWP server, but with logfile:
/usr/local/cwpsrv/logs/error_log
Regards,
Netino
So, seems the site was removed, but the configuration in apache was not.
Try to check one of the most important files in apache (always):
/usr/local/apache/logs/error_log
(This path is for CentOS7)
As an emergency measure, try to recreate that paths claimed, or remove the configuration at apache. in the configuration file '/usr/local/apache/conf.d/vhosts-ssl.conf'.
Keep in mind you always MUST try to clean any [error:] message at Apache log '/usr/local/apache/logs/error_log' to restart apache.
Try to solve in any ways the problems pointed there.
And restart the apache server:
# systemctl restart apache
(This is for CentOS7)
If not come back, check again the logs for another problems, solve it, and restart again.
Or you can use the "Rebuild VHosts" feature of CWP, when your CWP came up again.
The same is valid for CWP server, but with logfile:
/usr/local/cwpsrv/logs/error_log
Regards,
Netino
330
CSF Firewall / Re: firewall cant be enabled
« on: December 21, 2018, 03:14:07 AM »
Try to execute the following commands at prompt shell:
# csf -x; csf -e
At leas it show the error message, if any.
Regards,
Netino
# csf -x; csf -e
At leas it show the error message, if any.
Regards,
Netino