bind named error: zone NS has no address records A or AAAA

Today I have found bind named error on one of my Linux servers in main server log file /var/log/messages Command to start bind named service: has failed with errors listed above. To fix this error I have added NS and A records to zone file /var/named/chroot/var/shkodenko.com: Also, I have changed zone serial number. I have … Continue reading bind named error: zone NS has no address records A or AAAA

PHP Fatal error: Allowed memory size of M bytes exhausted (tried to allocate N bytes) in

To fix PHP Fatal error: Allowed memory size of M bytes exhausted (tried to allocate N bytes) in /path/to/file.php PHP configuration parameter memory_limit should be changed respectively. If PHP is runned as module (web server Apache). It can be done in .htaccess configuration file: where 128M – is desired increased value. Web server Apache should … Continue reading PHP Fatal error: Allowed memory size of M bytes exhausted (tried to allocate N bytes) in

Fail2ban configuration for ProFTPd with Plesk on RHEL CentOS Fedora Redhat-based Linux

I am using the following fail2ban configuration for ProFTPd with Plesk on RHEL CentOS Fedora Redhat-based Linux (because default one is not working for me properly). File /etc/fail2ban/jail.local or /etc/fail2ban/jail.conf if you have not installed fail2ban using yum package manager which will overwrite your custom configuration files each time you update the package. Filter configuration … Continue reading Fail2ban configuration for ProFTPd with Plesk on RHEL CentOS Fedora Redhat-based Linux