<?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>paulsynnott.com &#187; locate</title>
	<atom:link href="http://www.paulsynnott.com/blog/tag/locate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulsynnott.com/blog</link>
	<description>Did you get lost?  What are you doing here?</description>
	<lastBuildDate>Mon, 28 Dec 2009 19:13:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to fix: locate: can not open `/var/lib/mlocate/mlocate.db&#8217;: No such file or directory</title>
		<link>http://www.paulsynnott.com/blog/2009/02/14/how-to-fix-locate-can-not-open-varlibmlocatemlocatedb-no-such-file-or-directory/</link>
		<comments>http://www.paulsynnott.com/blog/2009/02/14/how-to-fix-locate-can-not-open-varlibmlocatemlocatedb-no-such-file-or-directory/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 05:29:30 +0000</pubDate>
		<dc:creator>psynnott</dc:creator>
				<category><![CDATA[How To Fix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[locate]]></category>

		<guid isPermaLink="false">http://www.paulsynnott.com/blog/?p=48</guid>
		<description><![CDATA[How to fix: locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory]]></description>
			<content:encoded><![CDATA[<p>In the first of my &#8220;How to fix&#8221; posts where I detail how I fix various issues I run into, this is a simple one:</p>
<p><code>[root@vps etc]# locate courier<br />
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory</code></p>
<p>OK, so the mlocate.db file doesn&#8217;t exist, marvellous.   How do we either find it or create it?<br />
Answer:  simply run <strong>updatedb</strong></p>
<p><code>[root@vps etc]# updatedb</code></p>
<p>Now we can do our search:<br />
<code><br />
[root@vps etc]# locate courier<br />
/etc/profile.d/courier-imap.csh<br />
/etc/profile.d/courier-imap.sh<br />
/etc/rc.d/init.d/courier-authlib<br />
/etc/rc.d/init.d/courier-imap<br />
/etc/rc.d/rc0.d/K30courier-imap<br />
/etc/rc.d/rc0.d/K85courier-authlib<br />
/etc/rc.d/rc1.d/K30courier-imap<br />
...</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulsynnott.com/blog/2009/02/14/how-to-fix-locate-can-not-open-varlibmlocatemlocatedb-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
