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
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 admin 2024.04.23 49
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4458
3994 큐브리드 다운로더 오류 발생 5 file 차오이 2008.11.22 78497
3993 큐브리드 2008 설치시 윈도우 서비스에 등록되지 않습니다. 3 file 진이 2008.11.22 63170
3992 .NET DB 제어를 위한 방법. 2 우페 2008.11.23 60878
3991 Image 데이터타입 사용방법 3 AD 2008.11.25 73850
3990 windows CUBRID PHP module 5 우페 2008.11.25 51099
3989 이전버전 제거시 오류 7 doplee 2008.11.26 53102
3988 update 쿼리를 이용한 시리얼 수정에 관하여 1 인경수 2008.11.27 63454
3987 cub_master: Cannot bind local address... aborting.... Address already in use 4 박상현 2008.11.28 83565
3986 델파이에서는 어떻게 사용할수 있을까요? 2 이상원 2008.11.29 65568
3985 JDK가 두개 설치된 경우 선택적으로 JDK를 설정 할 수 있는 방법은 없는지요 1 GoFly 2008.11.28 60615
3984 더 정확히 하자면 서버실행은 되지만 Manager가 실행이;;;; 1 file GoFly 2008.11.28 49420
3983 linux server 환경에서 php 버전은 어떤걸로 선택해야하는지. 1 거기 2008.11.30 66366
3982 안녕하세요 김범준님.. 3 GoFly 2008.12.01 30837
3981 시간표현 문제 2 asteroid 2008.12.02 30265
3980 Cubrid 2008 srpm 공개 여부? 1 김정균 2008.12.04 41384
3979 CUBRID 설치 문의 입니다. 1 해바라기 2008.12.04 27379
3978 DB 서버 자동 실행 문의. 1 우페 2008.12.04 30520
3977 2008 RC1.1 매니저 실행에 대한 문제점과 임시적인 해결책 1 GGG특별대원 2008.12.05 27220
3976 csql 유틸리티에서 쿼리플랜 확인 1 asteroid 2008.12.05 28258
3975 설치관련 다시 질문 올립니다. 2 해바라기 2008.12.05 17858
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 200 Next
/ 200

Contact Cubrid

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