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 31
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4457
3993 tomcat7 + cubrid 1 깽즈야 2012.07.27 91051
3992 원격접속이 안되네요????????? 2 Chris 2013.07.23 89530
3991 현재 연결은 원격 호스트에 의해 강제로 끊겼습니다 1 바람바람 2013.05.29 84893
3990 CUBRID 7.3 + zeroboard XE 관리자 로그인 에러 1 윤희서 2009.01.17 83642
3989 cub_master: Cannot bind local address... aborting.... Address already in use 4 박상현 2008.11.28 83564
3988 큐브리드 다운로더 오류 발생 5 file 차오이 2008.11.22 78494
3987 zeroboard XE 설치시 'database connect fail' error 4 윤희서 2009.01.16 78164
3986 Image 데이터타입 사용방법 3 AD 2008.11.25 73850
3985 clob 문의 1 김해영 2012.11.29 73008
3984 linux server 환경에서 php 버전은 어떤걸로 선택해야하는지. 1 거기 2008.11.30 66366
3983 델파이에서는 어떻게 사용할수 있을까요? 2 이상원 2008.11.29 65567
3982 if exists 조건 처리문? 2 콩이아부지 2013.03.06 63610
3981 update 쿼리를 이용한 시리얼 수정에 관하여 1 인경수 2008.11.27 63454
3980 큐브리드 2008 설치시 윈도우 서비스에 등록되지 않습니다. 3 file 진이 2008.11.22 63170
3979 CUBRID 7.3 + zeroboard XE 관리자 로그인 에러 1 윤희서 2009.01.17 62130
3978 큐브리드 maven repository 관련 문의 3 StoneHouse 2013.04.30 61468
3977 메니저에서 접속 안되는 오류 2 유나인 2013.08.16 61068
3976 .NET DB 제어를 위한 방법. 2 우페 2008.11.23 60878
3975 JDK가 두개 설치된 경우 선택적으로 JDK를 설정 할 수 있는 방법은 없는지요 1 GoFly 2008.11.28 60615
3974 데이터 이관시 소유자 변경 가능한가요??? 1 델몬트 2013.08.08 60066
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