Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache Server Error "Fatal Error Insufficient shared me |
|
Author |
|
werner.matthias@web.de
Joined: 11 Feb 2023 Posts: 1
|
Posted: Sat 11 Feb '23 10:46 Post subject: Apache Server Error "Fatal Error Insufficient shared me |
|
|
Hi,
I have some trouble to get my Apache2 restarted on my ubuntu 22.04. server.
Basically the service is not starting:
Code: |
...@server:/var/log$ sudo systemctl status apache2
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-02-10 22:10:44 CET; 22min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 2261 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 2265 (code=exited, status=254)
CPU: 197ms
Feb 10 22:10:43 naxos systemd[1]: Starting The Apache HTTP Server...
Feb 10 22:10:43 naxos systemd[1]: Started The Apache HTTP Server.
Feb 10 22:10:44 naxos systemd[1]: apache2.service: Main process exited, code=exited, status=254/n/a
Feb 10 22:10:44 naxos systemd[1]: apache2.service: Failed with result 'exit-code'.
|
It looks like it is Starting, but then being terminated. The Logging shows
error.log:
Fri Feb 10 22:10:44 2023 (2265): Fatal Error Insufficient shared memory!
What I have done before this showed up: - Updating php to 8.2 - removing php 7.0 to 7.4 - updating phpmyadmin
I am not sure if this has something to do with my changes, because all my website were working already with php8.2 after the update.
Do you have any idea what this error is meaning? What Other test can be done to track down the error?
Thanks
Matthias
Ubuntu 22.04 LTS |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7360 Location: Germany, Next to Hamburg
|
Posted: Wed 15 Feb '23 12:10 Post subject: |
|
|
Hi Matthias,
you may try to see why your server isn't starting
run as root
Code: |
source /etc/apache2/envvars
/usr/sbin/apache2ctl -S
|
|
|
Back to top |
|
|
|
|
|
|