{"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"],"_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}]}}