<?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>0x23</title>
	<atom:link href="http://0x23.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://0x23.de</link>
	<description>just another developer blog</description>
	<lastBuildDate>Thu, 17 May 2012 07:11:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Xen Ubuntu 12.04 upgrade: Boot loader didn&#8217;t return any data!</title>
		<link>http://0x23.de/2012/05/xen-ubuntu-12-04-upgrade-boot-loader-didnt-return-any-data/</link>
		<comments>http://0x23.de/2012/05/xen-ubuntu-12-04-upgrade-boot-loader-didnt-return-any-data/#comments</comments>
		<pubDate>Thu, 17 May 2012 07:11:56 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=174</guid>
		<description><![CDATA[Today I tried to update our xen virtual hosts to Ubuntu 12.04. The message just says that the Boot loader doesnÄt return any data. The problem relates to the grub2 boot loader, which updates the grub.cfg with root=(hd0,msdos1) entries. cause we don&#8217;t need any grub2 boot loader on our machines the simplest solution for this [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried to update our xen virtual hosts to Ubuntu 12.04.</p>
<p>The message just says that the Boot loader doesnÄt return any data. </p>
<p>The problem relates to the grub2 boot loader, which updates the grub.cfg with<br />
<code>root=(hd0,msdos1)</code><br />
entries.</p>
<p>cause we don&#8217;t need any grub2 boot loader on our machines the simplest solution for this is to use grub1 instead of grub2.</p>
<p><code><br />
aptitude -y purge grub2 grub-pc grub2-common &#038;&#038; aptitude install grub<br />
</code></p>
<p>If you already have the problem that you cannot boot into your domain anymore you just have to mount the disk / image,  chroot into it and execute the commands afterwards.<br />
I&#8217;m using a libvirt pool with LVM, so for me its something like this:<br />
<code><br />
kpartx -a /dev/vg0/www.xxxx.org.img<br />
mount /dev/mapper/vg0-www.xxxx.org.img1 /mnt<br />
chroot /mnt<br />
for i in /proc /sys /dev /run; do mount $i; done<br />
aptitude -y purge grub2 grub-pc grub2-common &#038;&#038; aptitude install grub<br />
for i in /proc /sys /dev /run; do umount $i; done<br />
exit<br />
umount /mnt<br />
kpartx -d /dev/vg0/www.xxxx.org.img<br />
virsh start www.xxxx.org<br />
</code></p>
<p>If you get some problems with the network that you cannot resolve any domain names, just override the resolvconf for the install.<br />
<code><br />
mkdir -p /run/resolvconf<br />
echo "nameserver 8.8.8.8" > /run/resolvconf/resolv.conf<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2012/05/xen-ubuntu-12-04-upgrade-boot-loader-didnt-return-any-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel cannot copy formulas anymore</title>
		<link>http://0x23.de/2012/04/excel-cannot-copy-formulas-anymore/</link>
		<comments>http://0x23.de/2012/04/excel-cannot-copy-formulas-anymore/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 06:59:30 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=157</guid>
		<description><![CDATA[I mentioned a strange problem with one of our PC&#8217;s today. Excel 2007 was not able to copy any formulas anymore, it just copied all the values but no formulas. Even with Paste Special you just had the option to copy text. It turned out that the Skype Click to Call Plugin messes up the [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned a strange problem with one of our PC&#8217;s today. </p>
<p>Excel 2007 was not able to copy any formulas anymore, it just copied all the values but no formulas. Even with Paste Special you just had the option to copy text.</p>
<p>It turned out that the Skype Click to Call Plugin messes up the clipboard, so just closing the browser or uninstalling the Plugin did the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2012/04/excel-cannot-copy-formulas-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yamaha 2003 DT Lanza</title>
		<link>http://0x23.de/2012/04/yamaha-2003-dt-lanza/</link>
		<comments>http://0x23.de/2012/04/yamaha-2003-dt-lanza/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 06:55:38 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=159</guid>
		<description><![CDATA[Maybe not so related to all the programming stuff here, but everyone have to have some private life and some hobbies. So I bought a small motorbike and sure I was looking for some parts and manuals which are kind of hard to find online. So I decided to post them. handout from yamaha Yamaha [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe not so related to all the programming stuff here, but everyone have to have some private life and some hobbies.</p>
<p>So I bought a small motorbike and sure I was looking for some parts and manuals which are kind of hard to find online. So I decided to post them.</p>
<p><a href="http://0x23.de/wp-content/uploads/2012/04/yamaha.pdf">handout from yamaha</a><br />
<a href="http://0x23.de/wp-content/uploads/2012/04/DT230-service-manual.pdf">Yamaha DT230 DT Lanza Service Manual</a><br />
<a href="http://0x23.de/wp-content/uploads/2012/04/4TP-28199-21dt230-N.pdf">Yamaha DT230 DT Lanza N Owners Manual</a><br />
<a href="http://0x23.de/wp-content/uploads/2012/04/4TP-28199-20DT230-L.pdf">Yamaha DT230 DT Lanza L Owners Manual</a></p>
<p>You can find any Yamaha part numbers inside as well as how to fix nearly everything on your own!</p>
<p>Here are two pics of mine! <img src='http://0x23.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a href="http://0x23.de/wp-content/uploads/2012/04/IMG_20120408_125139.jpg" rel="shadowbox[sbpost-159];player=img;"><img class="size-medium wp-image-164 aligncenter" title="Yamaha DT 230 Lanza" src="http://0x23.de/wp-content/uploads/2012/04/IMG_20120408_125139-300x225.jpg" alt="" width="300" height="225" /></a></center><br />
<br/><br />
<center><a href="http://0x23.de/wp-content/uploads/2012/04/IMG_20120413_172758.jpg" rel="shadowbox[sbpost-159];player=img;"><img class="size-medium wp-image-165 aligncenter" title="DT Lanza on top of Mbeya" src="http://0x23.de/wp-content/uploads/2012/04/IMG_20120413_172758-300x225.jpg" alt="small trip near to mbeya" width="300" height="225" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2012/04/yamaha-2003-dt-lanza/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenERP 6.1 ubuntu</title>
		<link>http://0x23.de/2012/03/openerp-6-1-ubuntu/</link>
		<comments>http://0x23.de/2012/03/openerp-6-1-ubuntu/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 09:57:33 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=150</guid>
		<description><![CDATA[installation of dependencies aptitude install postgresql postgresql-client python-dateutil python-feedparser \ python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid \ python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-tz python-vatnumber python-vobject python-webdav \ python-werkzeug python-xlwt python-yaml python-zsi python-simplejson get 6.1 release wget http://nightly.openerp.com/6.1/releases/openerp_6.1-1-1_all.deb install 6.1 release dpkg -i openerp_6.1-1-1_all.deb create database role su postgres createuser --createdb --username postgres --no-createrole [...]]]></description>
			<content:encoded><![CDATA[<p>installation of dependencies</p>
<pre>aptitude install postgresql postgresql-client python-dateutil python-feedparser \
python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid \
python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing \
python-reportlab python-tz python-vatnumber python-vobject python-webdav \
python-werkzeug python-xlwt python-yaml python-zsi python-simplejson</pre>
<p>get 6.1 release</p>
<pre>wget http://nightly.openerp.com/6.1/releases/openerp_6.1-1-1_all.deb</pre>
<p>install 6.1 release</p>
<pre>dpkg -i openerp_6.1-1-1_all.deb</pre>
<p>create database role</p>
<pre>su postgres
createuser --createdb --username postgres --no-createrole \
--no-superuser --pwprompt openerp</pre>
<p>Go to:</p>
<p>http://SERVER_IP:8069</p>
<p>&#8211;&gt; Manage Databases</p>
<p>Master Password: <strong>admin</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2012/03/openerp-6-1-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>simple-facebook-connect Plugin for WordPress</title>
		<link>http://0x23.de/2011/08/simple-facebook-connect-plugin-for-wordpress/</link>
		<comments>http://0x23.de/2011/08/simple-facebook-connect-plugin-for-wordpress/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 16:59:02 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=147</guid>
		<description><![CDATA[If you recently face the problem that SFC doesn&#8217;t post automatically on your facebook page anymore. And you get the error: .../plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112 Just turn of the facebook https redirection on Facebook. Account settings -> security settings -> Secure browsing otherwise SFC will be redirected to https and can&#8217;t handle the redirection properly. [...]]]></description>
			<content:encoded><![CDATA[<p>If you recently face the problem that SFC doesn&#8217;t post automatically on your facebook page anymore.<br />
And you get the error:<br />
<code><br />
.../plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112<br />
</code></p>
<p>Just turn of the facebook https redirection on Facebook.<br />
Account settings -> security settings -> Secure browsing</p>
<p>otherwise SFC will be redirected to https and can&#8217;t handle the redirection properly.</p>
<p>I&#8217;m looking forward that this problem will be fixed soon.</p>
<p>Besides I&#8217;m sorry that I don&#8217;t have time anymore to post here anymore, but currently I&#8217;m in Tanzania for 1 year and will be back in November.</p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2011/08/simple-facebook-connect-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>turn off udp checksums / tcpdump</title>
		<link>http://0x23.de/2010/08/turn-off-udp-checksums-tcpdump/</link>
		<comments>http://0x23.de/2010/08/turn-off-udp-checksums-tcpdump/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 10:45:14 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=143</guid>
		<description><![CDATA[Do you see strangeudp checksum errors in your tcpdump? turn off tx checksumming with ethtool -K eth0 tx off]]></description>
			<content:encoded><![CDATA[<p>Do you see strangeudp checksum errors in your tcpdump?</p>
<p>turn off tx checksumming with</p>
<pre class="prettyprint">
ethtool -K eth0 tx off
</pre>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2010/08/turn-off-udp-checksums-tcpdump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>moving with hardlinks + times</title>
		<link>http://0x23.de/2010/03/moving-with-hardlinks-times/</link>
		<comments>http://0x23.de/2010/03/moving-with-hardlinks-times/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 12:03:11 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=133</guid>
		<description><![CDATA[cause mv and cp -ar, don&#8217;t copy hardlinks on filesystems you normally have to use rsync with the --hard-links parameter to copy a directory with symlinks, hardlinks and times. rsync uses a lot of memory, cause it&#8217;s building a big file/link table in your memory. if you try to move incremental server backups based on [...]]]></description>
			<content:encoded><![CDATA[<p>cause <code class="prettyprint">mv</code> and <code class="prettyprint">cp -ar</code>, don&#8217;t copy hardlinks on filesystems you normally have to use <code class="prettyprint">rsync</code> with the <code class="prettyprint">--hard-links</code> parameter to copy a directory with symlinks, hardlinks and times.<br />
<code class="prettyprint">rsync</code> uses a lot of memory, cause it&#8217;s building a big file/link table in your memory. if you try to move incremental server backups based on hardlinks, than it could be easy to save hundreds of MB in memory.<br />
for example, if you want to move the backup directory for server1  from /backup3 to /backup4 try:</p>
<pre class="prettyprint"># mkdir -p /backup4/server1
# cd /backup3/server1
# find . -depth -print | cpio -pdm /backup4/server1</pre>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2010/03/moving-with-hardlinks-times/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>chroot: Exec format error</title>
		<link>http://0x23.de/2010/03/chrootexec-format-error/</link>
		<comments>http://0x23.de/2010/03/chrootexec-format-error/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 10:50:17 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=130</guid>
		<description><![CDATA[chroot: cannot run command `mount`: Exec format error Ach Gott, da sucht man nach noexec oder ähnlichen versteckten Hindernissen, die das amd64 System daran hindern die i386 executables auszuführen und dabei hat man nur vergessen Executtable File Formats Emulations ---- > [*] IA32 Emulation einzuschalten &#8230; Manchmal kann das Leben so einfach sein Bin mal [...]]]></description>
			<content:encoded><![CDATA[<p><code class="prettyprint">chroot: cannot run command `mount`: Exec format error</code><br />
Ach Gott, da sucht man nach noexec oder ähnlichen versteckten Hindernissen, die das amd64 System daran hindern die i386 executables auszuführen und dabei hat man nur vergessen</p>
<pre class="prettyprint">Executtable File Formats Emulations ---- >
         [*] IA32 Emulation</pre>
<p>einzuschalten &#8230;</p>
<p>Manchmal kann das Leben so einfach sein <img src='http://0x23.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Bin mal gespannt wie das neue FAI System wird. Hab nun meine beiden 64Bit Systeme zum ergiebigen Testen, sodass es bald die vollautomatische 32bit / 64bit confixx / plesk / managed server dingensbumens install gibt <img src='http://0x23.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2010/03/chrootexec-format-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>xen time went backward problem</title>
		<link>http://0x23.de/2010/02/xen-time-went-backward-problem/</link>
		<comments>http://0x23.de/2010/02/xen-time-went-backward-problem/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:21:32 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=127</guid>
		<description><![CDATA[simple solution to fix the sometimes &#8220;time went backward&#8221; problem occuring in DomU&#8217;s for each DomU add xen.independent_wallclock=1 to /etc/sysctl.conf and add clock=jiffies in the DomU’s config file in the extra-section p.e.: extra = "xencons=tty console=tty clock=jiffies"]]></description>
			<content:encoded><![CDATA[<p>simple solution to fix the sometimes &#8220;time went backward&#8221; problem occuring in DomU&#8217;s</p>
<p>for each DomU add <code class="prettyprint">xen.independent_wallclock=1</code> to <code class="prettyprint">/etc/sysctl.conf</code></p>
<p>and add <code class="prettyprint">clock=jiffies</code> in the DomU’s config file in the <code class="prettyprint">extra</code>-section</p>
<p>p.e.:</p>
<pre class="prettyprint">extra = "xencons=tty console=tty clock=jiffies"</pre>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2010/02/xen-time-went-backward-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>convert directories and files to utf-8 names</title>
		<link>http://0x23.de/2010/02/utf-8-convert-of-directory-and-files/</link>
		<comments>http://0x23.de/2010/02/utf-8-convert-of-directory-and-files/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:53:00 +0000</pubDate>
		<dc:creator>micha w</dc:creator>
				<category><![CDATA[admin-stuff]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[inconv]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://0x23.de/?p=119</guid>
		<description><![CDATA[quick and dirty ISO-8859-15 to UTF-8 conversion for old directories and files. this does not convert the file content or something, only file and directory names find . -type d -exec sh -c 'i="{}"; mv "$i" "$(echo $i&#124;iconv -f ISO_8859-15)" \ 2>/dev/null &#038;&#038; echo "moved $(echo $i&#124;iconv -f ISO_8859-15)"' \; find . -type f -exec [...]]]></description>
			<content:encoded><![CDATA[<p>quick and dirty ISO-8859-15 to UTF-8 conversion for old directories and files.</p>
<p>this does not convert the file content or something, only file and directory names</p>
<pre class="prettyprint">
find . -type d -exec sh -c 'i="{}"; mv "$i" "$(echo $i|iconv -f ISO_8859-15)" \
2>/dev/null &#038;&#038;  echo "moved $(echo $i|iconv -f ISO_8859-15)"' \;
find . -type f -exec sh -c 'i="{}"; mv "$i" "$(echo $i|iconv -f ISO_8859-15)" \
2>/dev/null &#038;&#038;  echo "moved $(echo $i|iconv -f ISO_8859-15)"' \;
</pre>
<p>worked fine for my old mp3 library with wrong converted ISO charakters in it. </p>
<p>if you have a lot of subdirectories with chars to convert you could become problems, with converting already encoded directories again. you could do something like that:<br />
I didn&#8217;t test it, but it should be working <img src='http://0x23.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<pre class="prettyprint">for i in `seq 0 50 | sort -r -n`; do
    find . -type d -exec sh --mindepth=$i -c 'i="{}"; mv "$i" "$(echo $i|iconv -f ISO_8859-15)" \
    2>/dev/null &#038;&#038;  echo "moved $(echo $i|iconv -f ISO_8859-15)"' \;
done
</pre>
]]></content:encoded>
			<wfw:commentRss>http://0x23.de/2010/02/utf-8-convert-of-directory-and-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

