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

<channel>
	<title>Tony Narlock &#187; Debian</title>
	<atom:link href="http://blog.skiquel.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.skiquel.com</link>
	<description>Living life in the cloud</description>
	<lastBuildDate>Sun, 06 Jun 2010 13:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Debugging and troubleshooting postfix</title>
		<link>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/</link>
		<comments>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 18:48:25 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Sysadmin Lunchbreak]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[exim4]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=734</guid>
		<description><![CDATA[Error: Postfix isn't working with mail() on PHP automatically. Common problem: You have exim or something else running. Solution: try lsof -i :25. If you intend on using postfix, kill the pid of the app, remove the package of exim or sendmail if you have it installed. See This postfix thread on Ubuntu Forums. Other [...]]]></description>
			<content:encoded><![CDATA[<p>Error: Postfix isn't working with <code>mail()</code> on PHP automatically.</p>
<p>Common problem: You have exim or something else running.</p>
<p>Solution:  try <code>lsof -i :25</code>. If you intend on using postfix, kill the pid of the app, remove the package of exim or sendmail if you have it installed. See <a href="http://ubuntuforums.org/showthread.php?t=342683">This postfix thread</a> on Ubuntu Forums.</p>
<hr/>
<p>Other issue: Postfix isn't working (miscellaneous)</p>
<p>Solution: <code>tail /var/log/maillog</code> or <code>tail /var/log/mail.err</code> (<a href="http://www.macosxhints.com/article.php?story=20040727144509713">source</a>)</p>
<p>Error: <code>fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource temporarily unavailable</code></p>
<p>You may have another copy of postfix still open. Use <code>lsof -i :25</code> to track down which process. <code>kill</code> the pid and <code>postfix reload</code>.</p>
<hr/>
<p>Error: <code>postfix set-permissions</code> returns<br />
<code>chown: cannot access `/usr/lib/postfix/dict_cdb.so': No such file or directory</code>.</p>
<p>May be by design, <a href="https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/274108">#274108</a> in ubuntu launchpad says this command doesn't necessarily mean something's wrong.</p>
<h4>Helpful resources</h4>
<p>Ubuntu handbook page: <a href="https://help.ubuntu.com/community/Postfix">https://help.ubuntu.com/community/Postfix</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove services (mpd) from system startup in Linux</title>
		<link>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/</link>
		<comments>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 02:57:27 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[rc.d]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[update-rc.d]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=546</guid>
		<description><![CDATA[I'm using MPD on Ubuntu and Debian and get annoyed by mpd starting at boot time under root. Your startup services lie in the /etc/rc.d folder. You will observe that ls -l /etc/rc4.d for instance, will show you these files are weighted to run in order and symlink to their corresponding startup scripts in /etc/init.d. [...]]]></description>
			<content:encoded><![CDATA[<p>I'm using <a href="http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki">MPD</a> on Ubuntu and Debian and get annoyed by mpd starting at boot time under root.</p>
<p>Your startup services lie in the <code>/etc/rc.d</code> folder. You will observe that <code>ls -l /etc/rc4.d</code> for instance, will show you these files are weighted to run in order and <a href="http://en.wikipedia.org/wiki/Symbolic_link">symlink</a> to their corresponding startup scripts in <code>/etc/init.d</code>.</p>
<p>To disable mpd, for instance, <code>update-rc.d</code> can help:</p>
<p><code>sudo update-rc.d -f mpd remove</code></p>
<p>Now you will be able to add mpd to a local user script on startup without having to <code>sudo mpd --kill</code> or <code>sudo killall mpd</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting locales in the cloud on debian and ubuntu</title>
		<link>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/</link>
		<comments>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:52:21 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Amazon web services]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Rackspace Cloud Servers]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[locales]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=503</guid>
		<description><![CDATA[If you use Amazon EC2 or Rackspace Cloud Servers, you may end up running into this after your create your instance. I often get these on Debian and Ubuntu (since it's debian based also). lennycloud:~# perl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a href="http://aws.amazon.com/ec2/">Amazon EC2</a> or <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers">Rackspace Cloud Servers</a>, you may end up running into this after your create your instance. I often get these on Debian and Ubuntu (since it's debian based also).</p>
<p><code>lennycloud:~# perl<br />
perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = (unset),<br />
LC_ALL = (unset),<br />
LANG = "en_US.UTF-8"<br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale ("C"). </code></p>
<p>You're missing <code>locales</code>.</p>
<p>Update your apt database. <code>sudo apt-get update</code></p>
<p>Download locales. <code>sudo apt-get install locales</code></p>
<p>Now configure it, and download what locales you need. <code>dpkg-reconfigure locales</code> on Debian. <code>sudo locale-gen en_US.UTF-8</code> on Ubuntu Hardy Heron 8.04 (Note: on server, you may be logged in as root).</p>
<p>I pick en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15 and en_US.UTF-8 UTF-8.</p>
<p>And that solves it.</p>
<p>Updated April 03, 2010 to include <code>locale-gen</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
