마스터 서버가 갑자기 죽어버렸습니다

by K몽 posted May 02, 2019

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
 Linux 64
CUBRID Ver.
CUBRID 9.3 (9.3.9.0002) (64bit release build for linux_gnu) (Aug  4 2017 11:55:22)
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력

* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------


서비스중인 Cubrid 서버가 갑자기 죽어버렸습니다.

현재 원인을 파악해보려고 하는데 어디서부터 봐야할지 감이 서질 않습니다.

단순하게 로그들만 살펴보면되는것인지 가이드가 필요한 상황입니다.


장애가 발생하고 cubrid service status 명령어를 통해서 확인했을때는

서비스는 돌아가고 있었고 마스터가 돌아가지 않는 상황이었습니다.


아래는 에러 로그입니다.


Time: 04/27/19 03:00:01.348 - ERROR *** file ../../src/connection/connection_cl.c, line 757 ERROR CODE = -353 Tran = -1, EID = 1

Cannot make connection to master server on host "localhost".... No such file or directory


Time: 04/27/19 03:00:01.348 - ERROR *** file ../../src/transaction/boot_cl.c, line 1743 ERROR CODE = -677 Tran = -1, EID = 2

Failed to connect to database server, 'db', on the following host(s): localhost


*** The previous error message is the last one. ***



Time: 04/28/19 03:00:01.669 - ERROR *** file ../../src/connection/connection_cl.c, line 757 ERROR CODE = -353 Tran = -1, EID = 1

Cannot make connection to master server on host "localhost".... No such file or directory


Time: 04/28/19 03:00:01.669 - ERROR *** file ../../src/transaction/boot_cl.c, line 1743 ERROR CODE = -677 Tran = -1, EID = 2

Failed to connect to database server, 'db', on the following host(s): localhost


*** The previous error message is the last one. ***



Time: 04/29/19 03:00:01.934 - ERROR *** file ../../src/connection/connection_cl.c, line 757 ERROR CODE = -353 Tran = -1, EID = 1

Cannot make connection to master server on host "localhost".... No such file or directory


Time: 04/29/19 03:00:01.934 - ERROR *** file ../../src/transaction/boot_cl.c, line 1743 ERROR CODE = -677 Tran = -1, EID = 2

Failed to connect to database server, 'db', on the following host(s): localhost


*** The previous error message is the last one. ***



======================

master.err


Time: 04/29/19 18:56:28.569 - ERROR *** file ../../src/connection/tcp.c, line 709 ERROR CODE = -357 Tran = -1, EID = 1

Cannot bind local address... aborting.... Address already in use


*** The previous error message is the last one. ***



Time: 04/29/19 19:00:52.347 - ERROR *** file ../../src/connection/tcp.c, line 709 ERROR CODE = -357 Tran = -1, EID = 1

Cannot bind local address... aborting.... Address already in use


*** The previous error message is the last one. ***



Time: 04/29/19 19:03:03.237 - ERROR *** file ../../src/connection/tcp.c, line 709 ERROR CODE = -357 Tran = -1, EID = 1

Cannot bind local address... aborting.... Address already in use


*** The previous error message is the last one. ***







Articles

2 3 4 5 6 7 8 9 10 11