質問編集履歴
2
最終追記になります。もはや誰にもわからない!?
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
OS起動直後のREDIS自動起動エラー
|
1
|
+
OS起動直後のREDIS自動起動エラー (bind設定)
|
body
CHANGED
@@ -2,22 +2,33 @@
|
|
2
2
|
サービスへの通信は、全てIPv6で通信しなければならず、てこずっています。
|
3
3
|
色々試したつもりなのですが、正直お手上げ状態です。
|
4
4
|
どなた様か、ご教授いただければ幸いです。どうぞよろしくお願いいたします。
|
5
|
-
(追記、1
|
5
|
+
(追記、11月20日01時24分現在もまだだめです。)
|
6
6
|
|
7
7
|
### 前提・実現したいこと
|
8
8
|
|
9
|
-
redis を、IPv6(
|
9
|
+
redis を、IPv6(Link Local)で起動して動作させたい。
|
10
10
|
OS起動後に、systemctl start redis だと問題なく起動される。
|
11
11
|
しかしながら、OSを再起動すると自動起動に失敗。
|
12
12
|
IPv4 だと問題なく自動起動されるが、IPv6で設定した場合は自動起動せず。
|
13
|
-
firewalld
|
13
|
+
firewalld, SELINUXは、共にdisabled。
|
14
|
-
|
14
|
+
念のため、wait-for-ips.conf は作成してあります。
|
15
15
|
|
16
16
|
OSの再起動後の状態 /etc/redis.conf
|
17
17
|
active bind 127.0.0.1
|
18
|
+
active bind 0.0.0.0
|
19
|
+
active bind ::1
|
20
|
+
active bind ::
|
18
21
|
failed bind 2405:xxxx:2ec0:xxxx:9c11:c99e:5ab3:f787
|
19
22
|
failed bind fe80::c42:3967:3154:694b%enp0s3
|
20
23
|
|
24
|
+
### /etc/redis.conf (bind以外の変更箇所)
|
25
|
+
```
|
26
|
+
requirepass xu56TR32
|
27
|
+
protected-mode no
|
28
|
+
daemonize yes
|
29
|
+
supervised systemd
|
30
|
+
```
|
31
|
+
|
21
32
|
### systemctl status redis (OS起動直後)
|
22
33
|
```
|
23
34
|
● redis.service - Redis persistent key-value database
|
1
ところどころ修正および追記(前提・実現したいこと欄)
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
OS起動直後のREDIS自動起動エラー(IPv6アドレスにてBIND)
|
body
CHANGED
@@ -2,19 +2,21 @@
|
|
2
2
|
サービスへの通信は、全てIPv6で通信しなければならず、てこずっています。
|
3
3
|
色々試したつもりなのですが、正直お手上げ状態です。
|
4
4
|
どなた様か、ご教授いただければ幸いです。どうぞよろしくお願いいたします。
|
5
|
+
(追記、18日18時現在もまだだめです。)
|
5
6
|
|
6
7
|
### 前提・実現したいこと
|
7
8
|
|
8
9
|
redis を、IPv6(LinkLocal)で起動して動作させたい。
|
9
|
-
systemctl start redis だと問題なく起動される。
|
10
|
+
OS起動後に、systemctl start redis だと問題なく起動される。
|
10
11
|
しかしながら、OSを再起動すると自動起動に失敗。
|
11
12
|
IPv4 だと問題なく自動起動されるが、IPv6で設定した場合は自動起動せず。
|
13
|
+
firewalld は停止状態。SELINUXはdisabled。
|
12
|
-
|
14
|
+
一応念のため、wait-for-ips.conf は作成してあります。
|
13
15
|
|
14
|
-
OSの再起動後の状態
|
16
|
+
OSの再起動後の状態 /etc/redis.conf
|
15
|
-
active
|
17
|
+
active bind 127.0.0.1
|
16
|
-
failed
|
18
|
+
failed bind 2405:xxxx:2ec0:xxxx:9c11:c99e:5ab3:f787
|
17
|
-
failed
|
19
|
+
failed bind fe80::c42:3967:3154:694b%enp0s3
|
18
20
|
|
19
21
|
### systemctl status redis (OS起動直後)
|
20
22
|
```
|
@@ -78,4 +80,5 @@
|
|
78
80
|
redisは6が出ているが、できることならそのまま5を使用したい。
|
79
81
|
|
80
82
|
### 補足情報
|
81
|
-
CentOS 8.2,
|
83
|
+
CentOS 8.2,
|
84
|
+
Redis: 5.0.3 (dnf install redis)
|