Archive for the ‘System Administration’ Category
Cisco Access Registrar: Automatically Clear Old Sessions
While doing some testing with Cisco Access Registrar (CAR) 5.0, I noticed that the test user had hundreds of old sessions hanging around: –> query-sessions /r with-User X Sessions with-User X for /Radius Sessions for /Radius/SessionManagers/session-mgr-1: S432 Key: 04000000000CF660, NAS: NAS.slaptijack.com, NAS-Port: 0, User-Name: X, Time: 21:19:26, Acct-Session-Id: 04000000000CF660 <snipped a lot of lines> –> [...]
Categories: System Administration
MySQL: Query caused different errors on master and slave
We ran across the following error on a MySQL slave server recent: mysql> SHOW SLAVE STATUS \G <snip> Last_Error: Query caused different errors on master and slave. Error on master: ‘Deadlock found when trying to get lock; try restarting transaction’ (1213), Error on slave: ‘no error’ (0). Default database: ‘<database_name>’. Query: ‘<query>’ <snip> In this [...]
Categories: System Administration
WordPress 3.0.1 Fixes Category Base Bug
On one of the WordPress-based websites I maintain, I have removed the category base so that, when browsing a category the url doesn’t end with /category/category-slug/. I accomplished that by putting a single ‘.’ in the “Category base” text box of the Permalinks admin page. This worked fine until I upgraded the site to WordPress [...]
Categories: System Administration
WordPress Permalinks Not Working
While setting up a new blog for an old site the other day, I ran into a situation where the main page would work, but individual posts would result in a 404 (page not found) error. Checking the error log revealed that Apache could not find the file it was looking for. For example: File [...]
Categories: System Administration
Configuring Syslog for Your Cisco Routers and Switches
Configuring your syslog server to accept logging output from your Cisco routers and switches requires a few basic steps. We’ll assume that you are using a new server and haven’t made any previous changes to the syslog configuration. I use RHEL 5 most of the time, so some of these steps (especially the first) may [...]
Categories: System Administration

Get Slaptijack updates delivered to your Inbox or RSS Reader for free!