redis 버전 3.0.6을 사용 중입니다. redis-server 프로세스가 redis 사용자에 의해 실행 중입니다.Redis - 저장을위한 .rdb 열 수 없음 : 사용 권한이 거부되었습니다.
갑자기 24 시간 후 5 일부터 redis가 시작되어 "저장하기 위해 .rdb를 열지 못했습니다." 그 전에 제대로 작동하고있었습니다.
아래 로그의 스 니펫에서 볼 수 있듯이 Redis는 정상적으로 작동하고 실패하기 시작했습니다. 나중에 서버 전원을 껐다 켜면 문제가 해결되었습니다.
1427:M 24 May 01:09:05.102 * Background saving started by pid 2493
2493:C 24 May 01:09:34.916 * DB saved on disk
2493:C 24 May 01:09:34.917 * RDB: 310 MB of memory used by copy-on-write
1427:M 24 May 01:09:34.950 * Background saving terminated with success
1427:M 24 May 01:14:35.026 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:14:35.036 * Background saving started by pid 2494
2494:C 24 May 01:15:04.329 * DB saved on disk
2494:C 24 May 01:15:04.330 * RDB: 298 MB of memory used by copy-on-write
1427:M 24 May 01:15:04.408 * Background saving terminated with success
1427:M 24 May 01:20:05.008 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:20:05.018 * Background saving started by pid 2499
2499:C 24 May 01:20:33.830 * DB saved on disk
2499:C 24 May 01:20:33.831 * RDB: 330 MB of memory used by copy-on-write
1427:M 24 May 01:20:33.843 * Background saving terminated with success
1427:M 24 May 01:23:46.966 # Failed opening .rdb for saving: Read-only file system
1427:M 24 May 01:25:34.029 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:25:34.038 * Background saving started by pid 2500
2500:C 24 May 01:25:34.038 # Failed opening .rdb for saving: Read-only file system
1427:M 24 May 01:25:34.139 # Background saving error
1427:M 24 May 01:25:40.059 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:25:40.064 * Background saving started by pid 2501
2501:C 24 May 01:25:40.064 # Failed opening .rdb for saving: Read-only file system
1427:M 24 May 01:25:40.165 # Background saving error
1427:M 24 May 01:25:46.080 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:25:46.085 * Background saving started by pid 2502
2502:C 24 May 01:25:46.085 # Failed opening .rdb for saving: Read-only file system
1427:M 24 May 01:25:46.186 # Background saving error
1427:M 24 May 01:25:52.100 * 10 changes in 300 seconds. Saving...
1427:M 24 May 01:25:52.105 * Background saving started by pid 2503
2503:C 24 May 01:25:52.105 # Failed opening .rdb for saving: Read-only file system
1427:M 24 May 01:25:52.206 # Background saving error
제 질문은 어떻게 될 수 있습니까? 이 문제에 대해 적절한 해결책을 제공해주십시오.
는 https://stackoverflow.com/questions/22160753/redis-failed-opening-rdb-for-saving-의 중복 것 같다 permission-denied – holmberd
@holmberd 아니요, 그 질문에 redis는 시작시 시작하지 못했습니다. 여기 다른 이야기 인 것 같습니다. – ffeast
@beena 단 하나의 redis 서버가 실행되고 있는지 확인 했습니까? – ffeast