<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2spanishfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>oviedo.mx</title>
	
	<link>http://oviedo.mx</link>
	<description>de Programación, Linux y otras cosas</description>
	<lastBuildDate>Wed, 22 May 2013 02:06:14 +0000</lastBuildDate>
	<language>es-ES</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<div id="fb-root" />
					<script type="text/javascript">
						window.fbAsyncInit = function()
						{
							FB.init({appId: 185550966885, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/es_MX/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/oviedo" /><feedburner:info uri="oviedo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><feedburner:emailServiceId>oviedo</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/oviedo" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://my.feedlounge.com/external/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://static.feedlounge.com/buttons/subscribe_0.gif">Subscribe with FeedLounge</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://add.my.yahoo.com/content?lg=es&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://eur.i1.yimg.com/eur.yimg.com/i/es/my/addto1.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.feedness.com/alta/http://feeds.feedburner.com/oviedo" src="http://www.feedness.com/ayuda/wp-content/square_b_sh_feed.gif">Subscribe with Feedness</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="https://intouch.particls.com/download/?mode=2&amp;feed=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo" src="https://intouch.particls.com/resources/buttons/it-button2.gif">Subscribe with Particls</feedburner:feedFlare><feedburner:feedFlare href="http://www.addtoany.com/?linkname=oviedo.mx&amp;linkurl=http%3A%2F%2Ffeeds.feedburner.com%2Foviedo&amp;type=feed" src="http://www.addtoany.com/addfr-b.gif">Add to Any Feed Reader</feedburner:feedFlare><feedburner:browserFriendly>Esta página muestra la fuente de contenidos para Oviedos.com.mx. Puedes suscribirte desde alguno de los diferentes sistemas de agregados populares.</feedburner:browserFriendly><item>
		<title>SQL Server: No regresa el texto completo en las celdas con valores tipo texto, modificar php.ini</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/2m4pfLihtRY/</link>
		<comments>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini/#comments</comments>
		<pubDate>Wed, 22 May 2013 02:06:14 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[ntext]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[textsize]]></category>
		<category><![CDATA[varchar]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4652</guid>
		<description><![CDATA[Siguiendo con el tema del truncado de caracteres en SQL desde nuestra aplicación de PHP del post anterior, resulta que la solución también se puede hacer con el comando SQL. SET TEXTSIZE NUMERO_CARACTERES_A_OBTENER Pero igual si queremos algo más permanente, &#8230; <a href="http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Siguiendo con el tema del truncado de caracteres en SQL desde nuestra aplicación de PHP del <a href="http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/">post anterior</a>, resulta que la solución también se puede hacer con el comando SQL.</p>
<blockquote><p>SET TEXTSIZE NUMERO_CARACTERES_A_OBTENER</p></blockquote>
<p>Pero igual si queremos algo más permanente, solo es cosa de modificar nuestro archivo PHP.ini, las lineas donde tengamos:</p>
<blockquote><p>; Valid range 0 &#8211; 2147483647.  Default = 4096.<br />
;mssql.textlimit = 4096</p>
<p>; Valid range 0 &#8211; 2147483647.  Default = 4096.<br />
;mssql.textsize = 4096</p></blockquote>
<p>Por lo general están comentadas estas lineas, solo es cosa de descomentarlas y poner el valor que deseemos, reiniciamos apache y listo <img src='http://oviedo.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto-modificar-php-ini</feedburner:origLink></item>
		<item>
		<title>SQL Server: No regresa el texto completo en las celdas con valores tipo texto</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/YUm9in95Se8/</link>
		<comments>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 16:21:24 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[ntext]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[textsize]]></category>
		<category><![CDATA[varchar]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4646</guid>
		<description><![CDATA[Si tienes un campo de tipo texto, ya sea cualquiera de los siguientes tipos de datos: varchar(max) nvarchar(max) varbinary(max) text ntext image Y cuando realizas tu select, no te regresa la información completa, entonces lo que debes de hacer es &#8230; <a href="http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Si tienes un campo de tipo texto, ya sea cualquiera de los siguientes tipos de datos:</p>
<ul>
<li>varchar(max)</li>
<li>nvarchar(max)</li>
<li>varbinary(max)</li>
<li>text</li>
<li>ntext</li>
<li>image</li>
</ul>
<p>Y cuando realizas tu select, no te regresa la información completa, entonces lo que debes de hacer es incrementar el limite de la variable textsize.</p>
<p>Para saber cual es el límite actual solo ejecuta el siguiente comando:</p>
<blockquote><p>SELECT @@TEXTSIZE</p></blockquote>
<p>Casi por default te dará un valor de <strong>2147483647</strong> (caracteres)</p>
<p>Y entonces la solución antes de ejecutar tu consulta SELECT, debes de iniciar con la siguiente consulta SQL.</p>
<blockquote><p>SET TEXTSIZE NUMERO_CARACTERES_A_OBTENER</p></blockquote>
<p>Digamos que deseas obtener unos 200 caracteres, entonces ejecutas <strong>SET TEXTSIZE 200</strong>  ,seguido de tu sentencia SQL del SELECT.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sql-server-no-regresa-el-texto-completo-en-las-celdas-con-valores-tipo-texto</feedburner:origLink></item>
		<item>
		<title>Linux: Ver que proceso esta bloqueando algún archivo</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/49mw6lXBJEA/</link>
		<comments>http://oviedo.mx/linux-ver-que-proceso-esta-bloqueando-algun-archivo/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 15:40:13 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux - Software Libre]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fuser]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[pid]]></category>
		<category><![CDATA[proceso]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4638</guid>
		<description><![CDATA[Estos comandos nos puede ayudar para conocer cual proceso esta bloqueando nuestro archivo, para posteriormente matarlo con un kill -9 PROCESO el primero es fuser -v ARCHIVO, un ejemplo tipico de bloqueo es cuando tenemos el error debconf: DbDriver &#8220;config&#8221;: &#8230; <a href="http://oviedo.mx/linux-ver-que-proceso-esta-bloqueando-algun-archivo/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Estos comandos nos puede ayudar para conocer cual proceso esta bloqueando nuestro archivo, para posteriormente matarlo con un <strong>kill -9 PROCESO</strong></p>
<p>el primero es <strong>fuser -v ARCHIVO</strong>, un ejemplo tipico de bloqueo es cuando tenemos el error</p>
<blockquote><p>debconf: DbDriver &#8220;config&#8221;: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable</p></blockquote>
<blockquote><p>#fuser -v /var/cache/debconf/config.dat</p>
<p>USER        PID ACCESS COMMAND /var/cache/debconf/config.dat:<br />
root       1846 F&#8230;. frontend</p></blockquote>
<p>Lo que nos interesa es la parte del PID, o tambien tenemos este otro comando <strong>lsof ARCHIVO</strong></p>
<blockquote><p>#lsof /var/cache/debconf/config.dat</p>
<p>COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME<br />
frontend 1846 root    4uW  REG    8,3    48329 24036395 /var/cache/debconf/config.dat
</p></blockquote>
<p>De igual manera nos interesa el PID, en este caso 1846, y ahora si.., a eliminar el proceso latoso: <strong>kill -9 1846</strong></p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/linux-ver-que-proceso-esta-bloqueando-algun-archivo/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/linux-ver-que-proceso-esta-bloqueando-algun-archivo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://oviedo.mx/linux-ver-que-proceso-esta-bloqueando-algun-archivo/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-ver-que-proceso-esta-bloqueando-algun-archivo</feedburner:origLink></item>
		<item>
		<title>Apt: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/nu5eq6sU-Y0/</link>
		<comments>http://oviedo.mx/apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 15:30:47 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[debconf]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mmap]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4636</guid>
		<description><![CDATA[Después de ejecutar un apt-get update, al procesar las listas de cambios y realizar la unión de todos los archivos, me aparece el siguiente error. Reading package lists&#8230; Error! E: Dynamic MMap ran out of room. Please increase the size &#8230; <a href="http://oviedo.mx/apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Después de ejecutar un <strong>apt-get update</strong>, al procesar las listas de cambios y realizar la unión de todos los archivos, me aparece el siguiente error.</p>
<blockquote><p>Reading package lists&#8230; Error!<br />
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)<br />
E: Error occurred while processing postgresql-pltcl-8.4 (NewPackage)<br />
E: Problem with MergeList /var/lib/apt/lists/s2plmirror01.prod.sdl2.secureserver.net_ubuntu_dists_lucid_universe_binary-i386_Packages<br />
W: Unable to munmap<br />
E: The package lists or status file could not be parsed or opened.</p></blockquote>
<p>Al parecer tiene una limitante la cache de APT a 25165824, la solución obvia es aumentar ese tamaño.., pero la pregunta del millón!! en donde???&#8230;, pues solo tenemos que editar el archivo: <strong>/etc/apt/apt.conf.d/70debconf</strong> y agregar la siguiente linea:</p>
<blockquote><p>APT::Cache-Limit &#8220;100000000&#8243;;</p></blockquote>
<p>Y listo!!&#8230;, el valor pues puede ser cualquiera mas alto a el del error, pero con ese número se soluciona <img src='http://oviedo.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ahora si.. ,procedemos a limpiar la cache y recargar la lista: <strong>apt-get clean &#038;&#038; apt-get update &#8211;fix-missing</strong></p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=apt-dynamic-mmap-ran-out-of-room-please-increase-the-size-of-aptcache-limit-current-value-25165824-man-5-apt-conf</feedburner:origLink></item>
		<item>
		<title>Postfix: temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/xUEdXxmX4mw/</link>
		<comments>http://oviedo.mx/postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 21:42:26 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux - Software Libre]]></category>
		<category><![CDATA[Trucos]]></category>
		<category><![CDATA[amavis]]></category>
		<category><![CDATA[correos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[maildrop]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4632</guid>
		<description><![CDATA[De repente el servidor de correos que se configuro con ISPConfig 3, no enviaba correos cuando se trata de mails configurados con &#8220;reenvío de correo.&#8221; (Email forward) Me daba el siguiente error en /var/log/mail.log Feb 12 15:25:17 oviedo.mx postfix/pipe[30549]: DDE86158187: &#8230; <a href="http://oviedo.mx/postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>De repente el servidor de correos que se configuro con ISPConfig 3, no enviaba correos cuando se trata de mails configurados con &#8220;reenvío de correo.&#8221; (Email forward)</p>
<p>Me daba el siguiente error en <strong>/var/log/mail.log</strong></p>
<blockquote><p>Feb 12 15:25:17 oviedo.mx postfix/pipe[30549]: DDE86158187: to=<usuario @oviedo.mx>, relay=maildrop, delay=4356, delays=4356/0.05/0/0.1, dsn=4.3.0, status=deferred (<strong>temporary failure. Command output: /usr/bin/maildrop</strong>: <strong>Unable to create a dot-lock</strong> at /var/vmail/oviedo.mx/usuario/3055320.0.oviedo.mx.  )<br />
</usuario></p></blockquote>
<p>Ademas anteriormente me daba problemas con el puerto 10024, me decia que conexion rechazada:</p>
<blockquote><p>Feb 10 16:13:28 oviedo.mx postfix/smtp[14558]: <strong>connect to 127.0.0.1[127.0.0.1]:10024: Connection refused</strong></p></blockquote>
<p>Entonces para solucionar el problema del puerto 10024, era desactivar el antivirus amavis, entonces en el archivo de configuración de postfix main.cf <strong>/etc/postfix/main.cf</strong> procedemos a comentar la línea donde aparezca algo así:</p>
<blockquote><p>#content_filter = amavis:[127.0.0.1]:10024</p></blockquote>
<p>Reiniciamos postfix /etc/init.d/postfix restart y tratamos de enviar un email de los configurados para forward y pues me sigue dando el error inicial del maildrop.</p>
<p>Investigando un poco me doy cuenta que al comentar la línea de <strong>content_filter </strong>del anti-virus amavis, tambien se debe de comentar la línea donde dice: <strong>receive_override_options </strong>entonces el archivo main.cf nos quedará de la siguiente manera:</p>
<blockquote><p>
#content_filter = amavis:[127.0.0.1]:10024<br />
#receive_override_options = no_address_mappings</p></blockquote>
<p>Y listo!, reiniciamos otra vez postfix y a probar. Por lo menos a mi me funciono así como les he dicho.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=postfix-temporary-failure-command-output-usrbinmaildrop-unable-to-create-a-dot-lock</feedburner:origLink></item>
		<item>
		<title>Apt-get: Problem with MergeList en /var/lib/apt/lists/</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/LHbpkj2Howc/</link>
		<comments>http://oviedo.mx/apt-get-problem-with-mergelist-en-varlibaptlists/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 13:25:44 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Trabajo]]></category>
		<category><![CDATA[Trucos]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mergelist]]></category>
		<category><![CDATA[quantal]]></category>
		<category><![CDATA[solucion]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4628</guid>
		<description><![CDATA[Si Ubuntu o Debian les arroja el siguiente error, o algo similar que diga problemas con MergeList. E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ ftp.utexas.edu_ubuntu_dists_quantal_main_i18n_Translation-en E: No se pudieron analizar o abrir las listas &#8230; <a href="http://oviedo.mx/apt-get-problem-with-mergelist-en-varlibaptlists/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Si Ubuntu o Debian les arroja el siguiente error, o algo similar que diga problemas con MergeList.</p>
<blockquote><p>E: Encountered a section with no Package: header<br />
E: Problem with MergeList /var/lib/apt/lists/ ftp.utexas.edu_ubuntu_dists_quantal_main_i18n_Translation-en<br />
E: No se pudieron analizar o abrir las listas de paquetes o el archivo de estado.</p></blockquote>
<p>La solución es limpiar la lista del APT y volver a actualizar los paquetes, quizas se descargo un paquete corrupto y pues fue el causante de todo el problema, entonces como ejecutar los siguientes comandos con los superpoderes de sudo.</p>
<blockquote><p>
sudo rm /var/lib/apt/lists/* -vf<br />
sudo apt-get update
</p></blockquote>
<p>Y listo!!! asunto arreglado no más errores que no se encuentra en encabezado de los paquetes ni que no puede hacer la combinación de las listas de apt.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/apt-get-problem-with-mergelist-en-varlibaptlists/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/apt-get-problem-with-mergelist-en-varlibaptlists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/apt-get-problem-with-mergelist-en-varlibaptlists/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=apt-get-problem-with-mergelist-en-varlibaptlists</feedburner:origLink></item>
		<item>
		<title>XAMPP no inicia el servicio Apache</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/rbo_2h-kZbc/</link>
		<comments>http://oviedo.mx/xampp-no-inicia-el-servicio-apache/#comments</comments>
		<pubDate>Sun, 11 Nov 2012 02:07:37 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[appserv]]></category>
		<category><![CDATA[configuracion]]></category>
		<category><![CDATA[Microsoft-HTTPAPI]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4621</guid>
		<description><![CDATA[Me cambie de Appserv (que tengo años usandolo) a Xampp en la computadora con Windows, ya que necesito la ultima versión estable de PHP, pero tenía un problema al iniciar el servicio de apache, xampp me indicaba que no podia &#8230; <a href="http://oviedo.mx/xampp-no-inicia-el-servicio-apache/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Me cambie de <a href="http://www.appservnetwork.com/">Appserv </a> (que tengo años usandolo) a <a href="http://www.apachefriends.org/es/xampp.html">Xampp </a> en la computadora con Windows, ya que necesito la ultima versión estable de PHP, pero tenía un problema al iniciar el servicio de apache, xampp me indicaba que no podia usarlo porque el puerto 80 esta ocupado.</p>
<p>Si escribia localhost en el navegador + firebug para ver el encabezado de la petición HTTP veo la siguiente línea.</p>
<blockquote><p>Server: Microsoft-HTTPAPI/2.0</p></blockquote>
<p>Y la página de error:</p>
<blockquote><p>Not Found</p>
<p>HTTP Error 404. The requested resource is not found.</p></blockquote>
<p>Lo más raro de todo es que no tengo el IIS instalado, peroooo!! si tengo el SQL Server 2008 R2 que es el que da problemas., aquí la solución para desactivar el servicio que nos da lata.</p>
<blockquote><p>Microsoft SQL Server 2008 R2 > Configuration Tools > SQL Server Configuration Manager</p></blockquote>
<p>Una vez dentro del programa <strong>SQL Server Configuration Manager</strong>, en el menú de la izquierda: <strong>SQL Server Services</strong> seleccionamos la opción donde aparezca:</p>
<p><strong>SQL Server Reporting Services (MSSQLSERVER)</strong> botón derecho y Stop.</p>
<p>Ahora, para que no de lata al momento de reiniciar windows, tenemos que desactivar por completo el inicio automatico del proceso., solo doble click y aparecerá una ventana con pestañas:</p>
<blockquote><p>Service > Start Mode: Disabled</p></blockquote>
<p>Aceptar y listo!!.., si no funciona, reiniciamos Windows (para variar)&#8230; apache ready!</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/xampp-no-inicia-el-servicio-apache/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/xampp-no-inicia-el-servicio-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://oviedo.mx/xampp-no-inicia-el-servicio-apache/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=xampp-no-inicia-el-servicio-apache</feedburner:origLink></item>
		<item>
		<title>MySQL y Visual Basic: El proveedor de datos u otro servicio devolvió un estado E_FAIL</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/X6m5S2gZFes/</link>
		<comments>http://oviedo.mx/mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail/#comments</comments>
		<pubDate>Fri, 28 Sep 2012 22:17:49 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[base de datos]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[visual basic]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4615</guid>
		<description><![CDATA[Estaba revisando un sistema creado en visual basic 6 y a veces me marcaba el siguiente error: El proveedor de datos u otro servicio devolvió un estado E_FAIL. Viendo la consulta SQL me doy cuenta que la constante es que &#8230; <a href="http://oviedo.mx/mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Estaba revisando un sistema creado en visual basic 6 y a veces me marcaba el siguiente error:</p>
<blockquote><p>El proveedor de datos u otro servicio devolvió un estado E_FAIL.</p></blockquote>
<p>Viendo la consulta SQL me doy cuenta que la constante es que siempre había por lo menos 1 fecha con formato <strong>0000-00-00</strong> o mejor dicho NULL.</p>
<p>Y revisando la estructura de las tablas, el campo estaba definidio como datetime o date pero decía NOT NULL, <strong>la solución es poner los campos fecha a NULL</strong>, así ya no arrojara el ODBC el error de E_FAIL.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://oviedo.mx/mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-y-visual-basic-el-proveedor-de-datos-u-otro-servicio-devolvio-un-estado-e_fail</feedburner:origLink></item>
		<item>
		<title>Linux: Contar requests por IP de un access_log de Apache</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/aegAzndJNmQ/</link>
		<comments>http://oviedo.mx/linux-contar-requests-por-ip-de-un-access_log-de-apache/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 21:38:50 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux - Software Libre]]></category>
		<category><![CDATA[Trucos]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[historial]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4603</guid>
		<description><![CDATA[Para ver el total de peticiones a nuestro servidor apache por dirección IP, podemos ejecutar este comando desde la terminal. cat /var/log/apache2/access_log &#124;awk &#8216;{print($1)}&#8217;&#124;sort &#124;uniq -c &#124;sort Y listo, nos dará como resultado 2 columnas, la primera con el total &#8230; <a href="http://oviedo.mx/linux-contar-requests-por-ip-de-un-access_log-de-apache/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Para ver el total de peticiones a nuestro servidor apache por dirección IP, podemos ejecutar este comando desde la terminal.</p>
<blockquote><p>cat /var/log/apache2/access_log |awk &#8216;{print($1)}&#8217;|sort |uniq -c |sort</p></blockquote>
<p>Y listo, nos dará como resultado 2 columnas, la primera con el total de visitas y la segunda la dirección IP, útil para saber si alguien esta queriendo entrar al sistema indebidamente, aunque por lo general en los primeros lugares con más visitas encontraremos a Google o MSN Search.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/linux-contar-requests-por-ip-de-un-access_log-de-apache/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/linux-contar-requests-por-ip-de-un-access_log-de-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/linux-contar-requests-por-ip-de-un-access_log-de-apache/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-contar-requests-por-ip-de-un-access_log-de-apache</feedburner:origLink></item>
		<item>
		<title>PHP: Convertir fecha de Twitter del formato RFC 2822 a uno de MySQL</title>
		<link>http://feedproxy.google.com/~r/oviedo/~3/i7HVrO3xsSs/</link>
		<comments>http://oviedo.mx/php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql/#comments</comments>
		<pubDate>Wed, 08 Aug 2012 15:12:41 +0000</pubDate>
		<dc:creator>oviedo</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[fecha]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rfc2822]]></category>
		<category><![CDATA[strtotime]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://oviedo.mx/?p=4600</guid>
		<description><![CDATA[Pues he estado probando la API de twitter y el campo created_at tiene la fecha en formato RFC 2822, osea en español algo así: Sun, 14 Aug 2005 16:13:03 +0000, el problema esta al guardar la información en la base &#8230; <a href="http://oviedo.mx/php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Pues he estado probando la <a href="https://dev.twitter.com/">API de twitter</a> y el campo created_at tiene la fecha en <a href="http://codeigniter.com/user_guide/helpers/date_helper.html">formato RFC 2822</a>, osea en español algo así: Sun, 14 Aug 2005 16:13:03 +0000, el problema esta al guardar la información en la base de datos MySQL, ya que solo acepta formato &#8220;YYYY-MM-DD HH:MM:SS&#8221; entonces, ocupamos modificar esta información.</p>
<p>la solución esta en utilizar 2 funciones de PHP: <a href="http://mx2.php.net/strtotime">strtotime</a> y <a href="http://mx2.php.net/manual/es/function.date.php">date</a></p>
<p><a href="http://mx2.php.net/strtotime">strtotime</a> lo que hace es convertir una descripción de fecha/hora textual en Inglés a una fecha Unix y con comando <a href="http://mx2.php.net/manual/es/function.date.php">date</a> le damos el formato que deseemos.</p>
<p>Teniendo algo así.</p>
<blockquote><p>date(&#8216;Y-m-d H:i:s&#8217;,strtotime($json->created_at))</p></blockquote>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://oviedo.mx/php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://oviedo.mx/php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://oviedo.mx/php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=php-convertir-fecha-de-twitter-del-formato-rfc-2822-a-uno-de-mysql</feedburner:origLink></item>
	</channel>
</rss>
