Background Image

FORUM


* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.

OS
Window7 32bit, Linux 64bit 등
CUBRID Ver.
[cubrid_rel] 수행 결과
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.

 

에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


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

 

curl -k -X POST "https://localhost:8001/cm_api" -H "Accept: Text/plain;charset=utf-8" -d "{\"task\":\"gettransactioninfo\", \"dbname\":\"test\", \"dbuser\":\"dba\", \"dbpasswd\":\"dbapassword\", \"token\":\"cms_token\"}"
 

위의 명령어 실행 시 다음과 같은 에러가 발생합니다. 해결방법좀 알려주시면 감사하겠습니다.

 

Time: 03/13/23 15:20:05.027 - NOTIFICATION *** file /home/jenkins/workspace/cubrid_release_10.1/src/transaction/boot_cl.c, line 1138  CODE = -971 Tran = -1, EID = 1Program 'tranlist' (pid ****) connected to database server 'test' on the host 'localhost' (port ****).*** The previous error message is the last one. ***

 

  • ?
    큐브리드_김주현 2023.03.14 10:16
    큐브리드를 이용해주셔서 감사합니다

    Program 'tranlist' (pid ****) connected to database server 'test' on the host 'localhost' (port ****) --> localhost서버에서 ''test'라는 DB의 정보를 가져오지 못해 발생하는 에러 입니다.
    localhost서버가 window계열이라면 cmd를 통해, linux계열이라면 ssh를 통해 서 $> cubrid service status 또는 cubrid server status로 'test'가 동작중인지 확인해보세요

    -v 옵션을 붙여서 verbose 내용을 참조하여 에러를 해결해보시기 바랍니다. 감사합니다.
  • ?
    11시38분 2023.03.14 11:12
    동일한 접속 정보로 gettransactioninfo task를 제외한 다른 task들은 잘 동작하는데, 저 gettransactioninfo 에서만 에러가 발생합니다.
  • ?
    kisoo 2023.03.14 12:00 Files첨부 (1)

    메시지는 오류가 아니고 NOTIFICATION 입니다. tranlist가 실행되면 한줄이 log되지요.
    정상으로 실행된듯 합니다.
    참고로 제가 테스트용으로 사용하는 shell script를 첨부하니 참조하세요.
    참고로 tranlist.sh의 line# 19에 cm의 admin password를 1111에서 현재 설정하신 passwd로
    변경하고
    $ sh tranlist.sh localhost admin
    형태로 실행하시면 됩니다.

  • ?
    11시38분 2023.03.14 16:09
    cubrid tranlist 명령어를 실행했을 때에는

    [cubrid@localhost whatap]$ cubrid tranlist test

    Time: 03/13/23 16:27:22.700 - NOTIFICATION *** file /home/jenkins/workspace/cubrid_release_10.1/src/transaction/boot_cl.c, line 1138 CODE = -971 Tran = -1, EID = 1

    Program 'tranlist' (pid 15928) connected to database server 'test' on the host 'localhost' (port 1523).

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

    Enter DBA password:

    Time: 03/13/23 16:27:36.228 - NOTIFICATION *** file /home/jenkins/workspace/cubrid_release_10.1/src/transaction/boot_cl.c, line 1138 CODE = -971 Tran = -1, EID = 2

    Program 'tranlist' (pid 15928) connected to database server 'test_db' on the host 'localhost' (port 1523).

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

    Tran index User name Host name Process id Program name Query time Tran time Wait for lock holder SQL_ID SQL Text

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    1(ACTIVE) DBA localhost.localdomain 13136 broker1_cub_cas_1 0.00 0.00 -1 *** empty ***

    이렇게 결과가 잘 나오는데,

    curl -k -X POST "https://localhost:8001/cm_api" -H "Accept: Text/plain;charset=utf-8" -d "{\"task\":\"gettransactioninfo\", \"dbname\":\"test\", \"dbuser\":\"dba\", \"dbpasswd\":\"dbapassword\", \"token\":\"cms_token\"}"

    로 확인 시

    {

    "__EXEC_TIME" : "15 ms",

    "note" : "Time: 03/13/23 16:09:25.706 - NOTIFICATION *** file /home/jenkins/workspace/cubrid_release_10.1/src/transaction/boot_cl.c, line 1138 CODE = -971 Tran = -1, EID = 1Program 'tranlist' (pid 13540) connected to database server 'test_db' on the host 'localhost' (port 1523).*** The previous error message is the last one. ***",

    "status" : "failure",

    "task" : "gettransactioninfo"

    }

    이렇게 status를 failuer로 반환해줍니다. 큐브리드 매니저에서만 발생하는 에러로 보입니다. 큐브리드 버전은 10.1.4.7800 입니다.

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 admin 2024.04.23 31
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4456
3833 Cubrid DB 서버 swap memory 사용률 관련 질의 1 오라클민 2023.04.12 221
3832 Mac OS 큐브리드 매니저 실행이 안 됩니다. 2 아데산야라이트훅 2023.04.07 148
3831 blob select 1 네오랜덤 2023.04.05 139
3830 dba권한 상속 1 네오랜덤 2023.04.05 84
3829 mac os m1 실행시 무응답 실행안됩니다. 6 시나몬빵 2023.04.04 154
3828 함수/프로시져 구동시 필요한 java버젼 1 네오랜덤 2023.03.31 123
3827 큐브리드 설치 도중 취소한 후, 재설치가 불가능합니다. 5 복괴 2023.03.28 154
3826 where in () 서브쿼리 관련 문의입니다 1 제리리 2023.03.27 114
3825 한글을 입력받아 한글을 리턴하는 CUBRID JAVA StoredProcedure 작성시 window 환경에서 리턴 값이 깨져서 출력 됨 2 두목원슝 2023.03.22 164
3824 큐브리드 DAMO(암호화)관련 버전 호환관련하여 문의드립니다. 3 초코초코초 2023.03.20 230
3823 cubrid manager 에러?? 3 11시38분 2023.03.20 222
3822 PreparedStatement.executeBatch에서 일부 데이터의 오류 시 반환 값 문의 2 새옹지마 2023.03.18 341
3821 db생성경로가 db테이블과 결과조회에 영향을 미치나요? 1 dfdfdd 2023.03.15 120
3820 SQL statement violated NOT NULL constraint 1 yoo 2023.03.15 164
3819 콤마로 split하는 기능 구현 관련 문의 5 플레이어블 2023.03.15 301
3818 insert문에서 replace 1 yoo 2023.03.15 123
3817 cubrid 파라미터 바인딩 3 DJ 2023.03.14 167
» /home/jenkins/workspace/cubrid_release_10.1/src/transaction/boot_cl.c, line 1138 CODE = -971 Tran = -1, EID = 1Program 'tranlist' (pid ) connected to database server 'test' on the host 'localhost' 4 jmkim 2023.03.13 195
3815 macOS CUBRID 다운로드 질문 1 bk9395 2023.03.13 195
3814 CUBRID 11.2 & CUBRID Aadmin 11.1 오류 문의 2 file 붉은구름 2023.03.08 135
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 ... 200 Next
/ 200

Contact Cubrid

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