Archive for the tag 'linux'

 

 

May 16 2021

MySQL / PostgreSQL on iSCSI Fail to Start at Boot

Published by under Linux,Mysql,Postgresql

You are hosting Mysql or PostgreSQL data directory on iSCSI disks but the service fails to start at server’s boot. The service does not find the directory. However, you can start the service manually if you log on the server once SSH is available. These are logs for Mariadb but they would be similar for […]

No responses yet

Mar 06 2021

Why Ansible Upgrades Packages on Hold and How to Fix it

Published by under Ansible

I was writing a new Ansible role to upgrade all of my VMs. I was still using an old Rancher that only works with docker-ce package up to version 18.06. A first task holds back the package with Ansible Dpkg module, as recommended on many websites.A second step runs a full upgrade of my system […]

No responses yet

Oct 06 2016

Processing CSV Files with Perl and Bash

Published by under Linux

Olivier, a friend of mine, had to parse a CSV file and took the opportunity to benchmark the performance of 3 programming languages.   The file contains server names and disks he needs to add up into a hash table in order to get the total disk space for each server. He assumes on his […]

No responses yet

Sep 24 2016

How to Reuse Exchange SSL Certificate on Apache Web Server

Published by under Apache,Exchange,Mail,Security

While generating a Microsoft Exchange (or IIS web server) certificate, take the opportunity to add extra domain names and reuse it on Apache web servers. This will save you a few bucks and time, unless the CA provides a certificate for multiple platforms. First off, copy the pfx file generated with Exchange on the Apache […]

No responses yet

Sep 13 2015

Apache Reverse Proxy 503 Permission Denied

Published by under Apache,Linux

Apache configured as a reverse proxy forwards requests to a web backend. But your browser throws an enigmatic 503 error: “Service temporarily unavailable”. The first thing I do is looking at the http logs in /var/log/httpd/ssl_error_log, where I am getting some permission issue:(13)Permission denied: proxy: HTTP: attempt to connect to 192.168.1.250:8080 (*) failed You may […]

No responses yet

Next »