Moving MySQL Binary Logs to a New LVM Logical Volume

I had a RHEL6 machine with lots of large MySQL binary log files in /var/log/mysql and was in need of more space on that volume. I am running MySQL 5.5 from IUS.

The system had an unused LVM logical volume. So I proceeded to mount the LVM logical volume at /var/log/mysql so that binary logs would get written to the logical volume.

Step one: unmount the logical volume

Not strictly necessary for a rename but a nice precaution.

How to Change an SVN Commit Message Retroactively

Changing an SVN commit message retroactively involves two steps. First, the repository must have a hook enabled. Then the svn client must issue a propset command.

On the subversion server:

cd /var/www/svn/myrepository/hooks
cp pre-revprop-change.tmpl pre-revprop-change
chmod u+x pre-revprop-change
chown apache:apache pre-revprop-change

Line-by-line explanation:

Drupal 7 and Cannot decode raw data (NSURLErrorDomain:-1015)

This error is related to caching and compression. Wish I had time to dig deeper now, but I don't.

For us, it happened when a database was moved to a new server without turning off anonymous page caching first.

Solved by:

1. Adding the following line to settings.php:

$conf['page_compression'] = FALSE

2. Logging into the site using Firefox (not Safari) and going to http://www.example.com/admin/config/development/performance and hitting the Clear All Caches button.

Topic: 

Solved: The updates you are trying to apply are not Dell-authorized updates

When I booted into System Services using F10 on a Dell PowerEdge T710 to run the Platform Update on the LifeCycle Controller (translation: the firmware connects to Dell's FTP site and downloads and installs firmware updates for you) I saw "The updates you are trying to apply are not Dell-authorized updates."

After the initial wry smile about Dell firmware connecting to a Dell site to download Dell drivers and then failing and calling them "not Dell-authorized," I proceeded to do the following:

Topic: 

Pages

Subscribe to SysArchitects RSS