Background Image

FORUM

조회 수 408 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Window7 32bit, REHL 6.7 64bit
CUBRID Ver.
  9.3.8.0003
CUBRID TOOL Ver.
  CUBRID Manager 10.1.0.0003(32bit)
응용 환경(API)
java

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


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


CUBRID Manager를 사용하여 데이터베이스 생성시 오류가 발생합니다.


어떤 조치를 취해야 정상처리가 가능한지 알려주시면 좋겠습니다.


[tablename]_createdb.err 로그 내용은 아래와 같습니다.


Time: 05/15/18 00:59:33.285 - ERROR *** file ../../src/transaction/log_page_buffer.c, line 705 ERROR CODE = -3 Tran = -1, EID = 1
Out of virtual memory: unable to allocate 429495824 memory bytes.

Time: 05/15/18 00:59:33.314 - FATAL ERROR *** file ../../src/transaction/log_page_buffer.c, line 886 ERROR CODE = -644 Tran = -1, EID = 2
LOG FATAL ERROR: log_pbpool_init
/NCIS/CUBRID/lib/libcubridsa.so(0x16d27f): er_dump_call_stack
/NCIS/CUBRID/lib/libcubridsa.so(0x13f48b): er_call_stack_dump_on_error
/NCIS/CUBRID/lib/libcubridsa.so(0x13f6a9): er_set
/NCIS/CUBRID/lib/libcubridsa.so(0x45c92a): logpb_fatal_error_internal
/NCIS/CUBRID/lib/libcubridsa.so(0x45cc4f): logpb_fatal_error
/NCIS/CUBRID/lib/libcubridsa.so(0x45f7d4): logpb_initialize_pool
/NCIS/CUBRID/lib/libcubridsa.so(0x45a96a): log_create_internal
/NCIS/CUBRID/lib/libcubridsa.so(0x45ad56): log_create
/NCIS/CUBRID/lib/libcubridsa.so(0x433295): xboot_initialize_server
/NCIS/CUBRID/lib/libcubridsa.so(0x18bf93): boot_initialize_server
/NCIS/CUBRID/lib/libcubridsa.so(0x42da47): boot_initialize_client
/NCIS/CUBRID/lib/libcubridsa.so(0x119e90): db_init
/NCIS/CUBRID/lib/libcubridsa.so(0xebc8e): createdb
/NCIS/CUBRID/bin/cubrid(0x4011df): ??
/lib64/libc.so.6(0x1ed5d): __libc_start_main
/NCIS/CUBRID/bin/cubrid(0x400f89): ??

Time: 05/15/18 00:59:33.375 - FATAL ERROR *** file ../../src/transaction/log_manager.c, line 912 ERROR CODE = -644 Tran = -1, EID = 3
LOG FATAL ERROR: log_create
/NCIS/CUBRID/lib/libcubridsa.so(0x16d27f): er_dump_call_stack
/NCIS/CUBRID/lib/libcubridsa.so(0x13f48b): er_call_stack_dump_on_error
/NCIS/CUBRID/lib/libcubridsa.so(0x13f6a9): er_set
/NCIS/CUBRID/lib/libcubridsa.so(0x45c92a): logpb_fatal_error_internal
/NCIS/CUBRID/lib/libcubridsa.so(0x45cc4f): logpb_fatal_error
/NCIS/CUBRID/lib/libcubridsa.so(0x45ac33): log_create_internal
/NCIS/CUBRID/lib/libcubridsa.so(0x45ad56): log_create
/NCIS/CUBRID/lib/libcubridsa.so(0x433295): xboot_initialize_server
/NCIS/CUBRID/lib/libcubridsa.so(0x18bf93): boot_initialize_server
/NCIS/CUBRID/lib/libcubridsa.so(0x42da47): boot_initialize_client
/NCIS/CUBRID/lib/libcubridsa.so(0x119e90): db_init
/NCIS/CUBRID/lib/libcubridsa.so(0xebc8e): createdb
/NCIS/CUBRID/bin/cubrid(0x4011df): ??
/lib64/libc.so.6(0x1ed5d): __libc_start_main
/NCIS/CUBRID/bin/cubrid(0x400f89): ??



