While trying to build a 389 directory server using the Riot Games cookbook, I discovered that it didn’t fully support CentOS 7. I took the liberty of making the necessary modifications to allow a Chef run to complete successfully: The call to the yum_repository LWRP needed to be changed to pass the appropriate configuration for […]
Category: centos
MySQL: Too Many Open Files
Recently, I experienced an issue with a MySQL instance running on a CentOS 5.4 host whereby applications were unable to contact the daemon. This was despite there being being no network issues and the operating system not reporting any excessive load. Restarting MySQL fixed the issue and allowed the applications to continue working. While investigating […]
Building an RPM
While attempting to install the Snort IDS and the corresponding logging tool, Barnyard, onto a production x86_64 CentOS 5 server, I found myself in a situation where I would have to produce my own binary RPMs. On the Snort site, there is only an i386 binary RPM and a source RPM for Snort iself, while […]
mlocate DB Size Problem
I have just had to resolve an issue with the mlocate search tool on a backup server.The machine is a small (10GB) VM with an iSCSI volume presented to it for data that is backed up. It turns out the mlocate DB had grown to an excessive size (>1GB!) because it had been including this […]