{"id":1342,"date":"2021-12-29T16:32:21","date_gmt":"2021-12-29T09:32:21","guid":{"rendered":"https:\/\/www.whplus.com\/blog\/?p=1342"},"modified":"2021-12-29T16:32:21","modified_gmt":"2021-12-29T09:32:21","slug":"apache-fatal-error-unable-to-create-lock-file-bad-file-descriptor-9","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2021\/12\/29\/apache-fatal-error-unable-to-create-lock-file-bad-file-descriptor-9.html","title":{"rendered":"Apache: Fatal Error Unable to create lock file: Bad file descriptor (9)"},"content":{"rendered":"<p>Bila menjumpai error seperti judul di atas coba cek privilege folder \/tmp<br \/>\n<code># stat -c %a \/tmp<br \/>\n0755<\/code><br \/>\nbila muncul 0755 akan menyebabkan Apache tidak dapat membuat file session pada folder \/tmp<br \/>\nmasalah ini dapat diatasi dengan perintah berikut<br \/>\n<code>chmod -v 1777 \/tmp \/var\/tmp<\/code><br \/>\n<!--more--><\/p>\n<p>Jika anda menggunakan OS Cloudlinux dan mengaktifkan CageFS, masalah mungkin muncul secara internal di CageFS saat aktif. Anda dapat mengatasi error ini dengan menonaktifkan\/mengaktifkan CageFS untuk user yang mengalami error dengan perintah berikut:<br \/>\n<code>\/usr\/sbin\/cagefsctl --disable $username<\/code><br \/>\n<code>\/usr\/sbin\/cagefsctl --enable $username<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bila menjumpai error seperti judul di atas coba cek privilege folder \/tmp # stat -c %a \/tmp 0755 bila muncul 0755 akan menyebabkan Apache tidak dapat membuat file session pada folder \/tmp masalah ini dapat diatasi dengan perintah berikut chmod -v 1777 \/tmp \/var\/tmp<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1342","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/1342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=1342"}],"version-history":[{"count":1,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/1342\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/1342\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=1342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=1342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=1342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}