{"id":2484,"date":"2021-09-30T06:28:29","date_gmt":"2021-09-30T06:28:29","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2484"},"modified":"2021-09-30T06:28:40","modified_gmt":"2021-09-30T06:28:40","slug":"error-retrieving-pid-file-logs-httpd-pid-apache-error-solved","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/","title":{"rendered":"Error retrieving pid file logs\/httpd.pid \u2013 Apache Error Solved"},"content":{"rendered":"<p>You might run into a scenario where while trying to restart apache service with the help of <strong>Linux operating webhosting<\/strong> services, you receive an error:<\/p>\n<blockquote><p>(20014)Internal error: Error retrieving pid file logs\/httpd.pid<br \/>\nRemove it before continuing if it is corrupted.<\/p><\/blockquote>\n<p>There is nothing to worry regarding it, you need to run the commands as follow to get apache working again.<\/p>\n<p><strong>Rename<\/strong> httpd.pid or remove it from the logs directory of apache (\/usr\/local\/apache\/logs\/) and restart the apache service.<\/p>\n<blockquote><p>root@server\u00a0[~]# cd \/usr\/local\/apache\/logs\/<br \/>\nroot@server\u00a0[\/usr\/local\/apache\/logs]# mv httpd.pid httpd.pid.bak<br \/>\nroot@server\u00a0[\/usr\/local\/apache\/logs]# \/etc\/init.d\/httpd restart<\/p><\/blockquote>\n<p>After doing this The Apache service would start working fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might run into a scenario where while trying to restart apache service with the help of Linux operating webhosting services, you receive an error: (20014)Internal error: Error retrieving pid file logs\/httpd.pid Remove it before continuing if it is corrupted. There is nothing to worry regarding it, you need to run the commands as follow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2484","post","type-post","status-publish","format-standard","hentry","category-dedicated-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Error retrieving pid file logs\/httpd.pid \u2013 Apache Error Solved - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error retrieving pid file logs\/httpd.pid \u2013 Apache Error Solved - OWS KB\" \/>\n<meta property=\"og:description\" content=\"You might run into a scenario where while trying to restart apache service with the help of Linux operating webhosting services, you receive an error: (20014)Internal error: Error retrieving pid file logs\/httpd.pid Remove it before continuing if it is corrupted. There is nothing to worry regarding it, you need to run the commands as follow [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-30T06:28:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-30T06:28:40+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"0 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\",\"name\":\"Error retrieving pid file logs\/httpd.pid \\u2013 Apache Error Solved - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-09-30T06:28:29+00:00\",\"dateModified\":\"2021-09-30T06:28:40+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/error-retrieving-pid-file-logs-httpd-pid-apache-error-solved\/\",\"name\":\"Error retrieving pid file logs\/httpd.pid \\u2013 Apache Error Solved\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2484"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2484\/revisions"}],"predecessor-version":[{"id":2485,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2484\/revisions\/2485"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}