<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Jompeich d&#039;er Bisente</title>
	<atom:link href="http://www.bisente.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bisente.com</link>
	<description>Este es mi blog. Hay otros muchos pero este es el mío.</description>
	<lastBuildDate>Thu, 18 Mar 2010 18:06:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/es/</creativeCommons:license>		<item>
		<title>Esto sólo lo arreglamos entre todos</title>
		<link>http://www.bisente.com/blog/2010/03/18/esto-solo-lo-arreglamos-entre-todos/</link>
		<comments>http://www.bisente.com/blog/2010/03/18/esto-solo-lo-arreglamos-entre-todos/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 18:06:09 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[Opinión]]></category>
		<category><![CDATA[Sociedad]]></category>
		<category><![CDATA[ciencia]]></category>
		<category><![CDATA[crisis]]></category>
		<category><![CDATA[educación]]></category>
		<category><![CDATA[política]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1389</guid>
		<description><![CDATA[
Copiado vilmente de mi mesa cojea.




	
	
	
	
	
	
	


Artículos relacionados (o no):Manifiesto “En defensa de los derechos fundamentales en internet”¿Qué ha sido de la &#8220;netiqueta&#8221;?&#8220;El futuro ya no es lo que era&#8221; &#8211; Arthur C. Clarke (1917-2008)¿Por qué le llaman debate cuando quieren decir monólogo?Voto por correo (II)Voto por correo]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1390" href="http://www.bisente.com/blog/2010/03/18/esto-solo-lo-arreglamos-entre-todos/c_nicos/"><img class="alignnone size-medium wp-image-1390" title="c_nicos" src="http://www.bisente.com/files/2010/03/c_nicos-217x300.png" alt="" width="217" height="300" /></a></p>
<p>Copiado vilmente de <a title="Esto sólo lo arreglamos entre todos" href="http://www.mimesacojea.com/2010/03/esto-solo-lo-arreglamos-entre-todos.html">mi mesa cojea</a>.</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=Esto%20s%C3%B3lo%20lo%20arreglamos%20entre%20todos%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F&amp;t=Esto%20s%C3%B3lo%20lo%20arreglamos%20entre%20todos" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Esto%20s%C3%B3lo%20lo%20arreglamos%20entre%20todos&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F18%2Festo-solo-lo-arreglamos-entre-todos%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2009/12/02/manifiesto-%e2%80%9cen-defensa-de-los-derechos-fundamentales-en-internet%e2%80%9d/" title="Manifiesto “En defensa de los derechos fundamentales en internet”">Manifiesto “En defensa de los derechos fundamentales en internet”</a></li><li><a href="http://www.bisente.com/blog/2008/06/25/%c2%bfque-ha-sido-de-la-netiqueta/" title="¿Qué ha sido de la &#8220;netiqueta&#8221;?">¿Qué ha sido de la &#8220;netiqueta&#8221;?</a></li><li><a href="http://www.bisente.com/blog/2008/03/19/el-futuro-ya-no-es-lo-que-era-arthur-c-clarke-1917-2008/" title="&#8220;El futuro ya no es lo que era&#8221; &#8211; Arthur C. Clarke (1917-2008)">&#8220;El futuro ya no es lo que era&#8221; &#8211; Arthur C. Clarke (1917-2008)</a></li><li><a href="http://www.bisente.com/blog/2008/02/26/%c2%bfpor-que-le-llaman-debate-cuando-quieren-decir-monologo/" title="¿Por qué le llaman debate cuando quieren decir monólogo?">¿Por qué le llaman debate cuando quieren decir monólogo?</a></li><li><a href="http://www.bisente.com/blog/2008/02/22/voto-por-correo-ii/" title="Voto por correo (II)">Voto por correo (II)</a></li><li><a href="http://www.bisente.com/blog/2008/01/30/voto-por-correo/" title="Voto por correo">Voto por correo</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/18/esto-solo-lo-arreglamos-entre-todos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Per-domain tinydns configuration</title>
		<link>http://www.bisente.com/blog/2010/03/17/tinydns-por-dominios/</link>
		<comments>http://www.bisente.com/blog/2010/03/17/tinydns-por-dominios/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 06:51:43 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linuxadas]]></category>
		<category><![CDATA[Daniel J. Bernstein]]></category>
		<category><![CDATA[DJB]]></category>
		<category><![CDATA[djbdns]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[tinydns]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1385</guid>
		<description><![CDATA[





It&#8217;s no secret that I really like DJB&#8217;s software. I think that qmail and djbdns are rock-solid pieces of software, something you can really rely on. But some people just don&#8217;t get them and bash them for whatever reasons.
Case in point, djbdns. Many a time I&#8217;ve heard the argument that having all tinydns&#8217; domains in [...]]]></description>
			<content:encoded><![CDATA[<div class="jLanguage">
<ul>
<li><a href="?lan=english"><img alt="english" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/en.png" /></a></li>
<li><a href="?lan=spanish"><img alt="spanish" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/es.png" /></a></li>
</ul>
</div>
<p>It&#8217;s no secret that I really like <a class="zem_slink" title="Daniel J. Bernstein" rel="homepage" href="http://cr.yp.to/djb.html">DJB</a>&#8217;s software. I think that <a class="zem_slink" title="Qmail" rel="homepage" href="http://cr.yp.to/qmail.html">qmail</a> and <a class="zem_slink" title="Djbdns" rel="homepage" href="http://cr.yp.to/djbdns.html">djbdns</a> are rock-solid pieces of software, something you can really rely on. But some people just don&#8217;t get them and bash them for whatever reasons.</p>
<p>Case in point, djbdns. Many a time I&#8217;ve heard the argument that having all tinydns&#8217; domains in a single data file is a PITA. Well, that proves those people don&#8217;t get the point in DJB configuration files: you can edit them by hand, but their real power is that they&#8217;re easily scriptable! You don&#8217;t want having all the domains in a single file? Ok, split them and join them before compiling!</p>
<p>You can do this with the following makefile: split the domains, one per file on the &#8220;domains&#8221; directory, and work with those files, don&#8217;t ever touch the original &#8220;data&#8221; file again. And if you have a backup server put it&#8217;s IP address or FQDN on an env/BACKUP file. Then when you run &#8220;make&#8221; it will join all the files, compile them and sync the results with the backup server. Easy as pie, don&#8217;t you think?</p>
<pre><code>
all: data.cdb

data: domains/*[^bB][^aA][^kK~]
        cat $+ &gt; data

data.cdb: data
        /usr/bin/tinydns-data
        [ -f ../env/BACKUP ] &amp;&amp; rsync -azv * root@`cat ../env/BACKUP`:`pwd`

clean:
        -rm -f *~ domains/*~
</code></pre>
<div class="zemanta-pixie" style="margin-top:10px;height:15px"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=adfe627a-abb6-416f-b5b1-26dec933c285" style="border:none;float:right"/><span class="zem-script more-related pretty-attribution"></span></div>




	<a rel="nofollow"  href="http://twitter.com/home?status=%5Bspanish%5Dtinydns%20por%20dominios%5B%2Fspanish%5D%5Benglish%5DPer-domain%20tinydns%20configuration%5B%2Fenglish%5D%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F&amp;t=%5Bspanish%5Dtinydns%20por%20dominios%5B%2Fspanish%5D%5Benglish%5DPer-domain%20tinydns%20configuration%5B%2Fenglish%5D" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=%5Bspanish%5Dtinydns%20por%20dominios%5B%2Fspanish%5D%5Benglish%5DPer-domain%20tinydns%20configuration%5B%2Fenglish%5D&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F17%2Ftinydns-por-dominios%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2008/07/09/grave-problema-de-seguridad-en-el-protocolo-dns/" title="Grave problema de seguridad en el protocolo DNS">Grave problema de seguridad en el protocolo DNS</a></li><li><a href="http://www.bisente.com/blog/2009/12/03/google-reinventando-internet-iii-el-dns/" title="Google, reinventando Internet III: el DNS">Google, reinventando Internet III: el DNS</a></li><li><a href="http://www.bisente.com/blog/2008/04/26/mi-nuevo-servidor/" title="[spanish]Mi nuevo servidor[/spanish][english]My new server[/english]">[spanish]Mi nuevo servidor[/spanish][english]My new server[/english]</a></li><li><a href="http://www.bisente.com/blog/2008/03/03/back-home/" title="Back $HOME">Back $HOME</a></li><li><a href="http://www.bisente.com/blog/2008/01/25/%c2%bfpor-que-interfaz-de-red-sale-el-trafico-udp/" title="[spanish]¿Por qué interfaz de red sale el tráfico UDP?[/spanish][english]Which network interface goes the UDP traffic out through?[/english]">[spanish]¿Por qué interfaz de red sale el tráfico UDP?[/spanish][english]Which network interface goes the UDP traffic out through?[/english]</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/17/tinydns-por-dominios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Otro trailer más, Tron Legacy</title>
		<link>http://www.bisente.com/blog/2010/03/09/otro-trailer-mas-tron-legacy/</link>
		<comments>http://www.bisente.com/blog/2010/03/09/otro-trailer-mas-tron-legacy/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:25:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cine]]></category>
		<category><![CDATA[Frikadas]]></category>
		<category><![CDATA[trailers]]></category>
		<category><![CDATA[Tron]]></category>
		<category><![CDATA[Tron Legacy]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1382</guid>
		<description><![CDATA[Hoy esto va de trailers. :-) Esta no sé si tengo más ganas o miedo de que la saquen. :-/




	
	
	
	
	
	
	


Artículos relacionados (o no):Más videos de Watchmen y  The Dark Knight¡Por las barbas de Hari Seldon!Mensaje al receptor equivocadoSolarisWatchmen: peli vs. cómicPrólogo de The Dark Knight en HDTrailer de WatchmenHulk: continuidad entre pelis de Marvelformat [...]]]></description>
			<content:encoded><![CDATA[<p>Hoy esto va de trailers. :-) Esta no sé si tengo más ganas o miedo de que la saquen. :-/</p>
<p><a href="http://www.bisente.com/blog/2010/03/09/otro-trailer-mas-tron-legacy/"><em>Pinche aquí para ver el vídeo</em></a></p>




	<a rel="nofollow"  href="http://twitter.com/home?status=Otro%20trailer%20m%C3%A1s%2C%20Tron%20Legacy%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F&amp;t=Otro%20trailer%20m%C3%A1s%2C%20Tron%20Legacy" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Otro%20trailer%20m%C3%A1s%2C%20Tron%20Legacy&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Fotro-trailer-mas-tron-legacy%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2008/06/08/mas-videos-de-watchmen-y-the-dark-knight/" title="Más videos de Watchmen y  The Dark Knight">Más videos de Watchmen y  The Dark Knight</a></li><li><a href="http://www.bisente.com/blog/2008/11/29/%c2%a1por-las-barbas-de-hari-seldon/" title="¡Por las barbas de Hari Seldon!">¡Por las barbas de Hari Seldon!</a></li><li><a href="http://www.bisente.com/blog/2008/10/06/mensaje-al-receptor-equivocado/" title="Mensaje al receptor equivocado">Mensaje al receptor equivocado</a></li><li><a href="http://www.bisente.com/blog/2008/09/14/solaris/" title="Solaris">Solaris</a></li><li><a href="http://www.bisente.com/blog/2008/07/19/watchmen-peli-vs-comic/" title="Watchmen: peli vs. cómic">Watchmen: peli vs. cómic</a></li><li><a href="http://www.bisente.com/blog/2008/07/19/prologo-de-the-dark-knight-en-hd/" title="Prólogo de The Dark Knight en HD">Prólogo de The Dark Knight en HD</a></li><li><a href="http://www.bisente.com/blog/2008/07/17/trailer-de-watchmen/" title="Trailer de Watchmen">Trailer de Watchmen</a></li><li><a href="http://www.bisente.com/blog/2008/06/08/hulk-continuidad-entre-pelis-de-marvel/" title="Hulk: continuidad entre pelis de Marvel">Hulk: continuidad entre pelis de Marvel</a></li><li><a href="http://www.bisente.com/blog/2008/05/07/format-brain/" title="format brain:">format brain:</a></li><li><a href="http://www.bisente.com/blog/2008/05/07/watchmen-the-dark-knight-nick-furia-y-lo-que-viene-de-marvel/" title="Watchmen, The Dark Knight, Nick Furia y lo que viene de Marvel">Watchmen, The Dark Knight, Nick Furia y lo que viene de Marvel</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/09/otro-trailer-mas-tron-legacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trailer de Iron Man 2</title>
		<link>http://www.bisente.com/blog/2010/03/09/trailer-de-iron-man-2/</link>
		<comments>http://www.bisente.com/blog/2010/03/09/trailer-de-iron-man-2/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 06:49:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cine]]></category>
		<category><![CDATA[Cómics]]></category>
		<category><![CDATA[Iron Man]]></category>
		<category><![CDATA[Marvel]]></category>
		<category><![CDATA[pelis]]></category>
		<category><![CDATA[Scarlett Johansson]]></category>
		<category><![CDATA[trailer]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1378</guid>
		<description><![CDATA[Y la Johansson de pelirroja &#8230; :-9 &#8220;I want one&#8221;. xD




	
	
	
	
	
	
	


Artículos relacionados (o no):Watchmen, The Dark Knight, Nick Furia y lo que viene de MarvelOtro trailer más de Iron ManPortada de El Juego de Ender de MarvelPrólogo de The Dark Knight en HDHulk: continuidad entre pelis de MarvelUna escena completa (2 minutos) de Iron Man, [...]]]></description>
			<content:encoded><![CDATA[<center><object width="480" height="295"><param name="wmode" value="opaque" /><param name="movie" value="http://www.youtube.com/v/FNQowwwwYa0&hl=es&fs=1&rel=0&showinfo=0&showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed wmode="opaque" src="http://www.youtube.com/v/FNQowwwwYa0&hl=es&fs=1&rel=0&showinfo=0&showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></center><br />
<p>Y la Johansson de pelirroja &#8230; :-9 &#8220;I want one&#8221;. xD</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=Trailer%20de%20Iron%20Man%202%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F&amp;t=Trailer%20de%20Iron%20Man%202" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Trailer%20de%20Iron%20Man%202&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F09%2Ftrailer-de-iron-man-2%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2008/05/07/watchmen-the-dark-knight-nick-furia-y-lo-que-viene-de-marvel/" title="Watchmen, The Dark Knight, Nick Furia y lo que viene de Marvel">Watchmen, The Dark Knight, Nick Furia y lo que viene de Marvel</a></li><li><a href="http://www.bisente.com/blog/2008/03/04/otro-trailer-mas-de-iron-man/" title="Otro trailer más de Iron Man">Otro trailer más de Iron Man</a></li><li><a href="http://www.bisente.com/blog/2008/07/21/portada-de-el-juego-de-ender-de-marvel/" title="Portada de El Juego de Ender de Marvel">Portada de El Juego de Ender de Marvel</a></li><li><a href="http://www.bisente.com/blog/2008/07/19/prologo-de-the-dark-knight-en-hd/" title="Prólogo de The Dark Knight en HD">Prólogo de The Dark Knight en HD</a></li><li><a href="http://www.bisente.com/blog/2008/06/08/hulk-continuidad-entre-pelis-de-marvel/" title="Hulk: continuidad entre pelis de Marvel">Hulk: continuidad entre pelis de Marvel</a></li><li><a href="http://www.bisente.com/blog/2008/04/14/una-escena-completa-2-minutos-de-iron-man-y-primera-critica/" title="Una escena completa (2 minutos) de Iron Man, y primera crítica">Una escena completa (2 minutos) de Iron Man, y primera crítica</a></li><li><a href="http://www.bisente.com/blog/2008/02/04/los-heroes-no-nacen-se-construyen/" title="Los héroes no nacen&#8230; se construyen">Los héroes no nacen&#8230; se construyen</a></li><li><a href="http://www.bisente.com/blog/2008/07/19/watchmen-peli-vs-comic/" title="Watchmen: peli vs. cómic">Watchmen: peli vs. cómic</a></li><li><a href="http://www.bisente.com/blog/2008/07/17/trailer-de-watchmen/" title="Trailer de Watchmen">Trailer de Watchmen</a></li><li><a href="http://www.bisente.com/blog/2008/04/23/el-comic-de-ender/" title="El cómic de Ender">El cómic de Ender</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/09/trailer-de-iron-man-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cuando la rueda del scroll deja de funcionar: desmontar el Mighty Mouse Wireless</title>
		<link>http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/</link>
		<comments>http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 12:37:30 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[Frikadas]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[bola]]></category>
		<category><![CDATA[desmontar]]></category>
		<category><![CDATA[limpiar]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mighty Mouse]]></category>
		<category><![CDATA[ratón]]></category>
		<category><![CDATA[roña]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[suciedad]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1364</guid>
		<description><![CDATA[Cuando me compré el MacBook Pro hace dos años y medio me hice también con un Mighty Mouse Wireless. Qué le vamos a hacer, los touchpad no me acaban de gustar y el ordenador lo uso sobre todo como equipo de sobremesa, así que el ratón me viene bien.
De vez en cuando he tenido los [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando me compré el MacBook Pro hace dos años y medio me hice también con un <a title="Apple Mighty Mouse" href="http://en.wikipedia.org/wiki/Apple_Mighty_Mouse">Mighty Mouse Wireless</a>. Qué le vamos a hacer, los touchpad no me acaban de gustar y el ordenador lo uso sobre todo como equipo de sobremesa, así que el ratón me viene bien.</p>
<p>De vez en cuando he tenido los típicos problemas de &#8220;roña&#8221; que se amontona en la bola del scroll y deja de ir en alguna dirección, pero siguiendo <a title="How to clean Mac products" href="http://support.apple.com/kb/HT3226">las instrucciones de Apple</a> (frotar la bola con un paño húmedo, con fuerza, con el ratón boca abajo) se había solucionado. Hasta ahora. Desde hace un par de semanas el scroll hacia abajo no iba de ninguna manera, y con los procedimientos de limpieza habituales no conseguía nada. Parece mentira que hasta hace unos años los ratones no tuvieran rueda para el scroll (coño, ni botón central) y sobreviviéramos así, es que estas pequeñas cosas no te das cuenta de lo que ayudan hasta que las pierdes. Estas dos semanas tener que usar la tecla de &#8220;Av. Pág.&#8221; me sacaba de quicio. Así que había que &#8220;operar&#8221;, a vida o muerte.</p>
<p><a title="Batería de recambio para el iPod" href="http://www.bisente.com/blog/2007/05/20/spanish-bateria-de-recambio-para-el-ipod-spanishenglish-ipod-replacement-battery-english/">Abrir un chisme de Apple</a> siempre tiene su gracia. Con esos diseños tan cuidados y redondeados, sin un sólo tornillo a la vista, muchas piezas van a presión o pegadas con lo que desmontarlas es cuestión de paciencia y mucho tacto.</p>
<p>El siguiente vídeo que he encontrado en <a title="How to crack open an Apple Mighty Mouse and clean the trackball" href="http://www.edibleapple.com/how-to-crack-open-an-apple-mighty-mouse-and-clean-the-trackball/">ésta página</a> explica el proceso. Es con un Mighty Mouse &#8220;Wired&#8221;, pero con el Wireless es todo igual. No hace falta la mariconada de palanca que se construye el tío con el &#8220;clip&#8221; de encuadernar folios, con un destornillador de precisión suficientemente fino (y mucho, mucho cuidado) vale. Inevitablemente van a quedar algunas marcas, pero &#8230; mejor eso que gastarse otros 60€ en un ratón nuevo, ¿no? ;-)</p>
<center><object width="480" height="295" id="veohFlashPlayer" name="veohFlashPlayer"><param name="wmode" value="opaque" /><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.0.3.1003&permalinkId=v378809PrA5a3pg&player=videodetailsembedded&videoAutoPlay=0&id=anonymous"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed wmode="opaque" src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.0.3.1003&permalinkId=v378809PrA5a3pg&player=videodetailsembedded&videoAutoPlay=0&id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object></center><br />
<p>Desmontar, limpiar, volver a montar y pegar de nuevo el aro de abajo del ratón. A penas media hora, ratón como nuevo y scroll funcionando.</p>
<p>Por cierto, un componente dentro del bicho tiene un código QR encima, pero el Android no ha sido capaz de leerlo. :-? Curioso.</p>
<p><a rel="attachment wp-att-1365" href="http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/2010-03-07-09-43-20/"><img class="alignnone size-thumbnail wp-image-1365" title="2010-03-07 09.43.20" src="http://www.bisente.com/files/2010/03/2010-03-07-09.43.20-150x112.jpg" alt="" width="150" height="112" /></a><a rel="attachment wp-att-1367" href="http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/2010-03-07-12-41-20/"><img class="alignnone size-thumbnail wp-image-1367" title="2010-03-07 12.41.20" src="http://www.bisente.com/files/2010/03/2010-03-07-12.41.20-150x112.jpg" alt="" width="150" height="112" /></a><a rel="attachment wp-att-1366" href="http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/2010-03-07-09-48-33/"><img class="alignnone size-thumbnail wp-image-1366" title="2010-03-07 09.48.33" src="http://www.bisente.com/files/2010/03/2010-03-07-09.48.33-150x112.jpg" alt="" width="150" height="112" /></a></p>




	<a rel="nofollow"  href="http://twitter.com/home?status=Cuando%20la%20rueda%20del%20scroll%20deja%20de%20funcionar%3A%20desmontar%20el%20Mighty%20Mouse%20Wireless%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F&amp;t=Cuando%20la%20rueda%20del%20scroll%20deja%20de%20funcionar%3A%20desmontar%20el%20Mighty%20Mouse%20Wireless" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Cuando%20la%20rueda%20del%20scroll%20deja%20de%20funcionar%3A%20desmontar%20el%20Mighty%20Mouse%20Wireless&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F07%2Fcuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2009/11/24/csshx/" title="csshX">csshX</a></li><li><a href="http://www.bisente.com/blog/2009/08/08/el-posible-tablet-de-apple-no-es-un-libro-electronico/" title="El posible tablet de Apple no es un libro electrónico">El posible tablet de Apple no es un libro electrónico</a></li><li><a href="http://www.bisente.com/blog/2009/01/06/%c2%bfmp3-%c2%bftelefono-%c2%bfpda-%c2%bfo-hiper-mega-ultra-portatil/" title="¿MP3? ¿Teléfono? ¿PDA? ¿O hiper-mega-ultra-portátil?">¿MP3? ¿Teléfono? ¿PDA? ¿O hiper-mega-ultra-portátil?</a></li><li><a href="http://www.bisente.com/blog/2008/03/24/macos-x-cumple-7-anos/" title="MacOS X cumple 7 años">MacOS X cumple 7 años</a></li><li><a href="http://www.bisente.com/blog/2009/12/04/safari-adblocker-compatible-64bits/" title="Safari AdBlocker, compatible 64bits">Safari AdBlocker, compatible 64bits</a></li><li><a href="http://www.bisente.com/blog/2009/09/22/samsung-ml-1520-en-macos-x-snow-leopard/" title="[spanish]Samsung ML-1520 en MacOS X Snow Leopard[/spanish][english]Samsung ML-1520 on MacOS X Snow Leoprad[/english]">[spanish]Samsung ML-1520 en MacOS X Snow Leopard[/spanish][english]Samsung ML-1520 on MacOS X Snow Leoprad[/english]</a></li><li><a href="http://www.bisente.com/blog/2009/06/14/migrando-a-safari-complementos/" title="Migrando a Safari: complementos">Migrando a Safari: complementos</a></li><li><a href="http://www.bisente.com/blog/2009/02/01/optimizando-macos-x-leopard/" title="Optimizando MacOS X Leopard">Optimizando MacOS X Leopard</a></li><li><a href="http://www.bisente.com/blog/2009/01/08/organizacion/" title="Organización!">Organización!</a></li><li><a href="http://www.bisente.com/blog/2008/12/02/nueva-mapple-store-en-springfield/" title="Nueva Mapple Store en Springfield">Nueva Mapple Store en Springfield</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/07/cuando-la-rueda-del-scroll-deja-de-funcionar-desmontar-el-mighty-mouse-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debuggin nginx issues</title>
		<link>http://www.bisente.com/blog/2010/03/04/depurando-problemas-con-nginx/</link>
		<comments>http://www.bisente.com/blog/2010/03/04/depurando-problemas-con-nginx/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 06:51:04 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linuxadas]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[daemontools]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[análisis]]></category>
		<category><![CDATA[CLOSE_WAIT]]></category>
		<category><![CDATA[conexión]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[depurar]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[problemas]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1360</guid>
		<description><![CDATA[





Last week I&#8217;ve been debugging a problem I had with this site&#8217;s nginx server: from time to time it hanged and I had to restart the process. Some time ago I wrote a little script that checked if it was running OK and restarted it otherwise, but anyway that wasn&#8217;t a real solution.
So I spent some [...]]]></description>
			<content:encoded><![CDATA[<div class="jLanguage">
<ul>
<li><a href="?lan=english"><img alt="english" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/en.png" /></a></li>
<li><a href="?lan=spanish"><img alt="spanish" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/es.png" /></a></li>
</ul>
</div>
<p>Last week I&#8217;ve been debugging a problem I had with this site&#8217;s <a title="nginx" href="http://wiki.nginx.org">nginx</a> server: from time to time it hanged and I had to restart the process. Some time ago I wrote a little script that checked if it was running OK and restarted it otherwise, but anyway that wasn&#8217;t a real solution.</p>
<p>So I spent some days really looking into it and asking for support and reporting my findings to the <a title="nginx mailing list" href="http://nginx.org/pipermail/nginx/">nginx mailing list</a>. One useful tip I got there was enabling the &#8220;debug&#8221; mode on the <a title="nginx error_log" href="http://wiki.nginx.org/NginxHttpMainModule#error_log">error log</a>, which shows full traces of the processes (including their PID) as they&#8217;re processing the request, the rewrites, upstreams, etc.</p>
<p><code>error_log /var/log/nginx/$host-error.log debug;</code></p>
<p>With this extended log and the PID of the process malfunctioning, it&#8217;s quite easy finding out what that process was doing right before hanging. In order to find out the PID of the hanged processes, I extended my check-reboot script to log some generic system metrics right before restarting nginx: netstat -nap (which shows the PID), ps, vmstat, etc.</p>
<p><code></p>
<pre>#!/bin/sh

TIMEOUT=20
CHECK=http://localhost/wp-admin/
LOG=/var/log/checkWeb/checkWeb-$(date +%Y%m%d).log
LOGR=/var/log/checkWeb/restart-$(date +%Y%m%d).log
TMP=/tmp/checkWeb-$RANDOM

if ! wget -t 1 -o /dev/null -O /dev/nul -T $TIMEOUT $CHECK
then
echo "ERROR, restarting nginx"
echo "** RESTARTING **" &gt;&gt; $TMP
date &gt;&gt; $TMP
echo "- CLOSE_WAIT:" &gt;&gt; $TMP
netstat -nap | grep -c CLOSE_WAIT &gt;&gt; $TMP
echo "- vmstat" &gt;&gt; $TMP
vmstat 1 5 &gt;&gt; $TMP
echo "- free" &gt;&gt; $TMP
free &gt;&gt; $TMP
echo "- ps" &gt;&gt; $TMP
ps aux &gt;&gt; $TMP
echo "- netstat" &gt;&gt; $TMP
netstat -nap &gt;&gt; $TMP
echo "" &gt;&gt; $TMP
echo "" &gt;&gt; $TMP

#       pkill -9 -f php-cgi
pkill -9 -f nginx
sleep 1s
/etc/init.d/nginx start

cat $TMP
cat $TMP &gt;&gt; $LOG
date &gt;&gt; $LOGR
fi

rm -rf $TMP</pre>
<p></code></p>
<p>This way, each time localhost/wp-admin was unresponsive (I was debugging a WP site), besides restarting nginx I was getting a lot of system info. With time I got to realize that nginx processes were not actually hanging, but some of their sockets got on the CLOSE_WAIT state forever until the process was restarted. Looking for the PID of those processes according to netstat on the error log, the last request they were processing before getting to the CLOSE_WAIT state was always the same: on my blog I have some examples of how running servers with <a title="daemontools" href="http://www.bisente.com/blog/category/linuxadas/daemontools/">daemontools</a>; daemontools uses named pipes (FIFOs), which can become kind of black holes if there&#8217;s no process feeding them; when nginx hit one of these FIFOs, it hanged.</p>
<p>Funny thing is that I never had this problem with either Apache nor lighttpd. But anyway the problem is not nginx but those FIFOs which shouldn&#8217;t really be there. I removed them and have had no hanged processes in five days, while before this nginx was restarting 3-4 times a day.</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=%5Bspanish%5DDepurando%20problemas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DDebuggin%20nginx%20issues%5B%2Fenglish%5D%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F&amp;t=%5Bspanish%5DDepurando%20problemas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DDebuggin%20nginx%20issues%5B%2Fenglish%5D" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=%5Bspanish%5DDepurando%20problemas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DDebuggin%20nginx%20issues%5B%2Fenglish%5D&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F03%2F04%2Fdepurando-problemas-con-nginx%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2009/09/03/probando-nginx/" title="Probando nginx">Probando nginx</a></li><li><a href="http://www.bisente.com/blog/2010/02/19/pasar-url-a-minusculas-con-nginx/" title="[spanish]Pasar URL a minúsculas con nginx[/spanish][english]Rewriting URL to lowercase with nginx[/english]">[spanish]Pasar URL a minúsculas con nginx[/spanish][english]Rewriting URL to lowercase with nginx[/english]</a></li><li><a href="http://www.bisente.com/blog/2010/02/05/parche-para-autenticar-nginx-con-amazon-s3/" title="Parche para autenticar nginx con Amazon S3">Parche para autenticar nginx con Amazon S3</a></li><li><a href="http://www.bisente.com/blog/2009/12/04/captura-de-cabeceras-http-en-tiempo-real/" title="[spanish]Captura de cabeceras HTTP en tiempo real[/spanish][english]Real-time HTTP headers capture[/english]">[spanish]Captura de cabeceras HTTP en tiempo real[/spanish][english]Real-time HTTP headers capture[/english]</a></li><li><a href="http://www.bisente.com/blog/2009/11/16/nginx-memcached-http-30/" title="[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]">[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]</a></li><li><a href="http://www.bisente.com/blog/2008/10/02/cluster-de-correo-escalable-con-software-libre/" title="[spanish]Cluster de correo escalable con software libre[/spanish][english]Open source, scalable MTA clusters[/english]">[spanish]Cluster de correo escalable con software libre[/spanish][english]Open source, scalable MTA clusters[/english]</a></li><li><a href="http://www.bisente.com/blog/2008/09/22/iostat-iotop-io-debugging/" title="iostat &amp; iotop: I/O debugging">iostat &amp; iotop: I/O debugging</a></li><li><a href="http://www.bisente.com/blog/2008/09/18/%c2%a1el-viernes-va-fuera/" title="¡El viernes va fuera!">¡El viernes va fuera!</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/03/04/depurando-problemas-con-nginx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>El relevo de Pocoyo y Caillou</title>
		<link>http://www.bisente.com/blog/2010/02/25/el-relevo-de-pocoyo-y-caillou/</link>
		<comments>http://www.bisente.com/blog/2010/02/25/el-relevo-de-pocoyo-y-caillou/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 06:50:38 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[Chorradas]]></category>
		<category><![CDATA[Frikadas]]></category>
		<category><![CDATA[Cthulhu]]></category>
		<category><![CDATA[fthagn!]]></category>
		<category><![CDATA[iä!]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1356</guid>
		<description><![CDATA[Pues mira tú por dónde a esta serie si que me aficionaría, y no a Bob Esponja:

Visto en ZonaFandom.




	
	
	
	
	
	
	


Artículos relacionados (o no):Pues no hay. :-(]]></description>
			<content:encoded><![CDATA[<p>Pues mira tú por dónde a esta serie si que me aficionaría, y no a Bob Esponja:</p>
<p><center><object type="application/x-shockwave-flash" data="http://zappinternet.com/v/KoBqRavZez" height="295" width="480"><param name="movie" value="http://zappinternet.com/v/KoBqRavZez" /><param name="allowFullScreen" value="true" /></object></center><br /></p>
<p>Visto en <a title="Las Aventuras del Pequeño Cthulhu" href="http://www.zonafandom.com/frikadas/las-aventuras-del-pequeno-cthulhu?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+zonafandom+%28Zona+Fandom%29">ZonaFandom</a>.</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=El%20relevo%20de%20Pocoyo%20y%20Caillou%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F&amp;t=El%20relevo%20de%20Pocoyo%20y%20Caillou" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=El%20relevo%20de%20Pocoyo%20y%20Caillou&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F25%2Fel-relevo-de-pocoyo-y-caillou%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li>Pues no hay. :-(</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/02/25/el-relevo-de-pocoyo-y-caillou/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>find -empty,deleting empty dirs</title>
		<link>http://www.bisente.com/blog/2010/02/20/find-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish/</link>
		<comments>http://www.bisente.com/blog/2010/02/20/find-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 12:38:01 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linuxadas]]></category>
		<category><![CDATA[borrar]]></category>
		<category><![CDATA[clean]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[dir]]></category>
		<category><![CDATA[directories]]></category>
		<category><![CDATA[directorio]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[vacío]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1348</guid>
		<description><![CDATA[





The find command has an -empty option which detects empty directories of files (0bytes). This is useful if you need to locate or remove empty directories or files from a directory structure:
find /path/ -type d -empty -exec rmdir {} \;
find /path/ -type f -empty





	
	
	
	
	
	
	


Artículos relacionados (o no):Pues no hay. :-(]]></description>
			<content:encoded><![CDATA[<div class="jLanguage">
<ul>
<li><a href="?lan=english"><img alt="english" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/en.png" /></a></li>
<li><a href="?lan=spanish"><img alt="spanish" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/es.png" /></a></li>
</ul>
</div>
<p>The <em>find</em> command has an -<em>empty</em> option which detects empty directories of files (0bytes). This is useful if you need to locate or remove empty directories or files from a directory structure:</p>
<p><code>find /path/ -type d -empty -exec rmdir {} \;<br />
find /path/ -type f -empty<br />
</code></p>




	<a rel="nofollow"  href="http://twitter.com/home?status=find%20-empty%2C%20%5Bspanish%5Dborrar%20directorios%20vac%C3%ADos%5B%2Fspanish%5D%5Benglish%5Ddeleting%20empty%20dirs%5B%2Fenglish%5D%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F&amp;t=find%20-empty%2C%20%5Bspanish%5Dborrar%20directorios%20vac%C3%ADos%5B%2Fspanish%5D%5Benglish%5Ddeleting%20empty%20dirs%5B%2Fenglish%5D" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=find%20-empty%2C%20%5Bspanish%5Dborrar%20directorios%20vac%C3%ADos%5B%2Fspanish%5D%5Benglish%5Ddeleting%20empty%20dirs%5B%2Fenglish%5D&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F20%2Ffind-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li>Pues no hay. :-(</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/02/20/find-empty-borrar-directorios-vaciosdeleting-empty-dirsenglish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rewriting URL to lowercase with nginx</title>
		<link>http://www.bisente.com/blog/2010/02/19/pasar-url-a-minusculas-con-nginx/</link>
		<comments>http://www.bisente.com/blog/2010/02/19/pasar-url-a-minusculas-con-nginx/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 17:01:00 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linuxadas]]></category>
		<category><![CDATA[case-insensitive]]></category>
		<category><![CDATA[case-sensitive]]></category>
		<category><![CDATA[lowercase]]></category>
		<category><![CDATA[minúsculas]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1342</guid>
		<description><![CDATA[





With nginx and its embedded Perl module it is possible to automatically rewrite/redirect every incoming request to a lowercase URL with something like this:
http {
	...
	perl_modules  perl/lib;

 	perl_set $uri_lowercase 'sub {
   		my $r = shift;
   		my $uri = $r-&#62;uri;
   		$uri = lc($uri);
   		return $uri;
 	}';
	...
}

server {
	...

	location / [...]]]></description>
			<content:encoded><![CDATA[<div class="jLanguage">
<ul>
<li><a href="?lan=english"><img alt="english" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/en.png" /></a></li>
<li><a href="?lan=spanish"><img alt="spanish" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/es.png" /></a></li>
</ul>
</div>
<p>With nginx and its embedded Perl module it is possible to automatically rewrite/redirect every incoming request to a lowercase URL with something like this:</p>
<pre>http {
	...
	perl_modules  perl/lib;

 	perl_set $uri_lowercase 'sub {
   		my $r = shift;
   		my $uri = $r-&gt;uri;
   		$uri = lc($uri);
   		return $uri;
 	}';
	...
}

server {
	...

	location / {
               if ( $uri != $uri_lowercase ) {
                       rewrite . http://$host$uri_lowercase;
               }
# or just:
#		rewrite . $uri_lowercase;
	}
	...
}</pre>
<p>The first option (with the if and http://$host) sends an HTTP redirect to the lowercase URL if the requested URL is not completely in lowercase. I like this approach better as it kind of normalizes all URL to a canonical form. The second option (without if nor http://) just accepts any URL and internally rewrites them to lowercase: if you rename all your directories and files to lowercase, this will imitate Windows&#8217; case-insensitive behaviour.</p>
<p>Kudos to the following post on the nginx users list were I draw the &#8220;inspiration&#8221; :D from to get this done. The embedded perl doc and examples are indeed scarce. :-(</p>
<p><a href="http://forum.nginx.org/read.php?2,39425,39944">http://forum.nginx.org/read.php?2,39425,39944</a></p>
<p>Anyway I see two problems in this approach:</p>
<ul>
<li>you need the embedded perl module which according to the docs is experimental and can lead to memory leaks.</li>
<li>the actual redirection is done with the rewrite, which you can put on the location you need. But the URL lowercase calculation, being on the &#8220;http&#8221; section of the config, is done for each and every request arriving to your server. Say you have a virtual server with 10 domains and you only need this on one particular location of one of them. The lowercase URL is going to be calculated for every request of every domain.</li>
</ul>
<p>I guess that by defining a perl function the URL calculation could be restricted to a particular location, have to look into it further. Another option is writing a C module.</p>
<p>And why would anybody want to rewrite every URL to lowercase? We&#8217;re migrating a legacy Tomcat-based application from Windows to Linux, and it seems the original developers were not &#8220;case-aware&#8221; at all, they mixed upper and lowercase in the filenames without regarding how the actual files were named. On Windows this is not a problem but when moving the app to Linux it is. So we have renamed every file and directory to lowercase and used the previous configuration on the nginx servers that load-balance our Tomcat farm. Some corner-cases remain (includes in JSP files, which don&#8217;t route back to the nginx server and are dealt internally by Tomcat) and have been dealt with one by one, but the bulk of wrongly addressed images, videos, links to HTML files, etc. now works.</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=%5Bspanish%5DPasar%20URL%20a%20min%C3%BAsculas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DRewriting%20URL%20to%20lowercase%20with%20nginx%5B%2Fenglish%5D%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F&amp;t=%5Bspanish%5DPasar%20URL%20a%20min%C3%BAsculas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DRewriting%20URL%20to%20lowercase%20with%20nginx%5B%2Fenglish%5D" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=%5Bspanish%5DPasar%20URL%20a%20min%C3%BAsculas%20con%20nginx%5B%2Fspanish%5D%5Benglish%5DRewriting%20URL%20to%20lowercase%20with%20nginx%5B%2Fenglish%5D&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F19%2Fpasar-url-a-minusculas-con-nginx%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2010/03/04/depurando-problemas-con-nginx/" title="[spanish]Depurando problemas con nginx[/spanish][english]Debuggin nginx issues[/english]">[spanish]Depurando problemas con nginx[/spanish][english]Debuggin nginx issues[/english]</a></li><li><a href="http://www.bisente.com/blog/2010/02/05/parche-para-autenticar-nginx-con-amazon-s3/" title="Parche para autenticar nginx con Amazon S3">Parche para autenticar nginx con Amazon S3</a></li><li><a href="http://www.bisente.com/blog/2009/11/16/nginx-memcached-http-30/" title="[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]">[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]</a></li><li><a href="http://www.bisente.com/blog/2009/09/03/probando-nginx/" title="Probando nginx">Probando nginx</a></li><li><a href="http://www.bisente.com/blog/2008/11/11/si-matrix-funcionara-con-windows/" title="Si Matrix funcionara con Windows&#8230;">Si Matrix funcionara con Windows&#8230;</a></li><li><a href="http://www.bisente.com/blog/2008/10/28/crossover-de-gratis-y-otras-%c2%bfapuestas-%c2%bfo-marketing/" title="CrossOver de gratis y otras ¿apuestas? ¿o marketing?">CrossOver de gratis y otras ¿apuestas? ¿o marketing?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/02/19/pasar-url-a-minusculas-con-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the date on Amazon EC2 servers</title>
		<link>http://www.bisente.com/blog/2010/02/17/ajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2/</link>
		<comments>http://www.bisente.com/blog/2010/02/17/ajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 06:42:52 +0000</pubDate>
		<dc:creator>bisente</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linuxadas]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[hora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[ntpdate]]></category>

		<guid isPermaLink="false">http://www.bisente.com/?p=1333</guid>
		<description><![CDATA[





Amazon EC2 virtual servers&#8217; internal clock is synchronized with that of their host server. But some host servers seems to be off-date: I&#8217;m working on a four-server cluster (will grow to eight when we go into production) and while three of them were perfectly synchronized, the fourth one lagged behind a couple of minutes.
By default [...]]]></description>
			<content:encoded><![CDATA[<div class="jLanguage">
<ul>
<li><a href="?lan=english"><img alt="english" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/en.png" /></a></li>
<li><a href="?lan=spanish"><img alt="spanish" src="http://www.bisente.com/wp-content/plugins/jLanguage/icons/es.png" /></a></li>
</ul>
</div>
<p>Amazon EC2 virtual servers&#8217; internal clock is synchronized with that of their host server. But some host servers seems to be off-date: I&#8217;m working on a four-server cluster (will grow to eight when we go into production) and while three of them were perfectly synchronized, the fourth one lagged behind a couple of minutes.</p>
<p>By default you can&#8217;t adjust the date with either <em>date</em> nor <em>ntp</em>, the commands execute but do nothing. In order to decouple the VM&#8217;s clock from the host&#8217;s one and being able to set the time on your system you need to run the following command:</p>
<p><code>echo 1 &gt; /proc/sys/xen/independent_wallclock<br />
</code><br />
Bear in mind that, as pointed out <a title="Linux date change not working " href="http://developer.amazonwebservices.com/connect/thread.jspa?messageID=155488&amp;#155488">here</a>, after decoupling your clock from the host&#8217;s you can&#8217;t go back, you&#8217;ll be on your own forever.</p>




	<a rel="nofollow"  href="http://twitter.com/home?status=%5Bspanish%5DAjustar%20la%20hora%20en%20servidores%20Amazon%20EC2%5B%2Fspanish%5D%5Benglish%5DSetting%20the%20date%20on%20Amazon%20EC2%20servers%5B%2Fenglish%5D%20-%20http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F" title="Twitter"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F&amp;t=%5Bspanish%5DAjustar%20la%20hora%20en%20servidores%20Amazon%20EC2%5B%2Fspanish%5D%5Benglish%5DSetting%20the%20date%20on%20Amazon%20EC2%20servers%5B%2Fenglish%5D" title="Facebook"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F" title="Meneame"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=%5Bspanish%5DAjustar%20la%20hora%20en%20servidores%20Amazon%20EC2%5B%2Fspanish%5D%5Benglish%5DSetting%20the%20date%20on%20Amazon%20EC2%20servers%5B%2Fenglish%5D&amp;body=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F" title="email"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F&amp;partner=sociable" title="Print"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.bisente.com%2Fblog%2F2010%2F02%2F17%2Fajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2%2F&amp;partner=sociable" title="PDF"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.bisente.com/feed/" title="RSS"><img src="http://www.bisente.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>


<br/><br/><h3  class="related_post_title">Artículos relacionados (o no):</h3><ul class="related_post"><li><a href="http://www.bisente.com/blog/2010/02/05/parche-para-autenticar-nginx-con-amazon-s3/" title="Parche para autenticar nginx con Amazon S3">Parche para autenticar nginx con Amazon S3</a></li><li><a href="http://www.bisente.com/blog/2009/11/16/nginx-memcached-http-30/" title="[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]">[spanish]nginx, memcached y HTTP 304[/spanish][english]nginx, memcached and HTTP 304[/english]</a></li><li><a href="http://www.bisente.com/blog/2009/08/22/android-rooteado/" title="Android rooteado">Android rooteado</a></li><li><a href="http://www.bisente.com/blog/2009/06/16/segundo-monitor-en-el-lenovo-t400-con-jaunty/" title="[spanish]Segundo monitor en el Lenovo T400 con Jaunty[/spanish][english]External monitor with Jaunty on a Lenovo T400[/english]">[spanish]Segundo monitor en el Lenovo T400 con Jaunty[/spanish][english]External monitor with Jaunty on a Lenovo T400[/english]</a></li><li><a href="http://www.bisente.com/blog/2009/04/28/ubuntu-904-en-un-lenovo-t400/" title="Ubuntu 9.04 en un Lenovo T400">Ubuntu 9.04 en un Lenovo T400</a></li><li><a href="http://www.bisente.com/blog/2009/01/20/seguridad-presencial-con-bluetooth-en-linux/" title="Seguridad &#8220;presencial&#8221; con Bluetooth en Linux">Seguridad &#8220;presencial&#8221; con Bluetooth en Linux</a></li><li><a href="http://www.bisente.com/blog/2008/10/28/crossover-de-gratis-y-otras-%c2%bfapuestas-%c2%bfo-marketing/" title="CrossOver de gratis y otras ¿apuestas? ¿o marketing?">CrossOver de gratis y otras ¿apuestas? ¿o marketing?</a></li><li><a href="http://www.bisente.com/blog/2008/06/09/exec/" title="exec">exec</a></li><li><a href="http://www.bisente.com/blog/2008/04/26/mi-nuevo-servidor/" title="[spanish]Mi nuevo servidor[/spanish][english]My new server[/english]">[spanish]Mi nuevo servidor[/spanish][english]My new server[/english]</a></li><li><a href="http://www.bisente.com/blog/2008/02/18/broadcom-wireless-en-linux/" title="[spanish]Broadcom Wireless en Linux[/spanish][english]Broadcom Wireless on Linux[/english]">[spanish]Broadcom Wireless en Linux[/spanish][english]Broadcom Wireless on Linux[/english]</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bisente.com/blog/2010/02/17/ajustar-la-hora-en-servidores-amazon-ec2-etting-the-date-on-amazon-ec2-serversenglish-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