cub_manager.err 파일 로그는 아래와 같습니다.

[20180515 01:00:06] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx heartbeatlist The server was not configured for HA.<end>
[20180515 01:00:07] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx getallsysparam File(?) open error
[20180515 01:00:59] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:01:06] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:03:05] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb /NCIS/CUBRID/databases/modf_asis: Permission denied

[20180515 01:04:06] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:04:24] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:05:45] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx heartbeatlist The server was not configured for HA.<end>
[20180515 01:05:47] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx getallsysparam File(?) open error
[20180515 01:06:08] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:07:27] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>
[20180515 01:26:50] [ERROR] [ 21664] [write_manager_error_log:628] access_err admin xx.xxx.xx.xxx createdb LOG FATAL ERROR: log_create<end>Please consult error_log file = /NCIS/CUBRID/log/modf_asis_createdb.err for additional information<end>

  • ?
    오명환 2018.05.15 09:07
    올려주신 로그를 보고 정확한 원인을 알 수 없고, 로그 상의 오류는 log buffer에서 필요한 memory를 할당 받을 수 없어서 발생한 것입니다.
    DB서버의 free memory를 확인해 보세요.
    혹시 ssh를 이용해서 DB서버로 연결 가능하면 cubrid createdb 명령어를 이용해서 DB 생성을 시도해보시는 것도 방법입니다, 매뉴얼(https://www.cubrid.org/manual/ko/9.3.0/admin/admin_utils.html#createdb)을 참고하세요.

    참고로 올려주신 로그에 찍힌 시스템이 시간이 이상합니다. (14일에 글을 올려주셨는데, 로그들은 15일 새벽 시간이네요.)

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4443
1187 저장 프로시저 사용시 커넥션 관련 4 고늬 2018.04.11 392
1186 CUBRID MANAGER 한글이 깨져서 나오고 입력할 때도 한글이 깨집니다. 4 qswaert 2018.04.12 465
1185 cub_server cpu점유율이 계속 올라가고 응답이없습니다. 2 루피 2018.04.16 888
1184 Redmine 의 데이터베이스로 큐브리드를 사용하는 것이 가능할까요? 3 밝은마음 2018.04.17 254
1183 큐브리드 프로시저 1 NICK1990 2018.04.17 1806
1182 JOIN 질의 시 CASE WHEN 구문 관련 문의 2 잉여개발자 2018.04.19 4699
1181 외부 IP로 서비스시 포트관련 1 큐브리드큐큐큐큐 2018.04.20 601
1180 csql -c 옵션 질문입니다. 1 충이 2018.04.27 321
1179 데이터 INSERT 문제 [ 시간당 1만건씩 INSERT 되는데 ] exception cannot communicate with the broker 에러가 발생합니다. 1 키다리 2018.04.27 341
1178 큐브리드 멀티코어 지원이 안되나요? 1 훈이아빠 2018.05.02 389
1177 unloaddb, loaddb 진행 후 service가 시작되지 않습니다. 1 seyaa 2018.05.04 601
1176 JSP를 사용한 큐브리드와 AWS 웹서버 연동 방법 1 영토리 2018.05.09 395
1175 Mybatis 사용시 setTransactionIsolation();을 일부 트렌젝션에서 사용이 가능할가요? 1 라면 2018.05.14 396
» create db 수행시 오류가 발생합니다. 1 큐브리드초보당 2018.05.14 408
1173 하이버네이트 uniqueResult 함수 사용 문의 1 kim77p 2018.05.15 461
1172 안녕하세요.. 초보적인 질문입니다, 1 Mi 2018.05.15 180
1171 트리거 질문입니다. 3 퓨전남 2018.05.15 738
1170 cubrid.jdbc.driver.CUBRIDException: Semantic: Cannot coerce host var to type bit. 문의 드립니다. 4 vks 2018.05.16 2864
1169 툴에서 튜닝모드로 수행했을 때 관련 1 file 잉여개발자 2018.05.16 330
1168 오라클 job -> 큐브리드 ?? 1 퓨전남 2018.05.17 485
Board Pagination Prev 1 ... 136 137 138 139 140 141 142 143 144 145 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales