Background Image

FORUM

조회 수 9830 추천 수 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
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 admin 2024.04.23 58
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4464
2215 skip scan 지원여부 문의 2 풀리야 2011.02.11 7942
2214 sql 구문을 백업받고 싶습니다. 3 ddan0701 2013.03.26 7941
2213 R3.1 64비트 서브쿼리 관련 문의 드립니다 2 hj 2011.06.28 7938
2212 oledb 사용시 udl 파일 설정문의 입니다. 1 file 엔디다 2014.10.09 7937
2211 표준SQL 지원 관련 문의 1 뒷태지존 2013.06.25 7933
2210 manager 완전 뚫렸음... [보안 대박 버그 발견] 2 큐브리드호스팅 2011.01.07 7928
2209 CUBRID Manager 9.3.6.007 (64bit) 에서 엑셀다운로드 안됨 1 자유시간 2017.03.28 7922
2208 HA의 slave에 DB풀백업후 다른곳에서 복원시 오류 2 라면 2015.12.17 7922
2207 timestamp 컬럼에 공백 값이 나 null 값을 넣을수 있는 방법이 있는지 궁금합니다. 4 varsql 2020.06.23 7915
2206 Node.js 용 모듈 있나요? 1 데니 2012.07.25 7900
2205 2.1 버전에서 3.1 버전으로 업그레이드시 문제발생했습니다. 도와주세요.. 6 file 양희종 2011.01.29 7894
2204 Connection to ~ refused 관련 재문의드립니다. 2 dashbell 2014.07.21 7893
2203 다른 db의 테이블 조회 2 빛날구름 2015.06.24 7887
2202 네트워크 공사로 서버 ip가 변경 되었습니다. 1 file 이즈 2011.03.01 7886
2201 큐브리드 서비스트레이가 활성화되지 않습니다. 2 그리나다 2014.04.01 7880
2200 [java]supportsGetGeneratedKeys 함수 이상 동작 문의 2 큐브리드하자 2013.07.19 7879
2199 db실행 오류 2 SoMa 2010.12.21 7876
2198 SET SYSTEM PARAMETERS 질문 입니다. 2 phil 2013.10.20 7870
2197 unisql 6 버전을 큐브리드로 마이그레이션 하는 방법을 찾고있습니다. 1 제발요 2010.11.02 7868
2196 1623글 답변 확인 부탁드립니다. 1 토네이도 2013.09.16 7865
Board Pagination Prev 1 ... 85 86 87 88 89 90 91 92 93 94 ... 200 Next
/ 200

Contact Cubrid

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