inflearn logo
강의

Course

Instructor

Everything about Redis (feat. Node.js)

systemctl restart redis-study 문제

213

jaenam615

1 asked

0

[root@localhost system]# systemctl restart redis-study

Job for redis-study.service failed because a timeout was exceeded.

See "systemctl status redis-study.service" and "journalctl -xeu redis-study.service" for details.

systemctl restart redis-study를 실행하면 위와 같은 오류가 뜹니다.
이후 enable 도 안되어서 이 부분에서 걸려있는데, 로그를 확인해봐도 timeout때문에 실패했다는 문구만 뜹니다.

혹시 문제가 어디서 발생했을까요...?

[메모리 테스트: redis-server --test-memory 2]

Your memory passed this test.

Please if you are still in doubt use the following two tools:

1) memtest86: http://www.memtest86.com/

2) memtester: http://pyropus.ca/software/memtester/

 

[conf 파일 체크: redis-server /redis/redis-stable/redis.conf --check-config]

 

*** FATAL CONFIG FILE ERROR (Redis 7.4.1) ***

Reading the configuration file, at line 2328

>>> 'check-config'

Bad directive or wrong number of arguments

이걸 확인해보면 conf파일 문제인 것 같은데, 강의에서 conf 파일을 건드리는 부분이 없었던 걸로 기억합니다.

node.js redis

Answer 1

0

yongsoocho

journalctl 을 함께 보면 좋은데, 현재 에러 메세지로는 conf 파일 문법이 틀린거 같습니다.

 

  1. vi /redis/redis-stable/redis.conf 로 vi 에디터 켜기

  2. :2328 입력으로 2328번째 줄로 이동하기 (이동 키는 G 입니다.)

  3. 주석 미처리, 띄어쓰기, parameter 타입 오류 등... 해결

  4. :wq 로 저장 후 다시 시도

 

해당 방법으로도 안된다면, journalctl 이나 status 상세 옵션으로 로그 부탁드립니다 🙂

@Version 어노테이션이 붙은 필드는 낙관적 락이든 비관적 락이든 업데이트가 됩니다.

0

19

1

ai가 만든 강의인가요?

0

42

1

VSCode 설정 문의

0

31

2

너무 흥미진진합니다..

1

24

1

수파베이스 ORM 질문

0

33

2

몽고 db 접속 오류

0

20

1

트리거 질문

0

31

1

순위가 동률일 때의 처리에 대해 질문드립니다.

0

46

2

3강 질문

0

47

2

Service Create/Update Record 운용과 Delete Record 미운용의 차이 질문

0

26

1

2강 nodejs 3단계 설명 질문

0

53

1

조회속도 개선에서 더 개선하는 방법이 궁금합니다.

0

44

2

useEffect와 lifecycle문의

0

39

2

프론트엔드 학습 수준 문의

0

58

2

리액트 챕터별 코드에서 eslint 설정파일이 없어요

0

56

2

Redlock 알고리즘 관해 궁금한게 있습니다!

0

61

2

좋아요/조회수 카운팅 병목현상에 대해서 궁금한점이 있습니다.

0

45

2

Build 관련 문제 (테스트 관련 문제)

0

44

2

consumer에서 에러가 발생할 경우 데이터 유실 문의

0

44

2

게시글 테스트 데이터 삽입

0

49

2

강의 소리가 너무 작아요.. 사운드 편집 불가하신지요?

0

53

1

맥 환경에서 redisJson 사용하는 방법이 궁금합니다

0

111

1

redis insight 관련 질문입니다

0

118

1

systemctl restart redis-server 실행시 오류 문의

0

229

1