Background Image

FORUM

?

단축키

Prev이전 문서

Next다음 문서

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

안녕하세요.

과감히 업그레이드를 하려고

기존 DB 백업 및 삭제후

2008으로 업그레이드 하였습니다.

하위버전 DB 백업파일을 읽어서 DB 생성하는 명령이 없는거 같더군요.

홈페이지에 나온데로 기존 DB 파일을 복사후 migrate_r20 실행파일을 이용하여 업그레이드했습니다.

c:APM_SetupCUBRIDdatabases>migrate_r20.exe zeroboard
CUBRID Migration: 8.1.4 to 8.2.0
start to fix volume header
start to fix file header
start to fix glo header
start to rebuild index
migration success

그러고 나니 매니저에서 zeroboard DB에 로그인이 안되네요

다시 DB 서비스를 죽이고 한번더 해보았습니다.

c:APM_SetupCUBRIDdatabases>migrate_r20.exe zeroboard
CUBRID Migration: 8.2.0 to 8.2.0
continue to rebuild index
migration success

c:APM_SetupCUBRIDdatabases>cd zeroboard

c:APM_SetupCUBRIDdatabaseszeroboard>ls
backup             zeroboard_bkvinf   zeroboard_lgar001  zeroboard_lginf
zeroboard          zeroboard_lgar000  zeroboard_lgat     zeroboard_vinf

c:APM_SetupCUBRIDdatabaseszeroboard>cubrid backupdb -S zeroboard
Some inconsistencies were detected in your database.
 Please consult error_log_file C:APM_SetupCUBRIDlogzeroboard_backupdb.err fo
r additional information.

c:APM_SetupCUBRIDdatabaseszeroboard>tail C:APM_SetupCUBRIDlogzeroboard_b
ackupdb.err

Time: 12/21/09 07:59:56.199 - ERROR *** ERROR CODE = -541, Tran = 1, EID = 1
Number of free pages for volume "C:APM_SE~1CUBRIDDATABA~1ZEROBO~1zeroboard"
 is inconsistent. 3179 and 3185 were found according to volume header and bitmap
, respectively.

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

물론 기존 DB에 컨시턴트 문제가 있어서 백업이 안되었는데...
체크박스를 풀고 백업파일도 만들어놨었습니다.
현상태에선 매니져에서 zeroboard DB가 보이나 로그인이 안되는 상황입니다.
이 문제를 어떻게 해결해야할지 막막하네요.
알려주시면 감사하겠습니다.

  • ?
    남재우 2009.12.21 20:49
    데이터베이스에 손상이 있는 것으로 보입니다. check 옵션을 꺼서 백업을 하시면 백업시 데이터베이스 상태를 점검하지 않기때문에 백업의 성공 문제는 데이터베이스 이상 여부와는 다른 문제입니다.
    일단 커맨드창을 여신후에 csql -S zeroboard 와 같이 하여 csql> 프럼프트가 보이는지 확인하여 주시기 바랍니다. 정상적으로 보이면 ;exit 로 빠져나오신 후 매니져에서 로그인해보시면 됩니다.
    만약 이때 에러가 발생한다면 cubrid emergency_patchlog zeroboard 를 수행해 보시고, 다시 csql 을 수행하여 정상 여부를 확인하시고요, 만약 이때도 않된다면 다시 cubrid emergency_patchlog -r zeroboard 를 수행해 진행해 보시면 됩니다.
    참고로 emergency_patchlog 를 데이터베이스 로그가 손상된 경우 로그를 복구해 주는 도구 입니다.

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

    Date2024.04.23 Byadmin Views144004
    read more
  2. ODBC 연결 방법

    Date2009.12.24 By포세이돈 Views15092
    Read More
  3. cent OS 5.4v 에 큐브리드 설치후 서비스 시작 문제..

    Date2009.12.24 By춘식 Views17035
    Read More
  4. 이진 데이터를 Stored Procedure에 넘기는 방법

    Date2009.12.23 Byhyperhand Views17169
    Read More
  5. BLOB 데이터 select 질문

    Date2009.12.23 Byhyperhand Views16123
    Read More
  6. Java SP 질문

    Date2009.12.23 Byhyperhand Views14126
    Read More
  7. 이중 루프문 안에 쿼리문 실행시 바깥루프 안도는 문제

    Date2009.12.22 By지니보이 Views18326
    Read More
  8. AUTO_INCREMENT 컬럼 이용시

    Date2009.12.22 Byhyperhand Views20750
    Read More
  9. java stored procedure 실행시 에러

    Date2009.12.22 Byhyperhand Views26330
    Read More
  10. c#과 cubrid2008 연동후 문자열 select 질문.

    Date2009.12.21 Byhyperhand Views21341
    Read More
  11. R1.4->R2.0(64비트)베타 업그레이드 및 마이그레이션후 DB접속불가.

    Date2009.12.21 Byxclass Views15022
    Read More
  12. Client만 설시치 oledb provider가 설치되지 않습니다.

    Date2009.12.19 Byhyperhand Views16505
    Read More
  13. 오라클과의 성능에 대한 비교를 알고 싶습니다.

    Date2009.12.16 By오004 Views11
    Read More
  14. 오라클과의 호환성과 대용량 검색 속도

    Date2009.12.16 By오004 Views29138
    Read More
  15. 조인 관련 질문입니다.

    Date2009.12.16 By지니보이 Views13001
    Read More
  16. cubrid_prepare()로 데이타 입력시 질문입니다.

    Date2009.12.16 By지니보이 Views12910
    Read More
  17. row level lock 이 지원되나요?

    Date2009.12.16 By초보대왕 Views16158
    Read More
  18. 한글이 깨지네요

    Date2009.12.16 By썬해바라기 Views13599
    Read More
  19. restordb를 사용후 다른 문구가...

    Date2009.12.15 By썬해바라기 Views12621
    Read More
  20. Unloaddb의 문제점

    Date2009.12.14 By앵벌이 Views12711
    Read More
  21. mysql로 마이그레이션하는방법좀..

    Date2009.12.14 By썬해바라기 Views14015
    Read More
Board Pagination Prev 1 ... 185 186 187 188 189 190 191 192 193 194 ... 213 Next
/ 213

Contact Cubrid

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