Redis: Failed opening .rdb for saving: Permission denied

后端 未结 13 1438
误落风尘
误落风尘 2020-12-05 02:00

I have a redis server 2.8 installed using ubuntu apt-get on ubuntu 12.04.

I have copied a dump.rdb from an other database. Now when I try to start the new server, I

13条回答
  •  不知归路
    2020-12-05 02:25

    In my case all rights were correct(I mean that the most stared answer doesn't help me). BUT! Redis used an incorrect path to file. In config it was correct, but from rails-cli it returned '/proc'. This answer helped me - https://serverfault.com/questions/800295/redis-spontaneously-failed-failed-opening-rdb-for-saving-permission-denied

    Warning

    For exact question it doesn't matter, but my situation looked like someone hacked server. Link to explanation. So check your setup properly.

提交回复
热议问题