{"id":36,"date":"2008-02-23T21:41:09","date_gmt":"2008-02-23T20:41:09","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/2008\/locate-error-and-solution\/"},"modified":"2008-02-23T21:41:09","modified_gmt":"2008-02-23T20:41:09","slug":"locate-error-and-solution","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2008\/locate-error-and-solution\/","title":{"rendered":"locate error and solution"},"content":{"rendered":"<p>Error,<\/p>\n<blockquote><p><code>$ locate test<br \/>\nlocate: can not open `\/var\/lib\/mlocate\/mlocate.db': No such file or directory<\/code><\/p><\/blockquote>\n<p>Solution,<\/p>\n<blockquote><p><code>$ updatedb<\/code><\/p><\/blockquote>\n<p>Reason being, the database is missing, so we run updatedb to populate it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error, $ locate test locate: can not open `\/var\/lib\/mlocate\/mlocate.db&#8217;: No such file or directory Solution, $ updatedb Reason being, the database is missing, so we run updatedb to populate it.<\/p>\n","protected":false},"author":1,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[63,233,97,163],"class_list":["post-36","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-error","tag-linux","tag-locate","tag-updatedb"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":1,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":746,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions\/746"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}