Background Image

FORUM

조회 수 9829 추천 수 0 댓글 4
?

단축키

Prev이전 문서

Next다음 문서

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


* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Window7 64bit,
CUBRID Ver.
CUBRID 2008 R
CUBRID TOOL Ver.
매니저 2013 빌드 0170
응용 환경(API)
java

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



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

tomcat 7.0과 java 1.6을 사용하고 있습니다

 

그런데 데이터베이스가 사라집니다.

 

정확한 이유는 모르겠습니다.

 

데이베이스를 한번 활용하게되면, DB가 사라집니다.

 

log를 열어보니 다른 로그에는 아무런 내용이 써있지 않으며

 

하나의 log에만

 


Time: 01/16/14 12:12:17.102 - ERROR *** file ....srcconnectionserver_support.c, line 1052 ERROR CODE = -673 Tran = 0, CLIENT = (unknown):(unknown)(-1), EID = 1
Your connection to the server has been closed since the server is going down immediately.

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

 

이러한 메시지가 찍혀있었습니다.

 

왜이런 상황이 생기는 건가요?

  • ?
    이용미 2014.01.16 23:30

    안녕하세요. 

    해당 로그는 DB 서버가 종료된다는 메시지 입니다. 해당 메시지는 사용자가 DB를 정상적인 명령을 이용하여 종료시키는 경우 출력되게 됩니다.

    "데이터베이스를 한번 활용하게 되면," 이라고 하셨는데, 서버의 재부팅이나, 특정 작업이 이루어 지고 있지는 않은지요?

    더불어, 작업 후 아래 내용을 확인 부탁 드립니다.

     1. [Windows 키 + r], [cmd] 실행

      1-1. [cubrid service status] 확인 

      1-2. [cub_commdb -P] 확인

     2. CUBRID 홈 디렉토리(Default : C:CUBRID) 아래 databases 디렉토리에 있는 databases.txt 파일

     3. CUBRID 홈 디렉토리(Default : C:CUBRID) 아래 conf 디렉토리에 있는 cubrid.conf 파일

    댓글 부탁 드립니다.

    감사합니다.

  • ?
    프라우닐 2014.01.18 01:38 Files첨부 (1)
    1. [Windows 키 + r], [cmd] 실행

      1-1. [cubrid service status] 확인 

      1-2. [cub_commdb -P] 확인

     2. CUBRID 홈 디렉토리(Default : C:CUBRID) 아래 databases 디렉토리에 있는 databases.txt 파일

     3. CUBRID 홈 디렉토리(Default : C:CUBRID) 아래 conf 디렉토리에 있는 cubrid.conf 파일

     

     

    1-1 : CUBRID는 정상적으로 서비스가 작동하고 있는 상태입니다. 내컴퓨터의 관리-> 서비스 에서도 켜져있는것으로 나옵니다.

    1-2 : Server dmd <rel 8,pid2936> 이라는 메시지가 출력됩니다.

     

    2. databases.txt  파일의 내용입니다

         #db-name vol-path  db-host  log-path  lob-base-path
    dmd  C:CUBRIDDATABA~1dmd localhost C:CUBRIDDATABA~1dmd  file:C:CUBRIDdatabasesdmd/lob

     

    3. cubrid.conf  파일의 내용입니다. 내용이 길어 첨부합니다..

    #
    # Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution.
    #
    #   This program is free software; you can redistribute it and/or modify
    #   it under the terms of the GNU General Public License as published by
    #   the Free Software Foundation; version 2 of the License.
    #
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    #  GNU General Public License for more details.
    #
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    #

    # For complete information on parameters, see the CUBRID
    # Database Administration Guide chapter on System Parameters

    # cubrid.conf

    # Service section - a section for 'cubrid service' command
    [service]

    # The list of processes to be started automatically by 'cubrid service start' command
    # Any combinations are available with server, broker, manager and heartbeat.
    service=server,broker,manager

    # The list of database servers in all by 'cubrid service start' command.
    # This property is effective only when the above 'service' property contains 'server' keyword.
    server=dmd

    # Common section - properties for all databases
    # This section will be applied before other database specific sections.
    [common]

    # Read the manual for detailed description of system parameters
    # Manual > Performance Tuning > Database Server Configuration > Default Parameters

    # Size of data buffer are using K, M, G, T unit
    data_buffer_size=512M

    # Size of log buffer are using K, M, G, T unit
    log_buffer_size=4M

    # Size of sort buffer are using K, M, G, T unit
    # The sort buffer should be allocated per thread.
    # So, the max size of the sort buffer is sort_buffer_size * max_clients.
    sort_buffer_size=2M

    # The maximum number of concurrent client connections the server will accept.
    # This value also means the total # of concurrent transactions.
    max_clients=100

    # TCP port id for the CUBRID programs (used by all clients).
    cubrid_port_id=1523

    # The createdb and addvoldb create a volume file of 'db_volume_size' size
    # if don't have any options about size.
    db_volume_size=512M

    # The createdb creates a log volume file of 'log_volume_size' size
    # if don't have any options about size.
    log_volume_size=512M

  • ?
    이용미 2014.01.23 20:43

    안녕하세요. 답변이 늦어 죄송합니다.

    올려주신 내용으로 보아, DB가 종료 또는 사라진 것은 아닌것으로 보입니다.


    어떠한 내용으로 DB가 사라졌다고 판단하셨는지요?

    확인 부탁 드립니다.

    감사합니다.

  • ?
    프라우닐 2014.01.23 22:02 Files첨부 (1)

    현재 자바 툴로서 이클립스를 사용하고 있습니다.

     

    콘솔창에 익셉션이 발생하였고

     

    Failed to connect to database server, 'dmd', on the following host(s): localhost:localhost

     

    이와 같은 메시지를 출력하고 있습니다.

     

    이상태에서 큐브리드 매니저를 오픈하여 데이터베이스를 확인해보면

     

    아래 첨부 파일과 같이 데이터베이스가 존재하지 않는 것처럼 표현됩니다.


