Getting Fatal Error on Ubuntu 16.04: Unable to create lock fileCreate daemon on ubuntu 16.04After some time of correct working PHP can't execute any system commandUnable to get rid of sql_mode ONLY_FULL_GROUP_BY on ubuntu 16.04Ubuntu 16.04, Keepalived VMACUsing zram - compressed RAM on >=4.4.0 kernel (ie.: Ubuntu 16.04)Ubuntu 16.04 & Elasticsearch 1.7 - Startup ErrorUbuntu 16.04 nfs-kernel-server won't startUbuntu 16.04 can't rebuild mySQLUnexpected Error while installing MySQL 8 on Ubuntu 16.04OpenOSCAP scanner not working on Ubuntu 16.04

Identifying unknown map projection for image

How long would it take to cross the Channel in 1890's?

What is the meaning of "понаехать"?

Is "Busen" just the area between the breasts?

Does the monk's Step of the Wind feature activate the benefit of the Mobile feat?

How can you guarantee that you won't change/quit job after just couple of months?

LWC - Local Dev - How can I run the local server on HTTPS?

Counterfeit checks were created for my account. How does this type of fraud work?

Can Ogre clerics use Purify Food and Drink on humanoid characters?

RandomInteger with equal number of 1 and -1

Why does using different ArrayList constructors cause a different growth rate of the internal array?

What is "industrial ethernet"?

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?

How many people are necessary to maintain modern civilisation?

Boss wants someone else to lead a project based on the idea I presented to him

How can lift be less than thrust that is less than weight?

Constitutionality of U.S. Democratic Presidential Candidate's Supreme Court Suggestion

Greeting with "Ho"

Trainee keeps passing deadlines for independent learning

How do I farm creepers for XP without them exploding?

Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?

Is there any difference between Т34ВМ1 and КМ1858ВМ1/3?

Similarity score: Can Sklearn SVR predict values greater than 1 and less than 0?



Getting Fatal Error on Ubuntu 16.04: Unable to create lock file


Create daemon on ubuntu 16.04After some time of correct working PHP can't execute any system commandUnable to get rid of sql_mode ONLY_FULL_GROUP_BY on ubuntu 16.04Ubuntu 16.04, Keepalived VMACUsing zram - compressed RAM on >=4.4.0 kernel (ie.: Ubuntu 16.04)Ubuntu 16.04 & Elasticsearch 1.7 - Startup ErrorUbuntu 16.04 nfs-kernel-server won't startUbuntu 16.04 can't rebuild mySQLUnexpected Error while installing MySQL 8 on Ubuntu 16.04OpenOSCAP scanner not working on Ubuntu 16.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I found on my server (ubuntu 16.04) that there is almost no free space and it requires to be cleaned up. I started to find out which directory or path has taken more space and I can clean them up. After finishing it up, an issue was occurred and I got error while running some console command. For example when I run php -v I get this error:



(19903): Fatal Error Unable to create lock file: Bad file descriptor (9)


I cannot also run apt-get update.



How can I recover the server at this point?










share|improve this question






















  • Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

    – djdomi
    Jun 4 at 21:10











  • Which directories did you clean up?

    – Lucas Ramage
    Jun 5 at 16:39











  • I found the problem. the directory /tmp was removed. I just recreated the directory.

    – Hamid Ghorashi
    Jun 5 at 19:29

















0















I found on my server (ubuntu 16.04) that there is almost no free space and it requires to be cleaned up. I started to find out which directory or path has taken more space and I can clean them up. After finishing it up, an issue was occurred and I got error while running some console command. For example when I run php -v I get this error:



(19903): Fatal Error Unable to create lock file: Bad file descriptor (9)


I cannot also run apt-get update.



How can I recover the server at this point?










share|improve this question






















  • Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

    – djdomi
    Jun 4 at 21:10











  • Which directories did you clean up?

    – Lucas Ramage
    Jun 5 at 16:39











  • I found the problem. the directory /tmp was removed. I just recreated the directory.

    – Hamid Ghorashi
    Jun 5 at 19:29













0












0








0








I found on my server (ubuntu 16.04) that there is almost no free space and it requires to be cleaned up. I started to find out which directory or path has taken more space and I can clean them up. After finishing it up, an issue was occurred and I got error while running some console command. For example when I run php -v I get this error:



(19903): Fatal Error Unable to create lock file: Bad file descriptor (9)


I cannot also run apt-get update.



How can I recover the server at this point?










share|improve this question














I found on my server (ubuntu 16.04) that there is almost no free space and it requires to be cleaned up. I started to find out which directory or path has taken more space and I can clean them up. After finishing it up, an issue was occurred and I got error while running some console command. For example when I run php -v I get this error:



(19903): Fatal Error Unable to create lock file: Bad file descriptor (9)


I cannot also run apt-get update.



How can I recover the server at this point?







ubuntu-16.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 4 at 21:01









Hamid GhorashiHamid Ghorashi

11913




11913












  • Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

    – djdomi
    Jun 4 at 21:10











  • Which directories did you clean up?

    – Lucas Ramage
    Jun 5 at 16:39











  • I found the problem. the directory /tmp was removed. I just recreated the directory.

    – Hamid Ghorashi
    Jun 5 at 19:29

















  • Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

    – djdomi
    Jun 4 at 21:10











  • Which directories did you clean up?

    – Lucas Ramage
    Jun 5 at 16:39











  • I found the problem. the directory /tmp was removed. I just recreated the directory.

    – Hamid Ghorashi
    Jun 5 at 19:29
















Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

– djdomi
Jun 4 at 21:10





Mayve too many files open? Since your not wrote if its a VM or physical Server you may try google.com/amp/s/anandarajpandey.com/2016/02/18/… However you should really post more Information about your issue

– djdomi
Jun 4 at 21:10













Which directories did you clean up?

– Lucas Ramage
Jun 5 at 16:39





Which directories did you clean up?

– Lucas Ramage
Jun 5 at 16:39













I found the problem. the directory /tmp was removed. I just recreated the directory.

– Hamid Ghorashi
Jun 5 at 19:29





I found the problem. the directory /tmp was removed. I just recreated the directory.

– Hamid Ghorashi
Jun 5 at 19:29










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f970135%2fgetting-fatal-error-on-ubuntu-16-04-unable-to-create-lock-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f970135%2fgetting-fatal-error-on-ubuntu-16-04-unable-to-create-lock-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company