Articles in the system_administration category

  1. MySQL + SELinux: Can't change dir (Errcode: 13)

    Posted on in System Administration

    Powered By MySQLIf you're using a non-standard MySQL data directory on your Red Hat Enterprise Linux (RHEL) server, you may have seen an error like /usr/libexec/mysqld: Can't change dir to '/mysql_data/' (Errcode: 13). The key to fixing this problem is to ensure the new MySQL data directory has the proper …

  2. Cisco Access Registrar: Automatically Clear Old Sessions

    Posted on in System Administration

    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 …
  3. XenServer 5.6 cdrommon Consumes All CPU Resources

    Posted on in System Administration

    Users of Citrix XenServer 5.6 are experiencing a problem where the cdrommon process begins consuming all CPU resources and affecting virtual machine performance. Using 'top' or 'ps auwx' from dom0 shows that the process is consuming 99% or more CPU resources. Users of Xen Cloud Platform (XCP) 0.5 …

  4. MySQL: Query caused different errors on master and slave

    Posted on in System Administration

    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 …
  5. NTP and Your Xen-based Linux VM

    Posted on in System Administration

    As every system administrator is aware, keeping precise time on your servers can be critical. For example, if you use QueueMetrics for your Asterisk-based call center and the QM and MySQL servers are running with different times, users will notice confusing behavior as calls seem to arrive in the future …

  6. WordPress 3.0.1 Fixes Category Base Bug

    Posted on in System Administration

    Official WordPress LogoOn 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 …

  7. WordPress Permalinks Not Working

    Posted on in System Administration

    Official WordPress LogoWhile 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 …

  8. Configuring Syslog for Your Cisco Routers and Switches

    Posted on in System Administration

    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 <acronym title="Red Hat Enterprise Linux">RHEL</acronym> 5 most …

My Bookshelf

Reading Now

Other Stuff