Applicable to:
- Plesk Obsidian for Linux
Symptoms
-
Websites show the following error:
CONFIG_TEXT: AH10292: Invalid proxy UDS filename (proxy:unix:///var/www/vhosts/system/example.com/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/example.com/httpdocs/public/index.php)
CONFIG_TEXT: Internal Server Error
-
Apache has been updated to a new version recently:
Ubuntu 20.04:
# grep 'status installed' /var/log/dpkg.log | grep apache2:amd64
2021-09-27 12:46:57 status installed apache2:amd64 2.4.41-4ubuntu3.5Ubuntu 18.04:
# grep 'status installed' /var/log/dpkg.log | grep apache2:amd64
2021-09-28 06:25:55 status installed apache2:amd64 2.4.29-1ubuntu4.17
Cause
This is an Apache bug which arose with Ubuntu packages update and later fixed in the following versions:
- Apache for Ubuntu 20 version 2.4.41-4ubuntu3.6.
- Apache for Ubuntu 18 version 2.4.29-1ubuntu4.18.
Plesk uses Apache packages from OS repositories and does not control their version updates.
Resolution
Update Apache packages to fix the issue:
-
Go to Tools & Settings > Server Management > System Updates and click Recheck now.
-
Once updates are detected, click Update all.
The issue should be fixed, verify that websites are back online.
-
Connect to the server using SSH.
-
Execute below command:
# sudo apt-mark unhold apache2
-
Apply steps 2-3 from the resolution.
Comments
319 comments
It works to me. Now, I suppose that in the next days you'll solve this problem on apache. For the next upgrade(and correction) do you expect other further manual changes or the next upgrade will be received automatically?
Just came to the Crash Party now! trying the fix!
Thank you...
Awesome. Saved my morning. Thanks a lot Plesk!
But how did this happen to me as I have all automatic updates turned off in Plesk? The package should not have been updated ...
Thanks, woke up in the middle of the night! Saved my day!!
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
export version="2.4.29-1ubuntu4"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.4.29-1ubuntu4' for 'apache2' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-utils' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-data' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-bin' was not found
Can anyone help to downgrade in this case ?
@:~# export version="2.4.29-1ubuntu4"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/tortix-common.list:1
E: Version '2.4.29-1ubuntu4' for 'apache2' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-utils' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-data' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-bin' was not found
@:~# apt-mark hold apache2
apache2 set on hold.
@:~# service apache2 restart
nothing changed!!!
version u18.04
Yes it fixed! Thanks a lot
Thx for fast help
Thank you, saved my day.
Thx for fast help
Good Morning,
Thanks for this solution.
Thanks so much for your quickness
Abdulla Chozhimadathil check your /etc/apt/sources.list
That file should include this rule (for 20.04):
E: Version '2.4.29-1ubuntu4' for 'apache2' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-utils' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-data' was not found
E: Version '2.4.29-1ubuntu4' for 'apache2-bin' was not found
??? please help
Big thanks for posting the workaround! This saved me a lot of time this morning.
THX ... it saves my day... It works
Thanks a lot for the downgrade instruction, all my websites are up and running again!
Now updates for Apache are on hold. Once this is fixed, please instruct on how to release Apache updates again.
Workaround not working for me either, I'm on Ubuntu 18.04:
edit:
this workaround did it for me:
thanks - it works fine
While the solution for Ubuntu 20.04 suggests the version 2.4.41-4ubuntu3, it did not work in my case resulting in:
The solution was to use apt list -a apache2 to list the available versions, and the version eventually was 2.4.29-1ubuntu4.
I solved with update to Apache 2.4.49
on Ubuntu 20.04.3 LTS
export version="2.4.41-4ubuntu3"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version
gives me:
...
After this operation, 7168 B disk space will be freed.
Do you want to continue? [Y/n] Y
Abort.
What can I do to find out why it is aborted?
---
update: fixed, just hit enter, instead of typing Y and hot enter
@Roeland Lundahl you can hit RETURN than it will not be aborted (i have had same problem this morning).
Hi guys, I am failing to implement this, when is this going to be fixed or can I get assistance in having this temporary solution set.
Switching from FPM to FastCGI is the workaround I'm using.
yikes - had a lot of websites go down
thanks for having this fix
Loris Modena this worked for me also.
Grow If the export command fails on Lightsail (didn't work on mine) try the below. Fixed mine
Adding the ondrej/apache2 repo rather than relying on the the Ubuntu releases.
Manuel Neubecker Thanks! I just found out, can confirm that works
Worked for me, Ubuntu 20.
Please sign in to leave a comment.