UML and NTPL ate my bind, mysql, etc.

So, Running a combination of testing and unstable on my Bytemark UML instance, and over the course of time, the NTPL libraries started to turn up in /lib/tls. Turns out that UML and NTPL are incompatible: every binary I used that utilised threads, such as MySQL, Bind9, Nslookup, all segfault when these libraries are accesible.

Googling around shows that NTPL support doesnt work under UML: the work around is to rename the /lib/tls directory (eg, /lib/tls.disable) so that it can’t be found.

No gallery at the moment

Due to the g++ transition, and me following unstable a little too closely, the Gallery here has gone AWOL. Hopefully the unstable g++ stuff will be completed shortly, and I can sync back up to the latest modperl2.

Configuring APC Rack PDUs

A brand new APC should be ready to have its IP set via using an ‘arp and ping’ technique. Its in the manual, but worth noting, since I normally google search before RTFM! And so does most of the world..

  1. On any running host on the same network, set the ARP for the MAC address of the device. Eg: arp -s 10.0.0.10 00:C0:B7:76:08:CC will tell the host you are on to send to hat mac address when you use the IP 10.0.0.10.
  2. On the same host, before the arp expires (normally 5 mins), send a ping to this IP with a special size of 113 bytes. Eg: ping -l 113 10.0.0.10 from Win, or ping -s 113 10.0.0.10 if you have a better operating system (Linux)!

If this fails, then you need to get the serial cable out and wire it up (9600 8N1 is default I think, turn off ALL flow control; no hardware, no software). Password recovery: find the small hole and use a paper clip or similar to reset the device. You have to reset it twice for it to take effect, and then you can use the default username and password of apc/apc.