Score:0

apache2 terminated after SSH logged out UBUNTU

mx flag

I have Ubuntu 18.04.5 LTS running Apache/2.4.29 server , I have the following users:

Ubuntu bagy weeby

whenever I logged in to the server as Weeby users using SSH, after logged out, the web-server and apache2 goes down

I have tried multiple solutions. I added Weeby to sudo group but it is still

I would like to keep apache2 running even after SSH logging out

Romeo Ninov avatar
in flag
How do you start apache?
Nikita Kipriyanov avatar
za flag
Also, what is in the system logs and apache logs?
Gerrit avatar
cn flag
Have you tried `screen` ?
Mansour W bss avatar
mx flag
Hi @RomeoNinov I'm starting apache as a root user
Mansour W bss avatar
mx flag
Hi @NikitaKipriyanov the apache error logs show: [Fri Dec 10 09:36:48.930894 2021] [core:alert] [pid 6257] AH00050: Child 6263 returned a Fatal error... Apache is exiting! [Fri Dec 10 09:36:48.931006 2021] [:emerg] [pid 6257] AH02818: MPM run failed, exiting
Romeo Ninov avatar
in flag
@MansourWbss, not with which user, but how, which command do you execute?
Mansour W bss avatar
mx flag
@RomeoNinov Hi ,, the command was: sudo service apache2 restart nohup
Mansour W bss avatar
mx flag
@RomeoNinov Hi.. it appears that is was issue with Mutex files , I had to uncomment Mutex file:${APACHE_LOCK_DIR} default and set it to default
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.