Background Image

FORUM

조회 수 401 추천 수 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 4285
3836 백업 및 복구 시 cubrid 버전 간 호환 문의 1 플레이어블 2023.04.13 71
3835 centos8에서 쉘스크립트 실행시 csql: command not found 오류 발생 6 kjn4345 2023.04.13 168
3834 큐브리드 timestamp 오류 문의 5 jjun7204 2023.04.12 147
3833 Cubrid DB 서버 swap memory 사용률 관련 질의 1 오라클민 2023.04.12 208
3832 Mac OS 큐브리드 매니저 실행이 안 됩니다. 2 아데산야라이트훅 2023.04.07 130
3831 blob select 1 네오랜덤 2023.04.05 128
3830 dba권한 상속 1 네오랜덤 2023.04.05 82
3829 mac os m1 실행시 무응답 실행안됩니다. 6 시나몬빵 2023.04.04 143
3828 함수/프로시져 구동시 필요한 java버젼 1 네오랜덤 2023.03.31 112
3827 큐브리드 설치 도중 취소한 후, 재설치가 불가능합니다. 5 복괴 2023.03.28 152
3826 where in () 서브쿼리 관련 문의입니다 1 제리리 2023.03.27 108
3825 한글을 입력받아 한글을 리턴하는 CUBRID JAVA StoredProcedure 작성시 window 환경에서 리턴 값이 깨져서 출력 됨 2 두목원슝 2023.03.22 159
3824 큐브리드 DAMO(암호화)관련 버전 호환관련하여 문의드립니다. 3 초코초코초 2023.03.20 228
3823 cubrid manager 에러?? 3 11시38분 2023.03.20 210
3822 PreparedStatement.executeBatch에서 일부 데이터의 오류 시 반환 값 문의 2 새옹지마 2023.03.18 323
3821 db생성경로가 db테이블과 결과조회에 영향을 미치나요? 1 dfdfdd 2023.03.15 114
3820 SQL statement violated NOT NULL constraint 1 yoo 2023.03.15 160
3819 콤마로 split하는 기능 구현 관련 문의 5 플레이어블 2023.03.15 275
3818 insert문에서 replace 1 yoo 2023.03.15 116
3817 cubrid 파라미터 바인딩 3 DJ 2023.03.14 164
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 ... 199 Next
/ 199

Contact Cubrid

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