Getting javascript variables to survive reload

November 20th, 2008

Problem

You have some javascript where the user has selected some values you intend to persist when the user presses reload.

Read the rest of this entry »

Where can I find the javascript error console in Firefox?

November 19th, 2008

Problem

while writing javascript it’s nice to actually see the errors I make.

Read the rest of this entry »

/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_assert_warning

September 20th, 2008

Problem

While upgrading a CentOS 4.5 to CentOS 5.*, yum starts to fail with

/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_assert_warning

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]

Read the rest of this entry »

_sqlite.OperationalError: database is locked when using a lustre mounted yum cache

September 15th, 2008

Problem

I was trying to have the yum cache on a lustre mount so it could be shared amongst several machines to save on external bandwidth, but got the message that
_sqlite.OperationalError: database is locked

It also happens with an nfs mounted directory.

Read the rest of this entry »

Compiling a program with icc so the path of icc dynamic libraries is known

September 11th, 2008

Problem

I had the problem that programs compiled with icc and ifort needed a library from the compiler’s directory to run, and I had gotten tired of needing to set LD_LOAD_PATH

Read the rest of this entry »

How do I remove a previously discovered system from HP SIM?

September 5th, 2008

Problem

I have a system that HP’s System Insight Manager previously discovered but I don’t want to see it any more.

Read the rest of this entry »

[0,1,0][/home/henrik/src/openmpi-1.2.6/ompi/mca/btl/openib/btl_openib_component.c:1334: btl_openib_component_progress] from hidden.hidden.dk to: hidden.hidden.dk error polling HP CQ with status LOCAL PROTOCOL ERROR status number 4 for wr_id 7510264 opcode 42

September 3rd, 2008

Problem

A multiprocessor program using OpenMPI 1.2.6, with OFED 1.2.5 has some nodes fail with the following message:

[0,1,0][/home/henrik/src/openmpi-1.2.6/ompi/mca/btl/openib/btl_openib_component.c:1334:btl_openib_component_progress] from hidden.hidden.dk to: hidden.hidden.dk error polling HP CQ with status LOCAL PROTOCOL ERROR status number 4 for wr_id 7510264 opcode 42
[hidden.hidden:29673] [0,1,7]-[0,1,0] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104)

The error was caused by calling system(3) in the short time between calling MPI_Send and the corresponding MPI_Recv which resulted in the send buffer being corrupted and the MPI_Recv call failing.

Read the rest of this entry »

TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/ support/bin/answer.py?answer=7720

August 28th, 2008

Problem

Mail sent from gmail to accounts on my mail servers never got through and the sender got an error message saying:

Technical details of permanent failure:
TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720

This was a bit confusing as mail from everyone else got through without problems.

Read the rest of this entry »

How do I exclude files from EMC Networker backups?

August 27th, 2008

Problem

As a user, how do I control which files are backed up by EMC Networker?

Read the rest of this entry »

SDL SetVideoMode failed: Couldn’t find matching GLX visual

August 26th, 2008

Problem

I tried starting ufoai after installing it and got an error saying:

SDL SetVideoMode failed: Couldn't find matching GLX visual

While googling for the error I could see it also happens with Quake2, though I haven’t installed that myself so I only have the general rather than specific solution for that program.

Read the rest of this entry »