Problem When attempting to update a certificate in Apache the webserver would not restart. Apache Error Logs: [Tue Oct 29 14:42:07 2019] [error] Init: Private key not found [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 Read More…
Tag: centos
Disable Firewalld in CentOS 7
Simple instructions on how to stop, disable and the check the status of firewall 1) Stop the firewalld service # systemctl stop firewalld 2) Disable the firewalld service from starting # systemctl disable firewalld 3) Check the status of the firewalld service # systemctl status firewalld
Useful Exim Commands
Here are some useful CLI commands when dealing with mail queues on EXIM: List amount of messages in the queue /usr/sbin/exim -bpc List all messages in the queue /usr/sbin/exim -bp Get a summary of the current mail queue /usr/sbin/exim -bp | exiqsumm Here is an example output Count Volume Oldest Newest Domain Read More…
Enable Quotas on CentOS 6
In this example I will be checking all user quotas on an LVM which is mounted as /data 1) The first step will be to check the fstab. As we see there are no mount options for quotas # cat /etc/fstab # /dev/mapper/centos-root / ext4 defaults 1 1 UUID=2fd24677-cf50-420b-a3dd-cea7c29aa185 /boot ext4 defaults 1 2 /dev/mapper/centos-swap Read More…