{"id":405,"date":"2010-07-16T13:40:22","date_gmt":"2010-07-16T11:40:22","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=405"},"modified":"2010-07-16T13:40:22","modified_gmt":"2010-07-16T11:40:22","slug":"apache-no-space-left-on-device-diyor-3","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2010\/07\/16\/apache-no-space-left-on-device-diyor-3\/","title":{"rendered":"apache no space left on device diyor #3"},"content":{"rendered":"<p>eski sistem ise yaramiyor<br \/>\ndepreciated \ud83d\ude00<\/p>\n<p>yeni sistem su <\/p>\n<p><code><br \/>\n for semid in `ipcs -s | grep apache | cut -f2 -d\" \"`; do ipcrm -s $semid; done<br \/>\n<\/code><\/p>\n<p>aciklamasi su sekilde<\/p>\n<p>On a cPanel dedicated server, apache server failed to start. So, while checking the apache logs found this:<\/p>\n<p>==> \/usr\/local\/apache\/logs\/error_log <==\n\n[Sat Dec 20 01:12:27 2008]\n[notice] suEXEC mechanism enabled (wrapper: \/usr\/local\/apache\/bin\/suexec)\n\n[Sat Dec 20 01:12:27 2008]\n[warn] pid file \/usr\/local\/apache\/logs\/httpd.pid overwritten -- Unclean shutdown of previous Apache run?\n\n[Sat Dec 20 01:12:27 2008]\n[emerg] (28)No space left on device: Couldn't create accept lock\n\nSolution:\n\nFirst of all make sure your server is not out of space. This can be checked with the command:\n\nroot# df \u2013h\n\nNow, to check how many semaphores are currently in use the command is:\n\nroot# ipcs -s\n\nWhen the apache (httpd) is stopped, to kill the semaphores ID the command is:\n\nroot# ipcrm \u2013s <sem-id><\/p>\n<p>To kill all the semaphores ID , you can achieve this by doing it in a for loop, the command is:<\/p>\n<p>root# for semid in `ipcs -s | grep nobody | cut -f2 -d&#8221; &#8220;`; do ipcrm -s $semid; done<\/p>\n<p>Note: \u201cnobody\u201d is apache user.<\/p>\n<p>Now start apache with the command:<\/p>\n<p>root# service httpd restart<\/p>\n<p>This has fixed the issue for us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>eski sistem ise yaramiyor depreciated \ud83d\ude00 yeni sistem su for semid in `ipcs -s | grep apache | cut -f2 -d&#8221; &#8220;`; do ipcrm -s $semid; done aciklamasi su sekilde On a cPanel dedicated server, apache server failed to start. So, while checking the apache logs found this: ==> \/usr\/local\/apache\/logs\/error_log<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-405","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=405"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/405\/revisions"}],"predecessor-version":[{"id":406,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/405\/revisions\/406"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}