"unreachable - admin prohibited" message in SNMP/tcpdump

Just a small, helpful tidbit:

If you ever see the following in your tcpdump while resolving SNMP issues (when isn't SNMP having issues?):

ICMP host HOSTNAME unreachable - admin prohibited, length 76

It basically means that your iptables is blocking SNMP. This one has bit me on multiple occasions on boxes …

more ...

Manually installing DBD::Oracle on Solaris 10

This was a major pain. Not only is DBD::Oracle a PITA to install in general, doing it on Solaris 10 will cause you to rage uncontrollably. In this post we'll install the module manually as there can be numerous instances when you don't have the Sun/Oracle Studio compiler …

more ...

SNMPv3 Trap EngineID

SNMPv3 traps are far superior to the SNMPv1 and v2c traps, as long as your network devices support it. SNMPv3 provides us with security that the previous SNMP versions do not offer (remember that SNMPv1 and v2c only use clear-text community names which can be easily intercepted).

Version 3 protocol …

more ...

NFS hanging on RHEL5

This is something I've noticed a few times lately on Red Hat Enterprise Linux 5 and I figured I'd post for future reference.

When mounting an nfs mount on a clean build of RHEL5, eg:

[code]sudo mount nfsserver:/home /nfsimports/nfsserver/home[/code]

You might notice that the client …

more ...

Resizing HFS+/Mac OS X volumes

This is just a quick snippet that I spent quite a bit of time researching.  It is easily possible to resize an HFS+/Mac OS X volume without using any other tools such as GParted or whatever.  Just open up the terminal.app from /Applications/Utilities folder and run the …

more ...

FreeBSD on ZFS: Update 1

So I finally managed to get FreeBSD 8.1 root on ZFS done.  There is a very helpful script called 'mfsBSD" from http://mfsbsd.vx.sk/ that will do all the work for you - I know, the lazy way, but so far manual way may or may not work.

mfsBSD …

more ...

FreeBSD on ZFS

This is just a work in progress that I am working on, but if anyone is doing this - please make sure to use the 64-bit DVD iso of FreeBSD.  I have had some issues with 32-bit DVD where the install would just totally bomb with a kernel panic in Virtual …

more ...

Getting Acrobat Reader to work on Ubuntu 10.04 64-bit

Getting Acrobat Reader (or acroread) to work on the latest Ubuntu release was a royal PITA.  Previously it was installable through the Medibuntu repository, but unfortunately on Lucid it would come up with an error complaining of uninstallable libldap2 dependencies.

[bash]The following packages have unmet dependencies:
acroread: Depends: libldap2 …
more ...

Getting the largest uidNumber in OpenLDAP

So you know how sometimes you're trying to get the highest uidNumber in OpenLDAP?  You know, especially when adding new users and trying to figure out the latest uidNumber to assign to them?  I searched Google high and low to figure out this while working on my implementation of "adduser …

more ...