Article 4YSQQ newest version apache2 on ubuntu 18.04..3 server

newest version apache2 on ubuntu 18.04..3 server

by
Trondny
from LinuxQuestions.org on (#4YSQQ)
I have a server with ubuntu 18.04 and apache2. The server apache services started but stopped again. On this server, I first installed Nginx but could not get it upright. So then I completely removed NgInx and appache2 and then reinstalled apache2. But still could not start apach2.I used this before on another server I had 9 websites on one Ip address and it works fine. I show the error message on the scree when trying start:apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
a""a"apache2-systemd.conf
Active: failed (Result: exit-code) since Sun 2020-02-02 14:50:07 CET; 104ms ago
Process: 5925 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

feb. 02 14:50:07 HB1 systemd[1]: Starting The Apache HTTP Server...
feb. 02 14:50:07 HB1 apachectl[5925]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/access_compat.load: Cannot load /usr/lib/apache2/modules/mod_access_compat.so into server: /usr/lib/apache2/modules/mod_access_compat.so: cannot open shared object file: No such file or directory
feb. 02 14:50:07 HB1 apachectl[5925]: Action 'start' failed.
feb. 02 14:50:07 HB1 apachectl[5925]: The Apache error log may have more information.
feb. 02 14:50:07 HB1 systemd[1]: apache2.service: Control process exited, code=exited status=1
feb. 02 14:50:07 HB1 systemd[1]: apache2.service: Failed with result 'exit-code'.
feb. 02 14:50:07 HB1 systemd[1]: Failed to start The Apache HTTP Server.latest?d=yIl2AUoC8zA latest?i=FL2qM01aeIw:GdE8T7lrqfw:F7zBnMy latest?i=FL2qM01aeIw:GdE8T7lrqfw:V_sGLiP latest?d=qj6IDK7rITs latest?i=FL2qM01aeIw:GdE8T7lrqfw:gIN9vFwFL2qM01aeIw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments