Blog Archives
Install VirtualBox Guest Additions on CentOS 5.x
This has been documented many times before, but for some reason installing VirtualBox guest additions on CentOS is a pain. To install them: yum install kernel-devel gcc either ln -s /usr/src/kernel/[current version] /usr/src/linux or export KERN_DIR=/usr/src/kernel/[current version] Then the usual … Continue reading
Really Using OpenSSO with Salesforce
This subject has been covered many times before, but one thing that is not easily identified in ANY of them is that for this to work properly, you must be using a version of OpenSSO express, not enterprise. You’ll bang … Continue reading
SalesForce.com JAX-WS & Netbeans
The process for using SalesForce.com (SFDC) webservices in Netbeans isn’t as intuitive as you would think. Most of the SFDC documentation examples are built using Apache Axis vis-a-vis JAX-WS. The good news is that it’s possible to get Netbeans (and … Continue reading
The problem with technical books.
Introduction Technology books (especially programming books) are a required item for most software professionals and my office at work is littered with them. At any given time there are a dozen books that I may actively reference on a day-to-day … Continue reading
Fix zimbra logrotate issues
If this error occurs on a host with Zimbra installed: /etc/cron.daily/logrotate: error: zimbra:64 unexpected text It’s due to a typographical error in /etc/logrotate.d/zimbra that has not been fixed in the latest release (6.0.3.) The log rotate configuration file for Zimbra … Continue reading
Fedora 12 on VirtualBox
Just a quick note that if you use the default VirtualBox settings during the “Create New Virtual Machine” wizard for a new install of Fedora 12, you’ll find that the .iso will boot to the live user screen, but when … Continue reading
Fix Logwatch emails on Zimbra hosts
We’ve had an issue for a while where Logwatch emails are not getting through properly in Zimbra with Zimbra complaining about relay issues. While our migration to Zimbra will be the subject of another, much longer post, our last remaining … Continue reading
Easy ways to convert a man page
I typically author UNIX man pages for projects a couple of times a year. When I do, the next request I usually receive is to provide a hard copy of the man page as well. Depending on the system, there … Continue reading
Find supported LDAP syntaxes in OpenLdap
To lookup the supported syntaxes in OpenLdap, issue this command: ldapsearch -x -s base -b “cn=subschema” ldapsyntaxes Should end up with output like: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 … Continue reading
Keep JUnit TestCases from Cobertura Instrumentation
To keep your Cobertura code coverage reports accurate, don’t forget to exclude any JUnit TestCases during instrumentation. Example: 1 2 3 4 5 6 <cobertura-instrument todir="${cobertura.inst.classes}" datafile="${cobertura.datafile}"> <fileset dir="${build}"> <include name="**/*.class"/> <exclude name="**/*Test*.class"/> </fileset> </cobertura-instrument> Here’s one of my full … Continue reading