Postfix start error on CentOS Rumi, March 7, 2018 When I tried to start postfix today, I got the following message: fatal: parameter inet_interfaces: no local interface found for 1.2.3.4 Solution is straightforward: nano /etc/postfix/main.cf comment out “inet_interfaces = all” add “inet_protocol = ipv4” Related Administrations Configurations (Linux) CentOSPostfix
Manually purge data from Graylog 2.1 March 1, 2021March 1, 2021 First aid: check which indices are present: curl http://localhost:9200/_cat/indices Then delete the oldest indices (you should not delete all) curl -XDELETE http://localhost:9200/graylog_1 curl -XDELETE http://localhost:9200/graylog_2 curl -XDELETE http://localhost:9200/graylog_3 Fix: You can then reduce the parameter elasticsearch_max_number_of_indices in /etc/graylog/server/server.conf to a value that fits your disk. Src: https://stackoverflow.com/questions/39502069/how-to-manually-purge-data-from-graylog-2-1 Related Read More
Munin to monitor mysql on Debian 6 March 19, 2013 First we need to install some Mysql-Munin perl libraries: apt-get install libipc-sharelite-perl Also some Perl stuff will be needed: perl -MCPAN -eshell install IPC::ShareLite Next let’s activate Munin Mysql plugin: Assuming you have already installed both munin & mysql ln -s /usr/share/munin/plugins/mysql_* /etc/munin/plugins Restart both Apache & Munin: /etc/init.d/apache2 restart… Read More
Creating a Certificate Signing Request Using Certreq.exe April 6, 2013 Create a file named CSRParameters.inf on the C:\ drive using the contents below as a template (replace the single quotes with double quotes): [NewRequest] Subject="CN=mailgw.mango.com.bd,OU=IIG,O=Mango Teleservices Limited,S=Not Applicable,L=Dhaka,C=BD" KeySpec=1 KeyLength=2048 Exportable=TRUE MachineKeySet=TRUE SMIME=False PrivateKeyArchive=FALSE UserProtected=FALSE UseExistingKeySet=FALSE ProviderName="Microsoft RSA SChannel Cryptographic Provider" ProviderType=12 RequestType=PKCS10 KeyUsage=0xa0 Silent=TRUE [EnhancedKeyUsageExtension] OID=1.3.6.1.5.5.7.3.1 Open a command… Read More