Monthly Archives: February 2009

Linux: error: unknown error 22 setting key

I’ve been testing some new kernel tunings for Oracle databases the last few days, and experienced the odd error “error: unknown error 22 setting key ‘kernel.shmall’” when trying to sort out shared memory. Even more bizarre was the fact the setting was actually being set just fine.

After Googling a bit I couldn’t fathom out what this error meant or what was really wrong. So I did a quick strace on a ‘sysctl -p’. Bingo.

I had a comment at the end of the line in sysctl.conf! It was that simple. Move the comment to the line above, et voila, no whining!

Using Perl local::lib on Solaris 10

I tend to build perl modules to live in my home directory. Setting up CPAN with PREFIX= and LIB= variables means I can compile/build modules without being root and use them in any script with a simple ‘use lib …’ statement. Read more »

Installing Catalyst on Solaris 10 using the OS Perl

I decided to take a look at Catalyst on Solaris. Having done a bit of work with it on Mac OSX, I discovered it wasn’t that easy to get going on Solaris with the stock Perl. Even using cat-install from ShadowCat didn’t render the easy result I’d experienced using MacPorts. After a few hours battling with CPAN, I’ve managed to come up with this list of modules to get Catalyst up and running. Read more »

Setting up iSCSI targets on Solaris

This example is using snv66 for the target, and Solaris 10u3 for the initiator, as iSCSI target isn’t in Solaris 10u3 (11/06), but is in from u4 (08/07). This should work fine on Solaris 10 u4 and beyond. Read more »