package apache2 2.4.41-4ubuntu3.4 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
trying to install Xibo-cms gives this error on apache2 install
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: apache2 2.4.41-4ubuntu3.4
ProcVersionSign
Uname: Linux 5.4.0-80-generic x86_64
Apache2ConfdDir
Apache2Modules:
Error: command ['/usr/
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Action '-D DUMP_MODULES' failed.
The Apache error log may have more information.
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Aug 2 11:46:29 2021
ErrorMessage: installed apache2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-07-30 (2 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: apache2
Title: package apache2 2.4.41-4ubuntu3.4 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
error.log: Error: [Errno 2] No such file or directory: '/var/log/
Thank you for taking the time to file a bug report.
Your apache2 config was not attached to this bug and it'd be key to discover what's happening in your system, but from the bug description we can see:
Error: command ['/usr/ sbin/apachectl' , '-D DUMP_MODULES'] failed with exit code 1: AH00526: Syntax error on line 162 of /etc/apache2/ apache2. conf:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
So I believe you made a mistake in your apache2.conf line 162. Please check your local configuration and make sure everything is correct, syntax error free.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://