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 51
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4458
3994 "DATABASE 검사" 도무지 끝날 기미가 안 보입니다 5 한종희 2011.08.02 8583
3993 "DBMS, 0, Unknown DBMS error" 요건 무슨 애러인가요?;; 2 eitetu 2011.06.02 14296
3992 "Token length is too long" 오류에 관하여 질문 드립니다. 4 file 김우람 2009.01.09 21478
3991 & 등의 특수문자등이 변환되어 저장되는 경우 1 호랑이야옹 2012.12.28 10681
3990 ' 의 입력 방식이 궁금합니다. 1 이석희 2009.04.10 13422
3989 (1개의 댓글은 작성자가 썼습니다.)비주얼 베이직 큐브리드 연동후 동시에 여러 테이블 보는 방법문의 2 secret 강남우 2012.12.21 58
3988 (Re:) 회원가입이 3명이상 안돼요... 6 딩이 2010.07.08 7595
3987 (python)centOS7 docker 연결 문의입니다. 리얼비 2021.11.01 108
3986 (댓글 질문등록 했습니다.)이전글, 다음글 기능(LAG, LEAD) ORDER BY절 FOR ORDERBY_NUM() 추가해도 그대로 입니다 3 취우다 2017.04.19 5960
3985 (함수)펑션 오류 확인부탁드립니다. 1 초코초코초 2023.02.10 102
3984 *variable* 에러 1 hwon 2013.06.14 11619
3983 ++ cubrid server start: fail 2 file 토네이도 2013.09.13 13701
3982 -74 오류 조치 방법 1 덜쇠 2013.08.07 7643
3981 .AccessViolationException (C#) 1 swift 2021.06.03 220
3980 .NET 4.5 에서의 NHibernate 문제, .NET 4.0 에서 NHibernate + TransactionScope 활용 문제. 1 websiter 2017.06.09 2057
3979 .NET DB 제어를 위한 방법. 2 우페 2008.11.23 60878
3978 .net db목록 관련 질문 드립니다. 4 파인 2021.03.05 134
3977 // 를 사용하고 싶습니다. 1 죽통군 2010.02.10 9583
3976 /etc/hosts 파일 수정 1 secret chocob 2014.10.13 13
3975 /etc/rc3.d/S98cubrid 화일 좀 바꿔주세요 1 꽁꽁단무지 2017.01.25 12246
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