S
S
Sergey Vyvolokin2015-06-13 10:25:25
Apache HTTP Server
Sergey Vyvolokin, 2015-06-13 10:25:25

How to fix in Apache2?

Hello, no clear reason with Apache2 version 2.4.10. OS Debian 8.0 Stable x64.
When you give the command ---> systemctl status apache2.service

apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: active (running) (Result: exit-code) since Сб 2015-06-13 13:07:40 MSK; 2h 10min ago
  Process: 6792 ExecReload=/etc/init.d/apache2 reload (code=exited, status=1/FAILURE)
   CGroup: /system.slice/apache2.service
           ├─3760 /usr/sbin/apache2 -k start
           ├─3763 /usr/sbin/apache2 -k start
           ├─3764 /usr/sbin/apache2 -k start
           ├─3765 /usr/sbin/apache2 -k start
           ├─3766 /usr/sbin/apache2 -k start
           ├─3767 /usr/sbin/apache2 -k start
           └─4019 /usr/sbin/apache2 -k start

июн 13 15:06:02 intellect systemd[1]: Reload failed for LSB: Apache2 web server.
июн 13 15:08:47 intellect apache2[6792]: Reloading web server: apache2 failed!
июн 13 15:08:47 intellect apache2[6792]: The apache2 configtest failed. Not doing anything. ... (warning).
июн 13 15:08:47 intellect apache2[6792]: Output of config test was:
июн 13 15:08:47 intellect apache2[6792]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2...conf:1
июн 13 15:08:47 intellect apache2[6792]: AH00014: Configuration check failed
июн 13 15:08:47 intellect apache2[6792]: Action 'configtest' failed.
июн 13 15:08:47 intellect apache2[6792]: The Apache error log may have more information.
июн 13 15:08:47 intellect systemd[1]: apache2.service: control process exited, code=exited status=1
июн 13 15:08:47 intellect systemd[1]: Reload failed for LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AntonMZ, 2015-06-13
@AntonMZ

What is written on the line?
Cannot access directory '/var/log/apache2...conf:1
Show the full line then =)

S
Sergey N, 2015-06-18
@Albibek

Line
somehow hints to us that some directory does not exist or the server does not have the rights to find out if it exists.
Line
somehow hints to us that in order to get the full output, you need to use some kind of key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question