Background Image

FORUM

조회 수 275 추천 수 0 댓글 7
?

단축키

Prev이전 문서

Next다음 문서

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

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Window7 32bit, Linux 64bit 등
CUBRID Ver.
[cubrid_rel] 수행 결과
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력

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


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



cubrid server start 명령어로 

cubrid server start: success 까지 뜨는걸 확인했는데


아래와 같이 에러가 나면서 server가 다시 멈춥니다.



Time: 05/24/18 17:02:36.690 - FATAL ERROR *** file /home1/build/workspace/CUBRID_10.1/cubrid/src/transaction/log_page_buffer.c, line 1889 ERROR CODE = -81 Tran = 1, CLIENT = cubrid:broker1_cub_cas_1(3478), EID = 14

Internal error: logical log page 708737 may be corrupted.

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xfe7eb): er_dump_call_stack

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xcb1e0): er_call_stack_dump_on_error

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xcb427): er_set

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x271b3b): logpb_read_page_from_file

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x2724b5): logpb_copy_page

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x273cc9): logpb_fetch_page

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x3192d7): heap_get_visible_version_from_log

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x32d213): heap_get_visible_version_internal

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x32d2dd): heap_get_visible_version

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1ad6d4): scan_next_index_lookup_heap

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1ae9fb): scan_next_scan_local

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1a6ca5): scan_handle_single_scan

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18cefa): qexec_intprt_fnc

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x183aea): qexec_execute_mainblock_internal

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x184d4a): qexec_execute_mainblock

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18e4db): qexec_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18f64e): qmgr_process_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x192286): xqmgr_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x12cd1d): sqmgr_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x134a5e): net_server_request

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x11fadd): css_internal_request_handler

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xbaab1): thread_worker

/lib64/libpthread.so.0(0x7e25): start_thread

/lib64/libc.so.6(0xf834d): clone


Time: 05/24/18 17:02:36.886 - FATAL ERROR *** file /home1/build/workspace/CUBRID_10.1/cubrid/src/storage/heap_file.c, line 24099 ERROR CODE = -644 Tran = 1, CLIENT = cubrid:broker1_cub_cas_1(3478), EID = 15

LOG FATAL ERROR: heap_get_visible_version_from_log

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xfe7eb): er_dump_call_stack

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xcb1e0): er_call_stack_dump_on_error

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xcb427): er_set

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x26d6f8): logpb_fatal_error_internal

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x26d9ed): logpb_fatal_error

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x319442): heap_get_visible_version_from_log

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x32d213): heap_get_visible_version_internal

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x32d2dd): heap_get_visible_version

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1ad6d4): scan_next_index_lookup_heap

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1ae9fb): scan_next_scan_local

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x1a6ca5): scan_handle_single_scan

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18cefa): qexec_intprt_fnc

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x183aea): qexec_execute_mainblock_internal

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x184d4a): qexec_execute_mainblock

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18e4db): qexec_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x18f64e): qmgr_process_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x192286): xqmgr_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x12cd1d): sqmgr_execute_query

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x134a5e): net_server_request

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0x11fadd): css_internal_request_handler

/home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/lib/libcubrid.so.10.1(0xbaab1): thread_worker

/lib64/libpthread.so.0(0x7e25): start_thread

/lib64/libc.so.6(0xf834d): clone


Time: 05/24/18 17:02:36.935 - NOTIFICATION *** file /home1/build/workspace/CUBRID_10.1/cubrid/src/transaction/boot_sr.c, line 260  CODE = -973 Tran = 1, CLIENT = cubrid:broker1_cub_cas_1(3478), EID = 16

