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. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4443
    read more
  2. 큐브리드 설치 도중 취소한 후, 재설치가 불가능합니다.

    Date2023.03.28 By복괴 Views154
    Read More
  3. where in () 서브쿼리 관련 문의입니다

    Date2023.03.27 By제리리 Views114
    Read More
  4. 한글을 입력받아 한글을 리턴하는 CUBRID JAVA StoredProcedure 작성시 window 환경에서 리턴 값이 깨져서 출력 됨

    Date2023.03.22 By두목원슝 Views164
    Read More
  5. 큐브리드 DAMO(암호화)관련 버전 호환관련하여 문의드립니다.

    Date2023.03.20 By초코초코초 Views230
    Read More
  6. cubrid manager 에러??

    Date2023.03.20 By11시38분 Views221
    Read More
  7. PreparedStatement.executeBatch에서 일부 데이터의 오류 시 반환 값 문의

    Date2023.03.18 By새옹지마 Views340
    Read More
  8. db생성경로가 db테이블과 결과조회에 영향을 미치나요?

    Date2023.03.15 Bydfdfdd Views119
    Read More
  9. SQL statement violated NOT NULL constraint

    Date2023.03.15 Byyoo Views164
    Read More
  10. 콤마로 split하는 기능 구현 관련 문의

    Date2023.03.15 By플레이어블 Views296
    Read More
  11. insert문에서 replace

    Date2023.03.15 Byyoo Views122
    Read More
  12. cubrid 파라미터 바인딩

    Date2023.03.14 ByDJ Views167
    Read More
  13. /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 Views193
    Read More
  14. macOS CUBRID 다운로드 질문

    Date2023.03.13 Bybk9395 Views193
    Read More
  15. CUBRID 11.2 & CUBRID Aadmin 11.1 오류 문의

    Date2023.03.08 By붉은구름 Views135
    Read More
  16. 도커에서 설치시 접속 문의드립니다.

    Date2023.03.07 By핫산 Views385
    Read More
  17. 특수문자 포함 LIKE검색

    Date2023.03.06 BySEO Views151
    Read More
  18. cubrid admin 질문 드립니다.

    Date2023.03.06 By초코초코초 Views119
    Read More
  19. plugin방식 호출

    Date2023.03.04 By네오랜덤 Views137
    Read More
  20. 서브쿼리시 질문드립니다.

    Date2023.02.28 Bydev123123 Views150
    Read More
  21. Cubrid DB 의 sqoop 사용시 옵션 문의

    Date2023.02.28 By망고라떼 Views100
    Read More
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