root@rock64:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-05-22 13:26:20 UTC; 1min 7s ago
Process: 858 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
May 22 13:26:20 rock64 systemd[1]: Starting The Apache HTTP Server…
May 22 13:26:20 rock64 apachectl[858]: (2)No such file or directory: AH02291: Cannot access directory ‘/media/DataMedia/cloud/ncdata/’ for error log
May 22 13:26:20 rock64 apachectl[858]: AH00014: Configuration check failed
May 22 13:26:20 rock64 apachectl[858]: Action ‘start’ failed.
May 22 13:26:20 rock64 apachectl[858]: The Apache error log may have more information.
May 22 13:26:20 rock64 systemd[1]: apache2.service: Control process exited, code=exited status=1
May 22 13:26:20 rock64 systemd[1]: Failed to start The Apache HTTP Server.
May 22 13:26:20 rock64 systemd[1]: apache2.service: Unit entered failed state.
May 22 13:26:20 rock64 systemd[1]: apache2.service: Failed with result ‘exit-code’.
root@rock64:/var/log/apache2# cat error.log
[Sat Apr 28 06:25:03.181205 2018] [ssl:warn] [pid 1043:tid 547652196448] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 28 06:25:04.001055 2018] [mpm_event:notice] [pid 1043:tid 547652196448] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Sat Apr 28 06:25:04.001117 2018] [core:notice] [pid 1043:tid 547652196448] AH00094: Command line: ‘/usr/sbin/apache2’
[Mon Apr 30 07:17:05.269637 2018] [ssl:warn] [pid 884:tid 548284770400] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 30 07:17:06.649486 2018] [ssl:warn] [pid 1109:tid 548284770400] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 30 07:17:07.003034 2018] [mpm_event:notice] [pid 1109:tid 548284770400] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Mon Apr 30 07:17:07.003244 2018] [core:notice] [pid 1109:tid 548284770400] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue May 01 06:17:05.276389 2018] [ssl:warn] [pid 896:tid 547558115424] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 01 06:17:06.684347 2018] [ssl:warn] [pid 1111:tid 547558115424] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 01 06:17:07.003247 2018] [mpm_event:notice] [pid 1111:tid 547558115424] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Tue May 01 06:17:07.003420 2018] [core:notice] [pid 1111:tid 547558115424] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue May 08 13:17:05.455929 2018] [ssl:warn] [pid 909:tid 547933481056] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 08 13:17:06.654467 2018] [ssl:warn] [pid 1117:tid 547933481056] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 08 13:17:07.003393 2018] [mpm_event:notice] [pid 1117:tid 547933481056] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Tue May 08 13:17:07.003634 2018] [core:notice] [pid 1117:tid 547933481056] AH00094: Command line: ‘/usr/sbin/apache2’
[Fri May 11 03:17:05.317824 2018] [ssl:warn] [pid 911:tid 547597322336] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri May 11 03:17:06.488998 2018] [ssl:warn] [pid 1098:tid 547597322336] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri May 11 03:17:07.003474 2018] [mpm_event:notice] [pid 1098:tid 547597322336] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Fri May 11 03:17:07.003636 2018] [core:notice] [pid 1098:tid 547597322336] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu May 17 11:17:05.340667 2018] [ssl:warn] [pid 877:tid 547527280736] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu May 17 11:17:06.569528 2018] [ssl:warn] [pid 1119:tid 547527280736] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu May 17 11:17:07.003026 2018] [mpm_event:notice] [pid 1119:tid 547527280736] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Thu May 17 11:17:07.003172 2018] [core:notice] [pid 1119:tid 547527280736] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu May 17 12:04:37.104757 2018] [mpm_event:notice] [pid 1119:tid 547527280736] AH00491: caught SIGTERM, shutting down
[Thu May 17 12:04:50.545773 2018] [ssl:warn] [pid 915:tid 547806054496] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu May 17 12:04:51.557422 2018] [ssl:warn] [pid 1104:tid 547806054496] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu May 17 12:04:52.003542 201[Tue May 22 11:11:14.145808 2018] [ssl:warn] [pid 5192:tid 548347590752] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 22 11:11:15.049606 2018] [ssl:warn] [pid 5193:tid 548347590752] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 22 11:11:16.006418 2018] [mpm_event:notice] [pid 5193:tid 548347590752] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Tue May 22 11:11:16.006632 2018] [core:notice] [pid 5193:tid 548347590752] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue May 22 11:12:04.591172 2018] [mpm_event:notice] [pid 5193:tid 548347590752] AH00491: caught SIGTERM, shutting down
[Tue May 22 11:18:48.022392 2018] [ssl:warn] [pid 2660:tid 548479477856] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 22 11:18:49.067729 2018] [ssl:warn] [pid 2661:tid 548479477856] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue May 22 11:18:50.006558 2018] [mpm_event:notice] [pid 2661:tid 548479477856] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured – resuming normal operations
[Tue May 22 11:18:50.006789 2018] [core:notice] [pid 2661:tid 548479477856] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue May 22 13:25:50.564386 2018] [mpm_event:notice] [pid 2661:tid 548479477856] AH00491: caught SIGTERM, shutting down