Need Help to fix error initializate Apache2 in the Debian 9

Kernels & Hardware, configuring network, installing services

Need Help to fix error initializate Apache2 in the Debian 9

Postby yuma2020 » 2018-07-08 02:56

Hello everyone, I need help to repair this problem that my systems had 9, the failure is presented after a restart or a bad configuration, I would appreciate if you help me solve it, here the operations logs.
Do you require other reports or that you review more files? request it to me and with pleasure I will facilitate them to solve this problem.

Code: Select all
● apache2.service - The Apache HTTP Server
  Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Fri 2018-07-06 11:32:57 -03; 1h 26min ago
 Process: 1076 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

jul 06 11:32:54 server.info systemd[1]: Starting The Apache HTTP Server...
jul 06 11:32:57 server.info apachectl[1076]: apache2: Syntax error on line 103 of /etc/apache2/apache2.conf: IncludeOptional takes one argument, Name or pattern of the config file(s) to be included; ignored if the file does not exist or the pattern does not match any files
jul 06 11:32:57 server.info apachectl[1076]: Action 'start' failed.
jul 06 11:32:57 server.info apachectl[1076]: The Apache error log may have more information.
jul 06 11:32:57 server.info systemd[1]: apache2.service: Control process exited, code=exited status=1
jul 06 11:32:57 server.info systemd[1]: Failed to start The Apache HTTP Server.
jul 06 11:32:57 server.info systemd[1]: apache2.service: Unit entered failed state.
jul 06 11:32:57 server.info systemd[1]: apache2.service: Failed with result 'exit-code'.
● apache2.service - The Apache HTTP Server
  Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Fri 2018-07-06 14:40:52 -03; 13min ago
 Process: 21146 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

jul 06 14:40:52 server.info apachectl[21146]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
jul 06 14:40:52 server.info apachectl[21146]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
jul 06 14:40:52 server.info apachectl[21146]: no listening sockets available, shutting down
jul 06 14:40:52 server.info apachectl[21146]: AH00015: Unable to open logs
jul 06 14:40:52 server.info apachectl[21146]: Action 'start' failed.
jul 06 14:40:52 server.info apachectl[21146]: The Apache error log may have more information.
jul 06 14:40:52 server.info systemd[1]: apache2.service: Control process exited, code=exited status=1
jul 06 14:40:52 server.info systemd[1]: Failed to start The Apache HTTP Server.
jul 06 14:40:52 server.info systemd[1]: apache2.service: Unit entered failed state.
jul 06 14:40:52 server.info systemd[1]: apache2.service: Failed with result 'exit-code'.


Report of journalctl -xe: https://pastebin.com/raw/5MWPVEeF

Thank you very much from Argentina, the country of Messi, I'm anxious to see your answers.
yuma2020
 
Posts: 2
Joined: 2017-06-14 03:15

Re: Need Help to fix error initializate Apache2 in the Debi

Postby dilberts_left_nut » 2018-07-08 05:32

Well, as the log shows, you have a syntax error on line 103 of /etc/apache2/apache2.conf

Fix it.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4869
Joined: 2009-10-05 07:54
Location: enzed


Return to System configuration

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable