Can't open nodes-6379.conf in order to acquire a lock: Permission denied

I am getting error on redis server on linux 7.5 after change the default path /var/lib/redis to /redisdata, and enable cluster-enabled yes. It would be really appreciate if some one can check and suggest on this issue.
error code:

1240:C 09 Sep 2018 13:53:51.058 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1240:C 09 Sep 2018 13:53:51.058 # Redis version=4.9.105, bits=64, commit=00000000, modified=0, pid=1240, just started
1240:C 09 Sep 2018 13:53:51.058 # Configuration loaded
1240:C 09 Sep 2018 13:53:51.058 * supervised by systemd, will signal readiness
1240:M 09 Sep 2018 13:53:51.060 # Can't open nodes-6379.conf in order to acquire a lock: Permission denied
1267:C 09 Sep 2018 13:56:05.470 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1267:C 09 Sep 2018 13:56:05.470 # Redis version=4.9.105, bits=64, commit=00000000, modified=0, pid=1267, just started
1267:C 09 Sep 2018 13:56:05.470 # Configuration loaded
1267:C 09 Sep 2018 13:56:05.470 * supervised by systemd, will signal readiness
1267:M 09 Sep 2018 13:56:05.471 # Can't open nodes-6379.conf in order to acquire a lock: Permission denied

Take a look at what SELinux is doing for you.

1 Like

Thanks , Let me verify

Thanks Aia it is resolved now after disable the selinux :slight_smile: