This will tell you how many unique IP addresses have connected to your website since the last log file rotation. So if your logs are rotated daily then you have the number of unique IP's for roughly the last 24hour # go to your apache logs directory and run: $ cat...
MySQL Backup to Email or Disk Script
If you run mysqldump --all-databases you get one monolithic file which can be a pain when trying to restore one database. So it's nice to call mysqldump dbname so you get individual database backup files. To call mysqldump for each database requires that you either...
Security Tool not recognized by McAfee SecurityCenter
This post was written before McAfee wrongly identified svchost.exe as a virus and caused many large businesses to close their doors while the problem was resolved: Fixing a laptop for a friend gratis Has some sort of malicious application known as "Security Tool"...
I’ve fixed what I think the problem is. Why isn’t it working?
Organisations of a certain size employ IT people and harness them into a role. Those people take on the mantel of the role, learning whatever script that has been put before them. As long as the problem doesn't deviate from the script then they effectively resolve...
Updating from Ubuntu 9.04 to 10.04. With not enough diskspace
I have an old Compaq nx7000 work laptop that I have Ubuntu on. Just ran: sudo do-release-upgrade -d # It's before the official release date of Ubuntu 10.04 so I ran with the -d switch # -d, --devel-release Check if upgrading to the latest devel release is # possible...
SBS2003 Standard Edition SQLMonitoring Event ID 208 Error
Problem: Event Type: Warning Event Source: SQLAgent$SBSMONITORING Event Category: Job Engine Event ID: 208 Date: 13/04/2010 Time: 3:00:00 AM User: N/A Computer: APF-MA-DC01 Description: SQL Server Scheduled Job 'SBS_Database_Cleanup'...
James is an IT Professional based in Melbourne, Australia.
He blogs about Information Technology, Open Source software, home renovations, good reads and travel.