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

Pages: 1 ... 23 24 [25] 26 27 28
361
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

362
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

363
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:
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

364
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" .. ??

365
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

366
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

367
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

368
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

369
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

370
Updates / Re: New updats+SSL+Email Alias+webservers
« on: December 21, 2018, 03:09:42 AM »
It does not give any result because the alias is not found in table 'alias' from database 'postfix' in mysql.
When it finds an alias, it returns its pointing.

May be you drop that alias..??
Try to recreate any other alias, and check if is working.

Check your '/var/log/maillog' file for error messages, with the folloing command:
# egrep --color '(warning|error|fatal|panic):' /var/log/maillog

371
Other / Re: My server is hacked
« on: December 20, 2018, 03:33:41 AM »
Just installing CWP is not enough to ensure the security of your server.

You have a firewall installed..?!
You check regularly you logs..??
You have installed Logwatch, LogCheck, or similar tool..??
How you are reactive with security events in your logs..??
Servers connected to the internet suffer from constant virtual harassment, and should be constantly monitored.

However, all this may still not be enough. Your server has scripts / programs installed, of which you know / audit .. ??
The security of a server is like a "chain": it is as strong as its weakest link.
You can monitor all your logs, but if you have programs with weak security, that's where the crackers will come in.
It all depends a lot on your experience as a server administrator.

Regards,
Netino

372
Updates / Re: New updats+SSL+Email Alias+webservers
« on: December 19, 2018, 04:24:09 AM »
What is the result of the command (as root)..??:
# postmap -q alias@yourdomain.com mysql:/etc/postfix/mysql-virtual_alias_maps.cf

Obviously, replace "alias@yourdomain.com" with your real alias.

Regards,
Netino

373
Updates / Re: phpMyAdmin security update
« on: December 14, 2018, 01:04:24 AM »
Well, I don't know what security question you are pointing, but security questions are important, and sometimes cannot wait.

I've never tried this before, but you can try this site:
https://blog.bullten.com/centos-web-panel/upgrading-phpmyadmin-in-new-version-of-cwp/

Don't forget to make backups *before*.

Regards,
Netino

374
Updates / Re: ERROR: Missing extension file /apcu.so
« on: December 12, 2018, 02:32:41 AM »
Seems you don't have libxml2-devel installed, causing cascade effects in other libs.

Try to install with yum:
# yum install libxml2 libxml2-devel

Regards,
Netino

375
Try to return you sites to php-CGI mode. Now this just can be made one by one.
Check one by one it is working.
Once you've made your sites work again, you can to convert again to PHP-FPM one by one, after you check they are working.
At least this is what I would do.

Regards,
Netino

Pages: 1 ... 23 24 [25] 26 27 28