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 입니다.

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views49
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. /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'

    Date2023.03.13 Byjmkim Views196
    Read More
  4. 0.5 이하 반올림 함수가 어떻게 되나요?

    Date2009.10.22 Bycoolbyj Views21273
    Read More
  5. 0으로 나눌수가 없는 경우.. 처리를 위해서 디코더나 case를 사용해서 써봤는데

    Date2015.04.01 By거만고양이 Views4253
    Read More
  6. 10.1 ==> 10.2 버전 업그레이드를 준비 중인데요.

    Date2020.03.26 ByPhilip Park Views110
    Read More
  7. 10.1 또는 10.2. 버전에서는 web manager를 지원 안 하나요?

    Date2020.01.10 Byhbg Views141
    Read More
  8. 10.1 버전의 jdbc 드라이버로 9.3 버전 접속이 되는지요?

    Date2020.09.11 Bycoolbyj Views212
    Read More
  9. 10.2 :: jdbc 버그? :: decimal 컬럼에 무조건 정수로 저장되는 상황 발생

    Date2021.02.06 Byrednuts Views410
    Read More
  10. 10.2 :: round 함수에 버그가 있는 것으로 보입니다.

    Date2021.02.04 Byrednuts Views204
    Read More
  11. 10월 10일날 삭제되어 버린 일부 데이터 복구를 하고 싶습니다.

    Date2017.10.16 By나무친구 Views694
    Read More
  12. 11.2 jdbc driver

    Date2022.06.09 By경산손사장 Views236
    Read More
  13. 11.2 path 방법 문의

    Date2022.08.09 By리들러 Views99
    Read More
  14. 11.2버전에서 사용자 스키마에 대해서 궁금한 것이 있습니다.

    Date2023.11.08 By로키 Views138
    Read More
  15. 11버전 설치 후에 cub_auto 프로세스가 보이지가 않습니다.

    Date2022.02.02 Bykikiki767 Views74
    Read More
  16. 13개 이상 AVG 혹은 SUM 사용 시 결과로 Null 값만 나옵니다.

    Date2015.04.10 Byoiuy Views7235
    Read More
  17. 1623글 답변 확인 부탁드립니다.

    Date2013.09.16 By토네이도 Views7865
    Read More
  18. 1895번 추가 문의 드립니다

    Date2014.07.16 Bydgr Views4774
    Read More
  19. 1MB 넘는 데이터 문자열 붙일때 오류

    Date2015.08.04 By빛날구름 Views5439
    Read More
  20. 1대의 서버에 다른 버젼의 큐브리드 추가 설치..실행시 에러에 대해 문의드립니다.

    Date2014.08.08 ByS1000RR Views7695
    Read More
  21. 1대의 서버에 버젼이 다른 cubrid를 설치하려고 합니다.

    Date2011.11.03 By어려운큐브 Views14
    Read More
  22. 2.0에서 2.1로 업그레이드 하려면?

    Date2010.02.04 By초보 Views9803
    Read More
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