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 43
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4458
3993 db에 저장되어 있는 CLOB 데이터의 위치가 어디로 저장되는지 확인하는 방법이 있을까요? 자바천재 2024.04.25 5
3992 큐브리드 서비스 시작이 안됩니다. file 황남빵 2024.04.24 11
3991 큐브리드 JDBC 드라이버 XA문의 및 큐브리드 분산트랜잭션(XA) 지원 문의 1 몽키스패너 2024.04.24 18
3990 group_concat 변수 리턴 관련... 1 썬더기 2024.04.22 22
3989 기 DB에서 테이블 정보만 가져와서 다른 DB에 생성 1 바다소금 2024.04.22 17
3988 큐브리드 매니저 속도 문의 연동테스트용 2024.04.22 10
3987 cubrid count 속 2 kanin 2024.04.19 27
3986 cubrid 10.1 데이터 덮어쓰기 질문입니다. 4 ysk96 2024.04.18 50
3985 ACTION 명령어? 예약어? 1 투투투투기기 2024.04.17 20
3984 sql 구문 사용시 데이터 타입 decimal일 경우 1 투투투투기기 2024.04.11 30
3983 Regexp_count 4 SEO 2024.04.09 66
3982 큐브리드 메모리 오류 관련 질문 2 file 뚜벅뚜벅 2024.04.09 64
3981 큐브리드 실행이 안되는 이슈 1 file 최현욱 2024.04.09 40
3980 unloaddb & loaddb 관련 질문이 있습니다. 1 543534512 2024.04.06 46
3979 mac m1 다운로드 오류 1 file 혜주냉면 2024.04.05 41
3978 list 함수로 만든 sequence type을 varchar로 변환 문의 1 플레이어블 2024.04.04 36
3977 DECODE, CASE WHEN 사용법 문의 2 핑크팬더 2024.04.03 55
3976 schema 파일 loaddb - 스키마 정보 중복오류 문의 4 daay 2024.03.21 91
3975 object to string 4 네오랜덤 2024.03.20 68
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