Server status is DOWN.


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


  • ?
    오명환 2018.05.24 17:30
    emegency_patchlog의 locale를 en_US로 다시 해보세요.
  • ?
    복분자 2018.05.24 17:59

     emergency patch fail: Locale initialization: Invalid charset in db_root system table: expecting iso88591. found utf8 이라고 떴네요..



    Internal error: logical log page 708737 may be corrupted. 에러에 대해서 검색해보니

    http://database.sarang.net/?inc=read&aid=1281&criteria=unisql&subcrit=qna&id=&limit=20&keyword=&page=2

    해당 페이지에서 복구를 시도해보라고 하여 복구를 시도했는데 되지 않았습니다.


    서버를 올린 후 cubrid manager로 들어가서 테이블을 조회했더니, 특정 테이블들이 select 에 실패하면서 본문과 같은 에러가 발생합니다.

    서버는 다시 내려가구요.



    ++ 예전 데이터로 다시 복구하였고, 큐브리드 매니저로 테이블들을 조회했을때 잘됩니다.

    하지만 서버를 시작한 후 홈페이지에 접속하여 메뉴를 누르면 본문과 같은 에러가 나면서 서버는 다시 내려갑니다.

  • ?
    오명환 2018.05.25 09:33
    예전 데이터로 복구라고 하신 것이 백업볼륨을 cubrid restoredb 를 사용해서 DB를 복구하신건가요 ?
    현재, DB log를 깨진 상태여서, 혹시 복구시 깨진 log를 함께 가지고 올라 갈 수도 있습니다. 복구시에 깔끔해서 DB를 삭제(cubrid deletedb)한 후에 다시 한번 복구해보세요.

    그리고, 매니저도 서버를 시작한 후에 조회가 가능한데, 매니저에서 조회가 잘되고, 홈페이지 접속시에는 오류가 발생하는 것에 대해서는 이해가 잘 안됩니다.
  • ?
    복분자 2018.05.25 10:15

    네. cubrid restoredb로 복구했습니다. 서버를 구동한 후에 매니저 접속해서 조회도 되고 홈페이지 접속도 가능한데 접속하여 메뉴를 누르면 아래와 같이 에러가 나면서 다시 서버가 중지됩니다.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    *** FATAL ERROR ***
    LOG FATAL ERROR: heap_get_visible_version_from_log
    Please consult error_log file = /home/CUBRID-10.1.0.7663-1ca0ab8-Linux.x86_64/log/server/forest_home_20180525_1012.err for additional information
    ... ABORT/EXIT IMMEDIATELY ...<<<---
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    동일서버내에서 DB를 새로 생성하여 기존 데이터를 옮기려고 내보내기 -> 언로드를 실행하였으나 이것도 바로 위와 같은 에러가 나면서 실패했습니다.
    오명환님께서 말씀하신 방법은 DB 자체를 완전 삭제하고 cubrid restoredb를 사용해서 복구하면 된다는 말씀이신가요?




    + 동일서버에서 다른 이름으로 DB를 새로 생성하여 데이터를 옮기려고하는데 기존 DB의 백업본을 가지고 복구하려면 어떻게 해야할까요

  • ?
    오명환 2018.05.25 12:58
    restoredb로 복구할때, 현재 구성되어 있는 DB의 active, archive log를 사용해서 복구를 합니다.
    현재 emergency_patchlog -r에 의해 log의 locale 정보와 charset가 변경되었을 수도 있으므로 깔끔하게 해당 DB 정보를 지우고 복구해 보세요.
  • ?
    오명환 2018.05.25 12:58
    restoredb로 복구할때, 현재 구성되어 있는 DB의 active, archive log를 사용해서 복구를 합니다.
    현재 emergency_patchlog -r에 의해 log의 locale 정보와 charset가 변경되었을 수도 있으므로 깔끔하게 해당 DB 정보를 지우고 복구해 보세요.
  • ?
    복분자 2018.05.28 16:54
    마지막 댓글을 달아주시기 전에 복구완료했습니다. 전체 내보내기는 에러가 나서 테이블이 많지 않기때문에 하나하나 가져오기 하여 복구하였습니다.
    답변 달아주셔서 감사합니다!

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views43
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. 큐브리드 매니저(cubrid manager)에서 원격 호스트 접속이 안됩니다.

    Date2018.06.11 Byym Views911
    Read More
  4. python에서 cubrid 사용시 권한문제 질문드립니다

    Date2018.06.11 Bywooks Views1121
    Read More
  5. DECODE 함수 사용시 문제 발생건

    Date2018.06.07 By지성 Views1156
    Read More
  6. is not defined 에러

    Date2018.05.30 ByJSP초보입니당 Views1185
    Read More
  7. character varying" to domain "date" 오류

    Date2018.05.30 By리안커 Views1924
    Read More
  8. DB 테이블 목록 등 열기 시 오류 (+로그 추가-2)

    Date2018.05.29 Bycacaopie Views464
    Read More
  9. 테이블 설명 기능 설치

    Date2018.05.29 Byabg Views300
    Read More
  10. Store Procedure 작성 관련 질문

    Date2018.05.28 By키레이니 Views382
    Read More
  11. Store Procedure 호출 관련 질문

    Date2018.05.28 By키레이니 Views508
    Read More
  12. comment 기능 질문

    Date2018.05.25 By키레이니 Views750
    Read More
  13. heap_get_visible_version_from_log 에러

    Date2018.05.24 By복분자 Views275
    Read More
  14. FATAL ERROR 발생으로 cubrid server start가 되지 않습니다.

    Date2018.05.24 By복분자 Views1265
    Read More
  15. cubrid server start: fail 이 뜹니다.

    Date2018.05.24 By복분자 Views2090
    Read More
  16. create db 실행 오류

    Date2018.05.22 By영진 Views611
    Read More
  17. 오라클 job -> 큐브리드 ??

    Date2018.05.17 By퓨전남 Views485
    Read More
  18. 툴에서 튜닝모드로 수행했을 때 관련

    Date2018.05.16 By잉여개발자 Views330
    Read More
  19. cubrid.jdbc.driver.CUBRIDException: Semantic: Cannot coerce host var to type bit. 문의 드립니다.

    Date2018.05.16 Byvks Views2866
    Read More
  20. 트리거 질문입니다.

    Date2018.05.15 By퓨전남 Views738
    Read More
  21. 안녕하세요.. 초보적인 질문입니다,

    Date2018.05.15 ByMi Views180
    Read More
  22. 하이버네이트 uniqueResult 함수 사용 문의

    Date2018.05.15 Bykim77p Views461
    Read More
Board Pagination Prev 1 ... 54 55 56 57 58 59 60 61 62 63 ... 200 Next
/ 200

Contact Cubrid

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