Archive for September, 2008

BlueBug Update

Tuesday, September 9th, 2008

I have released an update to BlueBug today that addresses the following issues that were brought up in comments:

  • v1.1 - 9/9/2008 - RELEASED
    1. Added a line to the config.php to limit registered users to posting. Add $config[registered] = 1; in your config.php file to only allowed registered users (if upgrading).
    2. Added a last insert id function to the Database class.
    3. Administrators now get emails when new tickets have been added.
    4. Assign to list for tickets now properly displays all users.
    5. When a user is assigned to a ticket, they are notified by email.
    6. Priority # changed to text for easier reading.
    7. Users are now emailed when their ticket is closed, if they are registered.
    8. There is now a user administration area in the admin panel.

Google Chrome

Friday, September 5th, 2008

I have to say this is one of the niftiest features I’ve found so far in Google’s Chrome:

 

Google Chrome

Google Chrome's Element Inspector

CentOS w/out Yum

Friday, September 5th, 2008

Took me about 20 minutes to figure out why this wasn’t working when installing yum:

After you follow the instructions at http://wiki.centos.org/TipsAndTricks/BrokenVserver
You get to the part where your trying to install rpm-python. This doesn’t work quite as you’d hoped. 

Error:

# rpm -Uvh rpm-python-4.4.2-48.el5.i386.rpm

warning: rpm-python-4.4.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897

error: Failed dependencies:

        rpm = 4.4.2-48.el5 is needed by rpm-python-4.4.2-48.el5.i386

So clear all the other RPM’s you installed, download these three from the repository (varies if your using 64 bit or i386)

rpm-4.4.2-48.el5.i386.rpm       rpm-python-4.4.2-48.el5.i386.rpm

rpm-libs-4.4.2-48.el5.i386.rpm  

Make sure all these are present then run:

rpm -Uvh *.rpm

 This will install the libs and the RPM update at the same time so the error isn’t thrown.

`sar` command

Thursday, September 4th, 2008

I’m always trying to find a good method of monitoring system performance and logging it, but today I ran into a rather strange issue that I couldn’t find on google.

sar 0 was returning high idle percentages:

# sar -u 0

08:17:29 AM       CPU     %user     %nice   %system   %iowait     %idle

08:17:29 AM       all     18.11      0.01     11.66     70.22    3549.42
running top didn't produce 3.5k % idle and in fact the system was nearly 98% idle. 
The quick fix is to simply run
yum update sysstat
That fixed the problem immediately on the box I was using.
Hope this helps someone else.
© 2008 Josh Rendek.