前提・実現したいこと
redisの設定を行っています。既にある設定ファイル(/usr/local/src/redis-5.0.0/redis.conf)をコピーして新たな設定ファイル(/etc/redis/redis.conf)を作り設定を少し変えたのですが、起動させると正常に起動できていないようでした。
とりあえず無視して接続してみると[127.0.0.1:6379>]が表示されるので接続自体はできているのかな?と思うのですが、新たな設定ファイルの方で設定したパスワードを打っても”ERR Client sent AUTH, but no password is set”と表示されてしまいます。
発生している問題・エラーメッセージ
10209:M 02 Nov 2018 10:54:05.299 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 10209:M 02 Nov 2018 10:54:05.299 # Server initialized 10209:M 02 Nov 2018 10:54:05.299 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 10209:M 02 Nov 2018 10:54:05.299 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 9368:M 02 Nov 2018 00:44:03.070 * DB loaded from disk: 0.000 seconds 9368:M 02 Nov 2018 00:44:03.070 * Ready to accept connections
該当のソースコード
tail -30 /var/log/redis/redis.log
補足情報(FW/ツールのバージョンなど)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/11/02 09:20
2018/11/02 09:48
2018/11/02 11:13