質問編集履歴
4
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
> -- Subject: Unit failed
|
30
30
|
> -- Defined-By: systemd
|
31
31
|
> -- Support: https://access.redhat.com/support
|
32
|
-
>
|
32
|
+
> -- The unit test-httpd.service has entered the 'failed' state with result 'exit>
|
33
33
|
|
34
34
|
|
35
35
|
**環境**
|
3
journalctl -xe結果を追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,7 +9,28 @@
|
|
9
9
|
> [Tue Apr 19 12:16:23.862214 2022] [ssl:emerg] [pid 963309:tid 139844270008640] AH01874: Could not initialize session cache. Exiting.
|
10
10
|
> [Tue Apr 19 12:16:23.862223 2022] [ssl:emerg] [pid 963309:tid 139844270008640] AH02312: Fatal error initialising mod_ssl, exiting.
|
11
11
|
> [Tue Apr 19 12:16:23.862227 2022] [:emerg] [pid 963309:tid 139844270008640] AH00020: Configuration Failed, exiting
|
12
|
+
|
13
|
+
**journalctl -xe -u test-httpd実行結果**
|
14
|
+
> -- The unit test-httpd.service has entered the 'failed' state with result 'exit>
|
15
|
+
> Apr 19 12:28:09 rhel85 systemd[1]: Starting Customize Web Server>
|
16
|
+
> -- Subject: Unit test-httpd.service has begun start-up
|
12
|
-
>
|
17
|
+
> -- Defined-By: systemd
|
18
|
+
> -- Support: https://access.redhat.com/support
|
19
|
+
> -- Unit test-httpd.service has begun starting up.
|
20
|
+
> Apr 19 12:28:09 rhel85 systemd[1]: Started Customize Web Server
|
21
|
+
> -- Subject: Unit test-httpd.service has finished start-up
|
22
|
+
> -- Defined-By: systemd
|
23
|
+
> -- Support: https://access.redhat.com/support
|
24
|
+
> -- Unit test-httpd.service has finished starting up.
|
25
|
+
> -- The start-up result is done.
|
26
|
+
> Apr 19 12:28:09 rhel85 systemd[1]: test-httpd.service: Main process exited, cod>
|
27
|
+
> Apr 19 12:29:39 rhel85 systemd[1]: test-httpd.service: Reload operation timed o>
|
28
|
+
> Apr 19 12:29:39 rhel85 systemd[1]: test-httpd.service: Failed with result 'exit>
|
29
|
+
> -- Subject: Unit failed
|
30
|
+
> -- Defined-By: systemd
|
31
|
+
> -- Support: https://access.redhat.com/support
|
32
|
+
> 引用テキスト-- The unit test-httpd.service has entered the 'failed' state with result 'exit>
|
33
|
+
|
13
34
|
|
14
35
|
**環境**
|
15
36
|
OS:Red Hat Enterprise Linux 8.5
|
2
文章を訂正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
どなたかお知恵を拝借できれば有難いです。
|
4
4
|
|
5
5
|
**エラーログ内容**
|
6
|
-
ブラウザからサイトにアクセスしてエラーメッセージを確認したところ下記のエラーが出力されていました。
|
6
|
+
ブラウザからサイトにアクセスしてもエラーで何も表示されず、エラーメッセージを確認したところ下記のエラーが出力されていました。
|
7
7
|
httpd-error.logの内容
|
8
8
|
> [Tue Apr 19 12:16:23.862092 2022] [socache_dbm:error] [pid 963309:tid 139844270008640] (120021)APR does not understand this error code: AH00804: Cannot create socache DBM file `/var/cache/test-httpd/ssl'
|
9
9
|
> [Tue Apr 19 12:16:23.862214 2022] [ssl:emerg] [pid 963309:tid 139844270008640] AH01874: Could not initialize session cache. Exiting.
|
1
環境に関する情報を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
どなたかお知恵を拝借できれば有難いです。
|
4
4
|
|
5
5
|
**エラーログ内容**
|
6
|
-
ブラウザから
|
6
|
+
ブラウザからサイトにアクセスしてエラーメッセージを確認したところ下記のエラーが出力されていました。
|
7
7
|
httpd-error.logの内容
|
8
8
|
> [Tue Apr 19 12:16:23.862092 2022] [socache_dbm:error] [pid 963309:tid 139844270008640] (120021)APR does not understand this error code: AH00804: Cannot create socache DBM file `/var/cache/test-httpd/ssl'
|
9
9
|
> [Tue Apr 19 12:16:23.862214 2022] [ssl:emerg] [pid 963309:tid 139844270008640] AH01874: Could not initialize session cache. Exiting.
|
@@ -14,6 +14,7 @@
|
|
14
14
|
**環境**
|
15
15
|
OS:Red Hat Enterprise Linux 8.5
|
16
16
|
apache2.4.37-41
|
17
|
+
seLinux:オフ
|
17
18
|
|
18
19
|
**詳細**
|
19
20
|
apache2.4.37-41のSRPMを元に、別名のサービスとして起動できるよう、SPECファイル、その他ファイルを修正し、rpmファイルを作成しました。
|