Category: Sys Admin

Activating Windows 8 64bit Enterprise from TechNet

Activating Windows 8 64bit Enterprise from TechNet

For some reason the 64bit download of Windows 8 Enterprise from TechNet does not prompt for a license key but does try and activate – and then fails every time. When it does enter the normal activation process you’re likely to see a DNS error or something along the lines of being unable to connect to the …

+ Read More

IIS User Authentication

IIS User Authentication

I’ve been designing a new secure Windows domain whose users need access to an IIS website in another domain. The obvious question is, “How can we transparently auth users to that site from both domains?” which IIS looks to make pretty easy – as long as there is a domain trust in place. Looking around …

+ Read More

Apport Disk Full Error Using apt-get

Apport Disk Full Error Using apt-get

If you’re a Ubuntu user who finds themselves with an ugly message like this one day when running a apt-get update, No apport report written because the error message indicates a disk full error you may have thought you’ve run out of disk space and run the command, df -h but then found you had …

+ Read More

DRBD: Forcing a full re-sync in a split-brain situation

DRBD: Forcing a full re-sync in a split-brain situation

I have a DRBD setup similar to an old post that’s being used between two Ubuntu servers hosting MySQL. Every few months though the pair goes into a split-brain situation where the secondary can’t see the primary and refuses to reconnect. Users are unaffected as the primary is still working fine, but the HA is …

+ Read More

Using SQL Management Studio in Windows 7

Using SQL Management Studio in Windows 7

If you happen to be using SQL Management Studio in Windows 7 and need to connect to a SQL 2005 instance not running on the standard port of 1433, you might be having some problems connecting. For some reason this mix seems to require the SQL port to be manually defined when connecting to any …

+ Read More

Using PHP exec() with IIS6

Using PHP exec() with IIS6

There are a few work arounds I’ve found since having to use PHP under IIS6 and Windows 2003. Every now and again I come across something that just doesn’t work the same way with this variation of web server, OS and PHP. I needed to double-check the DNS hostname being reported from users on an …

+ Read More

Watching your Network Usage

Watching your Network Usage

I’m sure everyone else knows about the iftop tool, but it was new to me. I needed to confirm that traffic from DRBD was using a particular interface and iftop does the job by showing traffic sources, speed and culmulative data counts per interface.

Installing VMware Server 2.0.2 in Ubuntu 10.04

Installing VMware Server 2.0.2 in Ubuntu 10.04

After updating my trusty old server to Ubuntu Lucid Lynx 10.04 the installation of VMware Server 2.0.1 started giving problems. Resinstalling VMware didn’t help as I was repeatedly getting compilation problems in vmmon and vmnet modules. Luckily I stumbled across the following process from one of the VMware forum pages which pointed to a great …

+ Read More

LDAP in PHP on IIS6

LDAP in PHP on IIS6

If you’re struggling to get the LDAP extension to work in PHP and IIS6 then you may want to read on. In my situation both the web server and PHP were confirmed to be working fine and reading the correct php.ini. But even with the correct line enabled in the php.ini file, LDAP would refuse …

+ Read More