Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Need Help to fix error initializate Apache2 in the Debian 9

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
yuma2020
Posts: 2
Joined: 2017-06-14 03:15

Need Help to fix error initializate Apache2 in the Debian 9

#1 Post by yuma2020 »

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.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

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

#2 Post by dilberts_left_nut »

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...

Post Reply