List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4285
2256 그랜트 권한 문의 드립니다. 1 키싱유 2014.01.14 10715
2255 큐브리드 64bit 설치 후 실행 문제. 1 초보개발꾼 2014.01.16 12042
» 데이터베이스가 사라집니다. 4 프라우닐 2014.01.16 9829
2253 MS-Access ODBC 연결테이블 2 무말랭이 2014.01.16 12396
2252 CLASS 삭제문의 1 키싱유 2014.01.17 9360
2251 파티션 테이블에 대해서.. 1 알칸펠 2014.01.17 11065
2250 데이터베이스가 사라집니다2 1 프라우닐 2014.01.20 8059
2249 브로커 타임아웃 설정 가능여부 문의 1 장경수 2014.01.20 11125
2248 큐브리드 64bit 설치 후 실행 문제.(2) 1 file 초보개발꾼 2014.01.21 14389
2247 큐브리드 외부 서버 접속 관련 질문입니다, 1 file 프라우닐 2014.01.23 12586
2246 쿼리 실행 오류 문의 1 종이 2014.01.25 11621
2245 JBoss connection pool 설정방법 문의드립니다. 1 secret 땡땡이 2014.01.25 6
2244 ADO update관련 문의드립니다. 1 SD2 2014.01.26 7686
2243 HA 설정 이후 자동시작이 되지 않습니다. 1 김종언 2014.01.27 7178
2242 autoset 631 에서 창에서 큐브리드 매니저 실행시 다음과같은 에러창이 뜸 file 아프리카 2014.02.03 7756
2241 큐브리드 매니저 실행시 에러 1 file 아프리카 2014.02.03 10693
2240 php에서 큐브리드 사용하기 5 파스크란 2014.02.03 10146
2239 여러행에 걸쳐 있는 데이터를 하나의 행으로 모으는게 가능하나요? 1 dashbell 2014.02.03 11925
2238 CUBRID 9.2.0.0.155 한글 깨짐 관련 요청 2 뿡뿡이입니다 2014.02.06 11267
2237 Query Browser Eclipse plug-in 설치시 오류 3 file 규리 2014.02.07 11338
Board Pagination Prev 1 ... 82 83 84 85 86 87 88 89 90 91 ... 199 Next
/ 199

Contact Cubrid

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