Archive for October, 2007

Fix for Authentication Failed in Apple Remote Desktop 3.2

Not specifically linked to the Leopard upgrade, but I got a call today from a client and needed to connect via Apple Remote Desktop (ARD) to a co-located XServe to check something out. I fired up ARD as usual but kept getting the message “Authenitcation Failed to (computer name)”. No passwords had changed the only difference is the recent update to ARD 3.2. I upgraded the client to 3.2.1 thinking that could be it - but no joy. Anyway to cut a long story short… after lots of googling and banging my head against a brick wall, I found out you can configure ARD using SSH and kickstart. And this little lot in the Terminal seemed to do the trick.

Due to the long lines, I’ve split a couple of cd commands. Each new command starts with $

$ ssh username@host.com
$ cd /System/Library/CoreServices/RemoteManagement/
$ cd ARDAgent.app/Contents/Resources/
$ sudo ./Resources/kickstart -activate -configure -access -on -users username -privs -all -restart -agent -menu

Bingo! The funny thing is that most of the noise about Leopard was UI related, however, I seem to have spent more time in Terminal since upgrading than I have in a long time :-)

Leopard workarounds for CF8, MySQL, PHP

I know many others have blogged about this, but more for my records than anything I thought I’d jot down the tips to get my development environment working in Leopard. I’m sure in time new releases will make all this redundant but for now…

ColdFusion 8
I got this to work after trying all sorts of things. I’m pretty sure that I was close getting the Standalone version to working, but now I have it running I think I’ll leave it alone for the time being. Big thanks to Geoff Bowers, Mark Drew, Ray Camden, and a whole host of others for providing tips on this.

PHP
It’s rare that I develop anything in PHP these days but I still use phpMyAdmin a lot as my hosts use it and it seems to do everything I need. To enable PHP 5.24 in Leopard simply remove the comment from the start of this line in “/etc/apache2/httpd.conf”:

#LoadModule php5_module libexec/apache2/libphp5.so

MySQL
This ran fine, but the Preference Panel didn’t work and I couldn’t connect via phpMyAdmin, so in a Terminal just type:

sudo mkdir /var/mysql/
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
sudo apachectl restart

I spent quite a while getting all this to work so I haven’t had much time to enjoy Leopard yet, but it seems petty slick and I’ve already got into the habit of using Spaces.

Leopard pre-ordered

I’ve bitten the bullet and pre-ordered my copy of Leopard today. There’s loads of great new features I hope will streamline my workflow even more, such as Stacks and Spaces and I know that I’d be installing it at some point so might as well jump aboard early.

cfdocument font issues - again

When I updated some sites to CF8 I noticed that the font and table sizes went a little crazy. I tried a few things but in the end had to fix each page so it looked OK. Having applied CF8 Hot Fix 1 it seems that the sizes have changed again - lets hope that’s the last of it!