Resizing a Raw Virtual Machine LVM Partition Using fdisk

hdd_unmount

As the amount of data we store continues to grow and grow, there is bound to become a time that you will need to resize your partitions to add more disk space. On our of my MySQL replication virtual servers, I created it initially with a 200GB disk. After moving all the data over, was wishing I would have had a bit more space. Good news is this can easily be done. I should note that I am using raw image files, not lvms, so there is a bit more work required.

R1Soft CDPServer Error “Failed backup of LVM configuration”

blue_external_drive_backup

Backing up your data is essential to anyone using a computer. It doesn’t matter if you’re an IT administrator managing hundreds of servers or a casual user typing up a essay for class. Some of us simply insert a USB stick and copy our files over from time to time. Others rely on more sophisticated solutions to run backups routinely without any manual work needed. One of these solutions is R1Soft, also referred to as CDPServer. But what do we do when these systems don’t work?

Routinely Scanning Recently-Modified Files using ClamAV

virus_detected

It’s important to ensure system is kept virus-free, whether it be a server, workstation, or personal desktop computer. This tends to be easier with windows as we’re all familiar with the mountain of free and paid anti-virus programs available. You simply install one and it usually scans and monitors your system on its own. There are some options like this for Linux, but generally, as with any Linux system, you get many more configuration options to have it run how you want it to.

Apache Error “No space left on device: Couldn’t create accept lock”

agt_action_fail1

We ran in to this issue earlier this morning. One of our web servers started hit heavily with spam in the form of automated web posting bots. Since we are hosting forums, 99.9% of the load was centered around MySQL. To quickly stop the spam without having to wait an hour for MySQL to shut down, we ran a “killall -9 httpd” to stop all new incoming web requests and existing request from processing.

CPanel Override Memory Requirement, Install with 512MB

memory

I recently replaced one of our cPanel DNS-only nameservers. Typically we run our DNS servers with 512MB of memory, because why would a simple DNS server need any more than that? I was shocked to see that cPanel, even the free DNS-only version, now requires 768MB of memory if you’re using CentOS7/RHEL6 or 1GB if you’re using CentOS7/RHEL7. If you are like us and are using a VPS to host your DNS, this can double your cost spent to maintain your DNS servers.

Securing your SysLog Server with TLS (SSL) in CentOS 6 / RHEL 6

free-ssl-hosting

As a follow up to our syslog sever documentation, we wanted to also document how to enable encryption on the syslog stream since private information, including credentials, could be getting passed from client to server in the logs. In this document, we will be using self-signed certificates, including a self-generated CA certificate.