質問編集履歴
2
最終追記になります。もはや誰にもわからない!?
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
OS起動直後のREDIS自動起動エラー
|
1
|
+
OS起動直後のREDIS自動起動エラー (bind設定)
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
どなた様か、ご教授いただければ幸いです。どうぞよろしくお願いいたします。
|
8
8
|
|
9
|
-
(追記、1
|
9
|
+
(追記、11月20日01時24分現在もまだだめです。)
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
redis を、IPv6(LinkLocal)で起動して動作させたい。
|
17
|
+
redis を、IPv6(Link Local)で起動して動作させたい。
|
18
18
|
|
19
19
|
OS起動後に、systemctl start redis だと問題なく起動される。
|
20
20
|
|
@@ -22,9 +22,9 @@
|
|
22
22
|
|
23
23
|
IPv4 だと問題なく自動起動されるが、IPv6で設定した場合は自動起動せず。
|
24
24
|
|
25
|
-
firewalld
|
25
|
+
firewalld, SELINUXは、共にdisabled。
|
26
26
|
|
27
|
-
|
27
|
+
念のため、wait-for-ips.conf は作成してあります。
|
28
28
|
|
29
29
|
|
30
30
|
|
@@ -32,9 +32,31 @@
|
|
32
32
|
|
33
33
|
active bind 127.0.0.1
|
34
34
|
|
35
|
+
active bind 0.0.0.0
|
36
|
+
|
37
|
+
active bind ::1
|
38
|
+
|
39
|
+
active bind ::
|
40
|
+
|
35
41
|
failed bind 2405:xxxx:2ec0:xxxx:9c11:c99e:5ab3:f787
|
36
42
|
|
37
43
|
failed bind fe80::c42:3967:3154:694b%enp0s3
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
### /etc/redis.conf (bind以外の変更箇所)
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
requirepass xu56TR32
|
52
|
+
|
53
|
+
protected-mode no
|
54
|
+
|
55
|
+
daemonize yes
|
56
|
+
|
57
|
+
supervised systemd
|
58
|
+
|
59
|
+
```
|
38
60
|
|
39
61
|
|
40
62
|
|
1
ところどころ修正および追記(前提・実現したいこと欄)
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
OS起動直後のREDIS自動起動エラー(IPv6アドレスにてBIND)
|
test
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
色々試したつもりなのですが、正直お手上げ状態です。
|
6
6
|
|
7
7
|
どなた様か、ご教授いただければ幸いです。どうぞよろしくお願いいたします。
|
8
|
+
|
9
|
+
(追記、18日18時現在もまだだめです。)
|
8
10
|
|
9
11
|
|
10
12
|
|
@@ -14,23 +16,25 @@
|
|
14
16
|
|
15
17
|
redis を、IPv6(LinkLocal)で起動して動作させたい。
|
16
18
|
|
17
|
-
systemctl start redis だと問題なく起動される。
|
19
|
+
OS起動後に、systemctl start redis だと問題なく起動される。
|
18
20
|
|
19
21
|
しかしながら、OSを再起動すると自動起動に失敗。
|
20
22
|
|
21
23
|
IPv4 だと問題なく自動起動されるが、IPv6で設定した場合は自動起動せず。
|
22
24
|
|
25
|
+
firewalld は停止状態。SELINUXはdisabled。
|
26
|
+
|
23
|
-
|
27
|
+
一応念のため、wait-for-ips.conf は作成してあります。
|
24
28
|
|
25
29
|
|
26
30
|
|
27
|
-
OSの再起動後の状態 /etc/redis.conf
|
31
|
+
OSの再起動後の状態 /etc/redis.conf
|
28
32
|
|
29
|
-
active bind 127.0.0.1
|
33
|
+
active bind 127.0.0.1
|
30
34
|
|
31
|
-
failed bind 2405:xxxx:2ec0:xxxx:9c11:c99e:5ab3:f787
|
35
|
+
failed bind 2405:xxxx:2ec0:xxxx:9c11:c99e:5ab3:f787
|
32
36
|
|
33
|
-
failed bind fe80::c42:3967:3154:694b%enp0s3
|
37
|
+
failed bind fe80::c42:3967:3154:694b%enp0s3
|
34
38
|
|
35
39
|
|
36
40
|
|
@@ -158,4 +162,6 @@
|
|
158
162
|
|
159
163
|
### 補足情報
|
160
164
|
|
161
|
-
CentOS 8.2,
|
165
|
+
CentOS 8.2,
|
166
|
+
|
167
|
+
Redis: 5.0.3 (dnf install redis)
|