{"id":1173,"date":"2013-09-10T18:25:06","date_gmt":"2013-09-10T18:25:06","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=1173"},"modified":"2023-08-03T07:49:39","modified_gmt":"2023-08-03T06:49:39","slug":"unable-to-start-lfd","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/","title":{"rendered":"Unable to start lfd"},"content":{"rendered":"<p><strong>Login Failure Daemon (lfd)<\/strong><\/p>\n<p>Login Failure Daemon (lfd) is a process that runs all the time and periodically (every X seconds) scans the latest log file entries for login attempts against your server that continually fail within a short period of time. Such attempts are often called &#8220;Brute-force attacks&#8221; and the daemon process responds very quickly to such patterns and blocks offending IP&#8217;s quickly. Other similar products run every x minutes via cron and as such often miss break-in attempts until after they&#8217;ve finished, our daemon eliminates such long waits and makes it much more effective at performing its task.<\/p>\n<p>Login tracking is an extension of lfd, it keeps track of POP3 and IMAP logins and limits them to X connections per hour per account per IP address.<\/p>\n<p>When lfd started the status shows as below.<\/p>\n<blockquote><p>Status of lfd:lfd is stopped<\/p><\/blockquote>\n<p>When monitoring log file \/var\/log\/lfd.log you see that it reports an error.<\/p>\n<blockquote><p>lfd[964936]: *Error* unable to create lfd PID file [\/var\/run\/lfd.pid] No such file or directory, at line 155<\/p><\/blockquote>\n<p>You see that the pid file exists but with incorrect permissions.<\/p>\n<blockquote><p>?  1 ?  ?         5 Aug 30 05:41 lfd.pid<\/p><\/blockquote>\n<p>The permissions, ownership on file shows a question mark (?) is because the file system is corrupt and requires a FSCK (File System ChecK). You will have to reboot the server with command below which will perform a FSCK when it boots.<\/p>\n<blockquote><p>shutdown -rF now<\/p><\/blockquote>\n<p>r represents &#8220;reboot after shutdown&#8221; &amp; F represents perform a FSCK when it boots. Once the server boots after performing FSCK, lfd starts &amp; shows status running. The permissions &amp; ownership shows correct as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Login Failure Daemon (lfd) Login Failure Daemon (lfd) is a process that runs all the time and periodically (every X seconds) scans the latest log file entries for login attempts against your server that continually fail within a short period of time. Such attempts are often called &#8220;Brute-force attacks&#8221; and the daemon process responds very [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,22],"tags":[],"class_list":["post-1173","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-dedicated-server-faq","category-vps-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unable to start lfd<\/title>\n<meta name=\"description\" content=\"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server&#039;s security and protect against login failures.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unable to start lfd\" \/>\n<meta property=\"og:description\" content=\"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server&#039;s security and protect against login failures.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-10T18:25:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-03T06:49:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/\",\"name\":\"Unable to start lfd\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2013-09-10T18:25:06+00:00\",\"dateModified\":\"2023-08-03T06:49:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server's security and protect against login failures.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unable to start lfd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unable to start lfd","description":"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server's security and protect against login failures.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/","og_locale":"en_GB","og_type":"article","og_title":"Unable to start lfd","og_description":"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server's security and protect against login failures.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2013-09-10T18:25:06+00:00","article_modified_time":"2023-08-03T06:49:39+00:00","author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/","name":"Unable to start lfd","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2013-09-10T18:25:06+00:00","dateModified":"2023-08-03T06:49:39+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"This troubleshooting guide provides step-by-step solutions to resolve the problem. Learn how to get your lfd up and running smoothly to enhance your server's security and protect against login failures.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/unable-to-start-lfd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Unable to start lfd"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","caption":"admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":1609,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1173"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1173\/revisions"}],"predecessor-version":[{"id":14918,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1173\/revisions\/14918"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}