It took a while, and I had to reset my server logs to do it, but the site statistics page is live again.
Getting it running was a bit of an adventure, that’s for sure. It’s something of a geek milestone for me, however — in the process of getting Analog up and running, I ended up doing my first compile of a *nix command-line program from source code!
A bit of background…
I generally like to have Analog set to run daily at midnight on an automatic schedule, so that my statistics page is automatically generated every day, and I’ve always got the most recent statistics available to me (or anyone else, if they’re that bored). However, until now the only version of Analog I’d had was the Mac port, where it had been given a (minimal) user interface. Nothing really wrong with that, and it is more familiar to long-time Mac users, but it meant that for me to run it, I had to leave my webserver logged in under my username, as the Mac port wouldn’t launch while the machine was sitting at the login prompt. It was only a minor security risk, sure, as the webserver itself resides in my apartment, but hey…I wanted to “do it right,” so to speak.
I knew that the original version of Analog ran from the command line, and that I’d be able to have it run in the background no matter what state my server was in…but I wasn’t sure how to go about getting it running. There was a pre-compiled command line version for OS X, but when I first started looking at this there was a typo on the page and I wasn’t sure if it would work for me. I e-mailed the guy behind the pre-compiled OS X version to ask (and he’s since fixed the typo that had me confused), but in our correspondence he recommended that I go ahead and give compiling Analog myself a try. Well, heck, why not? Ya gotta learn sometime, right?
So, yesterday evening, I spent a few hours installing the developer tools onto my server (necessary to compile software under OS X), downloading the Analog source code, mucking about with configuration and make files…and ended up with a working version of Analog that I built myself! Sure, by many geek’s views this is simple, entry-level stuff…but I hadn’t made that entry yet, so I’m pretty happy that I managed to get it all working.
I did end up nuking the Apache log files in the process of this (quite intentionally), so at the moment, the statistics page looks pretty empty, but it’ll become more useful over time.
So…that’s my latest excursion into geekdom, and my initation into compiling source code. Fascinating, I’m sure….
Update: The site statistics discussed here were for my old webserver. While it’s still up and running, they no longer have any real sigificance to this weblog. So it goes….