linux

Mounting an IBM XiV LUN onto a RHEL v5 host without installing the HAK

There are two methods of doing this. The first is installing the IBM Host Attachment Kit (HAK). This makes mounting any LUNS from the XiV dead easy, but isn’t what this article is about. Installing the HAK will blow away your multipath.conf and any changes you might have made to it. What if you wanted to mount the LUN without installing the HAK? What if you wanted to mount LUNs from two different SANs? This is where manually modifying multipath.conf comes in. I’m documenting the changes that the HAK made to multipath.conf so you don’t need to install it. blacklist […]

Mounting an IBM XiV LUN onto a RHEL v5 host without installing the HAK Read More »

Merging Plesk subscriptions

Update: 18/08/2020 Plesk Obsidian is now able to move domains between subscriptions thus negating the need for any external scripts. Please use this in built function instead. Keeping this article for posterity. This article could have been called “Merging domains from one subscription to another” or “Moving domains between subscriptions”. But its goal remains the same. If you’re arrived at this page then you probably already know what you’re looking for. With the business model change from Plesk 9 to Plesk 10, the upgrader splits each customer’s domains into it’s own subscription. Highly annoying if you want to keep track of

Merging Plesk subscriptions Read More »

Unable to remove customer/subscription

When trying to remove a customer or subscription, you may get this error message in Plesk: Unable to find service node for web service on domain with id=xxx This was supposed to be fixed in 10.4.4 MU #13 but isn’t in all cases. I hit this error and the cause turned out to be because the subscription had no IP address assigned to it. To fix this, go into the Hosting Settings of the subscription. Select an IP address, you’ll also have to reset the password. Once you do this, you should be able to remove the customer and subscription.

Unable to remove customer/subscription Read More »

Taking a snapshot/backup of WordPress from the command line on a Plesk server

I quite regularly need to take quick backups of a WordPress installation while working on a Plesk server. Here’s a script I created that will dump the DB as well as backup the WordPress directory where the site files are in. The concept is easy, execution was a little more complicated since Plesk can now store a secondary domain’s root within the filesystem path of it’s master subscriptions domain. How it works The script will query the psa database for the domain id of a supplied domain. Next it will get the www root of the domain using the domain

Taking a snapshot/backup of WordPress from the command line on a Plesk server Read More »

MagicSpam and Debian 6.0

Debian 6.0 has transitioned over to dependency based boot sequencing. This now allows sysinit scripts to specify dependencies between one another. This is done via an LSB header added to the top of the script. Here’s what the header looks like in /etc/init.d/apache2: ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop apache2 web server ### END INIT INFO MagicSpam places two sysinit scripts into /etc/init.d/, magicspam-milter and magicspam-rn, both of

MagicSpam and Debian 6.0 Read More »

Scroll to Top