<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Error Log &#187; Errors</title>
	<atom:link href="http://www.errorlog.dk/category/errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.errorlog.dk</link>
	<description>Problems I&#039;ve found solutions for.</description>
	<lastBuildDate>Thu, 20 Nov 2008 11:43:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_assert_warning</title>
		<link>http://www.errorlog.dk/2008/09/20/usrlibpython24site-packages_sqlitecacheso-undefined-symbol-g_assert_warning/</link>
		<comments>http://www.errorlog.dk/2008/09/20/usrlibpython24site-packages_sqlitecacheso-undefined-symbol-g_assert_warning/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 00:40:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[glib2]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=71</guid>
		<description><![CDATA[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&#8217;s possible that the above module doesn&#8217;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)]

Reason
The reason was [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>While upgrading a CentOS 4.5 to CentOS 5.*, yum starts to fail with</p>
<blockquote><p>/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_assert_warning</p>
<p>Please install a package which provides this module, or<br />
verify that the module is installed correctly.</p>
<p>It&#8217;s possible that the above module doesn&#8217;t match the<br />
current version of Python, which is:<br />
2.4.3 (#1, May 24 2008, 13:47:28)<br />
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]</p></blockquote>
<h4><span id="more-71"></span></h4>
<h2>Reason</h2>
<p>The reason was that the <code>glib2</code> package hadn&#8217;t been updated at the same time as the <code>yum</code> and <code>python</code> packages, since they only required <code>glib2</code> and not a specific version.</p>
<h2>Solution</h2>
<p>So the solution was to upgrade <code>glib2</code> manually with the <code>rpm</code> command after which <code>yum</code> worked again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/09/20/usrlibpython24site-packages_sqlitecacheso-undefined-symbol-g_assert_warning/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>_sqlite.OperationalError: database is locked when using a lustre mounted yum cache</title>
		<link>http://www.errorlog.dk/2008/09/15/_sqliteoperationalerror-database-is-locked-when-using-a-lustre-mounted-yum-cache/</link>
		<comments>http://www.errorlog.dk/2008/09/15/_sqliteoperationalerror-database-is-locked-when-using-a-lustre-mounted-yum-cache/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 09:44:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lustre]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=68</guid>
		<description><![CDATA[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.

Solution
For lustre solution was to mount with localflock, for nfs the solutions is to make sure [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>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<br />
<code>_sqlite.OperationalError: database is locked</code></p>
<p>It also happens with an nfs mounted directory.</p>
<h4><span id="more-68"></span></h4>
<h2>Solution</h2>
<p>For lustre solution was to mount with localflock, for nfs the solutions is to make sure the nfslock service is running.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/09/15/_sqliteoperationalerror-database-is-locked-when-using-a-lustre-mounted-yum-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling a program with icc so the path of icc dynamic libraries is known</title>
		<link>http://www.errorlog.dk/2008/09/11/compiling-a-program-with-icc-so-the-path-of-icc-dynamic-libraries-is-known/</link>
		<comments>http://www.errorlog.dk/2008/09/11/compiling-a-program-with-icc-so-the-path-of-icc-dynamic-libraries-is-known/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 05:30:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[icc]]></category>
		<category><![CDATA[ifort]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=58</guid>
		<description><![CDATA[Problem
I had the problem that programs compiled with icc and ifort needed a library from the compiler&#8217;s directory to run, and I had gotten tired of needing to set LD_LOAD_PATH

Solution
Adding -Wl,-R/path/to/lib to the linker line solved the problem.
With an autotools based distribution, it was a matter of going:
/configure LDFLAGS=-Wl,-R/opt/intel/cce/10.1.015/bin CC=/opt/intel/cce/10.1.015/bin/icc CXX=/opt/intel/cce/10.1.015/bin/icpc F77=/opt/intel/fce/10.1.015/bin/ifort FC=/opt/intel/fce/10.1.015/bin/ifort --prefix= ...
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I had the problem that programs compiled with icc and ifort needed a library from the compiler&#8217;s directory to run, and I had gotten tired of needing to set LD_LOAD_PATH</p>
<h4><span id="more-58"></span></h4>
<h2>Solution</h2>
<p>Adding <code>-Wl,-R/path/to/lib</code> to the linker line solved the problem.</p>
<p>With an autotools based distribution, it was a matter of going:<br />
<code>/configure LDFLAGS=-Wl,-R/opt/intel/cce/10.1.015/bin CC=/opt/intel/cce/10.1.015/bin/icc CXX=/opt/intel/cce/10.1.015/bin/icpc F77=/opt/intel/fce/10.1.015/bin/ifort FC=/opt/intel/fce/10.1.015/bin/ifort --prefix= ...</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/09/11/compiling-a-program-with-icc-so-the-path-of-icc-dynamic-libraries-is-known/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I remove a previously discovered system from HP SIM?</title>
		<link>http://www.errorlog.dk/2008/09/05/how-do-i-remove-a-previously-discovered-system-from-hp-sim/</link>
		<comments>http://www.errorlog.dk/2008/09/05/how-do-i-remove-a-previously-discovered-system-from-hp-sim/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 09:55:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=53</guid>
		<description><![CDATA[Problem
I have a system that HP&#8217;s System Insight Manager previously discovered but I don&#8217;t want to see it any more.

Solution
This is done with by running 
mxnode -r 
on a command line on the HP SIM server.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I have a system that HP&#8217;s System Insight Manager previously discovered but I don&#8217;t want to see it any more.</p>
<h4><span id="more-53"></span></h4>
<h2>Solution</h2>
<p>This is done with by running </p>
<blockquote><p>mxnode -r <ip-number of system></p></blockquote>
<p>on a command line on the HP SIM server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/09/05/how-do-i-remove-a-previously-discovered-system-from-hp-sim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[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</title>
		<link>http://www.errorlog.dk/2008/09/03/010homehenriksrcopenmpi-126ompimcabtlopenibbtl_openib_componentc1334btl_openib_component_progre-ss-from-hiddenhiddendk-to-hiddenhiddendk-error-polling-hp-cq-with-status-local/</link>
		<comments>http://www.errorlog.dk/2008/09/03/010homehenriksrcopenmpi-126ompimcabtlopenibbtl_openib_componentc1334btl_openib_component_progre-ss-from-hiddenhiddendk-to-hiddenhiddendk-error-polling-hp-cq-with-status-local/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 12:40:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[mpi]]></category>
		<category><![CDATA[mpi_recv]]></category>
		<category><![CDATA[mpi_send]]></category>
		<category><![CDATA[ofed]]></category>
		<category><![CDATA[openmpi]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=44</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>A multiprocessor program using OpenMPI 1.2.6, with OFED 1.2.5 has some nodes fail with the following message:</p>
<blockquote><p>[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<br />
[hidden.hidden:29673] [0,1,7]-[0,1,0] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104)</p></blockquote>
<p>The error was caused by calling system(3) in the short time between calling <a href="http://www.mpi-forum.org/docs/mpi-11-html/node31.html#Node31">MPI_Send</a> and the corresponding <a href="http://www.mpi-forum.org/docs/mpi-11-html/node34.html#Node34">MPI_Recv</a> which resulted in the send buffer being corrupted and the MPI_Recv call failing.</p>
<h4><span id="more-44"></span></h4>
<h2>Solution</h2>
<p>The solution was to either use MPI_Barrier to ensure all pending communication had finished or to replace the call of system(3) with another way to achieve the same result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/09/03/010homehenriksrcopenmpi-126ompimcabtlopenibbtl_openib_componentc1334btl_openib_component_progre-ss-from-hiddenhiddendk-to-hiddenhiddendk-error-polling-hp-cq-with-status-local/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>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</title>
		<link>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/</link>
		<comments>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 23:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=19</guid>
		<description><![CDATA[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.

Cause
I had to use [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Mail sent from gmail to accounts on my mail servers never got through and the sender got an error message saying:</p>
<blockquote><p>Technical details of permanent failure:<br />
TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at <a href="http://mail.google.com/support/bin/answer.py?answer=7720" target="_blank">http://mail.google.com/support/bin/answer.py?answer=7720</a></p></blockquote>
<p>This was a bit confusing as mail from everyone else got through without problems.</p>
<h4><span id="more-19"></span></h4>
<h2>Cause</h2>
<p>I had to use tcpdump to finally figure out why no mail from gmail was getting through to my mail server.</p>
<p>After trying myself while looking at the actual communication I could see that the connection actually got started correctly but all packets from the Gmail server had a tcp window of 90 bytes and, that if the first packet from my server didn&#8217;t include the CRLF (because it was too long) then the next packet from the Gmail server wasn&#8217;t an ack, but an rst in response to a resent packet, indicating the Gmail server dropped the connection without closing it, possibly because the connecting process died.</p>
<p>I confirmed the diagnosis by reconfiguring my mail server to start with a shorter greeting after which Gmail got through without any problems.</p>
<p>Note here that a limit of 88 characters for the &#8220;220 &#8221; greeting is very far from the 512 bytes RFC2882 requires a standard compliant application to accept, so I&#8217;m considering this posting to be a bug report on a problem that&#8217;s likely to affect many, but is likely to be hard to solve for most because of the misleading error message.</p>
<h2>Solution (temporary)</h2>
<p>I reconfigured sendmail on the servers to use a shorter greeting by adding the following line to the .mc file:</p>
<p><code>define(`confSMTP_LOGIN_MSG', `$j Sendmail $b')</code></p>
<h2>Solution (permanent)</h2>
<p>The permanent solution would be to get Google to fix their mail servers, but so far I haven&#8217;t been able to figure out how to get in touch with the actual tech people at Gmail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do I exclude files from EMC Networker backups?</title>
		<link>http://www.errorlog.dk/2008/08/27/how-to-exclude-files-from-emc-networker-backups/</link>
		<comments>http://www.errorlog.dk/2008/08/27/how-to-exclude-files-from-emc-networker-backups/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 09:32:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[EMC networker]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=7</guid>
		<description><![CDATA[Problem
As a user, how do I control which files are backed up by EMC Networker?

Solution
In the directory you want to control, create a file called .nsr (in Linux) or nsr.dir (in Windows) containing skip directives such as
+skip: *.tmp
The &#8220;+&#8221; means it also covers subdirectories.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>As a user, how do I control which files are backed up by EMC Networker?</p>
<h4><span id="more-7"></span></h4>
<h2>Solution</h2>
<p>In the directory you want to control, create a file called .nsr (in Linux) or nsr.dir (in Windows) containing skip directives such as<br />
+skip: *.tmp</p>
<p>The &#8220;+&#8221; means it also covers subdirectories.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/08/27/how-to-exclude-files-from-emc-networker-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SDL SetVideoMode failed: Couldn&#8217;t find matching GLX visual</title>
		<link>http://www.errorlog.dk/2008/08/26/sdl-setvideomode-failed/</link>
		<comments>http://www.errorlog.dk/2008/08/26/sdl-setvideomode-failed/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 21:49:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GLX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SDL]]></category>

		<guid isPermaLink="false">http://errorlog.dk.linux1.unoeuro.com/?p=1</guid>
		<description><![CDATA[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&#8217;t installed that myself so I only have the general rather than specific solution for that program.

Cause
This happens with many SDL programs [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I tried starting ufoai after installing it and got an error saying:</p>
<pre>SDL SetVideoMode failed: Couldn't find matching GLX visual</pre>
<p>While googling for the error I could see it also happens with Quake2, though I haven&#8217;t installed that myself so I only have the general rather than specific solution for that program.</p>
<h4><span id="more-1"></span></h4>
<h2>Cause</h2>
<p>This happens with many SDL programs at startup, because the program can&#8217;t detect the video mode X windows is in, so it tries with the default settings, and if they are not compatible with the current mode, you get the &#8220;SDL SetVideoMode failed: Couldn&#8217;t find matching GLX visual&#8221; error.</p>
<h2>Solution</h2>
<p>In general the solution is to explicitely set the video mode the program is supposed to use so it matches the current mode.</p>
<p>For ufoai specifically, this was done by creating a config.cfg in  ~/.ufoai/2.2/base containing</p>
<pre>  set r_bitdepth "16"
  set r_colordepth "4"</pre>
<p>since that&#8217;s what matched the screen configuration I was using.</p>
<p>Other programs are likely to have a similar way to control which values the program should call SetVideoMode with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/08/26/sdl-setvideomode-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
