Search Results

Server 2012 R2 – Failover Cluster error

So I was installing SQL2008R2 (In 2015? I know not my choice, it was for a legacy application) into a Windows Server 2012 R2 Failover Cluster. I hit the following error during the SQL install: “Rule Cluster Service Verification Failed. The SQL Server failover cluster services is not online”. It turns out that some cluster […]

Install Java 1.6 JRE and JDK On CentOS5

Very busy right now, so here’s a quick and dirty writeup for install Java 1.6 on centos5. To install the JDK yum install -y jpackage-utils wget chmod +x jdk-6u14-linux-i586-rpm.bin ./jdk-6u14-linux-i586-rpm.bin

Spamassassin 2010 bug

A bit of an oversight – old versions of Spamassassin have an inbuilt rule to block emails with a future date.  Not a bad idea really, but the rule starts blocking things from 2010!  The rule should be fixed in newer versions, however Plesk for example uses a fairly old version. You can edit the […]

Zeus 301 redirect

Add the following to rewrite.script: match URL into $ with (.*) set SCRATCH:COND = %{IN:Host} match SCRATCH:COND into % with ^domainname\.co\.uk if not matched then goto RULE_0_END set URL =$1 set RESPONSE = 301 set OUT:Location = %{URL} set BODY = Please try <a href=”%{URL}”>here</a> instead\n RULE_0_END:

mod_rewrite 301 redirect

To redirect the entire site, for example to enforce www. , add the following to .htaccess Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] RewriteRule ^(.*)$$1 [R=301,L]

AppLocker blocking Logon scripts

I ran into an issue today on Windows Server 2012R2 where AppLocker was blocking logon & logoff scripts despite the sysvol folder being in the allowed policy. The documentation indicates that allowing the following folder should be enough: \\\sysvol\\policies\* This isnt the case, you actually need the NETLOGON folder too: \\\NETLOGON\* And in my instance […]

Clear ARP on various systems

Just a quick reference for how to clear ARP entries on various systems following a network change: Windows Print arp table: arp -a Delete single entry: arp -d Delete entire arp table: arp -d * Add static entry: arp -s 00-aa-00-62-c6-09 Cisco ASA/IOS/NX-OS Print arp table: show arp Delete entire arp table: clear […]

Veeam as a vSphere backup solution

I’ve recently had the pleasure of implementing Veeam Backup & Replication v8 as a direct replacement for BackupExec 2012/2014 vRay edition.  BackupExec 2012 was a terrible product, which is such a shame considering how good its Veritas predecessor was.  BackupExec 2014 was just as bad; its low reliability and poor usability create a huge support […]

Distributed Monitoring in Nagios with check_mk multisite

For some time now, I’ve been exploring the best ways of configuring a distributed Nagios setup. With the “federated” configuration that Nagios recommend, you can pass data from remote Nagios instances back to a central Nagios server with the use of passive checks combined with NSCA or NRDP. Whilst this works well, the duplicate configuration […]

Moving from SysV to Systemd

Goodbye initd, systemd is here!  Systemd brings a lot of benefits such as parallel startups and enhanced troubleshooting but sure does takes some getting used to when you have been working in a completely different way for your entire Linux life!  Systemd is now shipping with CentOS7 and most of the other major distros, so […]