How to install mod_security in Directadmin

[root@linux etc]# httpd -v Server version: Apache/2.4.34 (Unix) Server built:   Sep  5 2018 03:04:41 httpd/apache version 2.4.34 and modesecurity version should be 2.6.5 What version of mod_security do you try to install there? Try Mod Security Version 2.6.5 for Apache 2.4.x 2. Take the source files Take the source files from http://www.modsecurity.org/download.html. Or just execute the …

How to install mod_security in Directadmin Read More »

Unable to create swap file with error “swapon failed: Invalid argument”

Unable to create swap file with error “swapon failed: Invalid argument” Environment Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 XFS Issue swapon fails with error “swapon failed: Invalid argument” if swap file created using fallocate Resolution There are 3 resolutions : Create the swap file with dd instead of fallocate if using …

Unable to create swap file with error “swapon failed: Invalid argument” Read More »

Default Ports Used by Zimbra

External Access These are ports typically available to mail clients. Port Protocol Zimbra Service Description 25 smtp mta incoming mail to postfix 80 http mailbox / proxy web mail client (disabled by default in 8.0) 110 pop3 mailbox / proxy POP3 143 imap mailbox / proxy IMAP 443 https mailbox / proxy – web mail …

Default Ports Used by Zimbra Read More »

Nginx and PHP-FPM Configuration and Optimizing

Nginx Configuration and Optimizing Tips and Tricks Nginx Tip 1. – Organize Nginx Configuration Files Normally Nginx configuration files are located under /etc/nginx path.One good way to organize configuration files is use Debian/Ubuntu Apache style setup: ## Main configuration file ## /etc/nginx/nginx.conf ## Virtualhost configuration files on ## /etc/nginx/sites-available/ /etc/nginx/sites-enabled/ ## Other config files on (if needed) …

Nginx and PHP-FPM Configuration and Optimizing Read More »

Vesta roundcube mail login failed

Check both  1. Roundcube error log in /var/log/rouncubemail/error.log Eroor: rcube imap.php on line 202 (POST /webmail/?_task=mail&_action=login  2. Dovecot error log in / var/log/maillog auth: Error: passwd-file: open(/etc/dovecot/users) this error comes as it is trying to read the password from dovecot users but the password is stored in a different location /etc/dovecot/conf.d vi auth-passwdfile.conf.ext passdb {   …

Vesta roundcube mail login failed Read More »