Background Image

FORUM

조회 수 109 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄


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

OS
CentOS 8.5
CUBRID Ver.
CUBRID 11.2 (11.2.7.0797-b3dcab9
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력


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

 

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


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------
안녕하세요. 초보적인 질문드려 죄송합니다.

cubrid:dba(계정:그룹)으로 cubrid를 설치한 환경에서 test:dba계정으로 접속을 시도하면 아래와 같은 오류가 발생합니다.

cubrid계정으로 csql실행 시에는 문제없이 접속가능합니다.

 

$ csql -udba testdb
Cannot make connection to master server on host "localhost".... Permission denied
Failed to connect to database server, 'testdb', on the following host(s): localhost
 

각 사용자의 그룹정보는 아래와 같습니다.

 

--cubrid 사용자의 id정보

$ id
uid=1005(cubrid) gid=1005(dba) groups=1005(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

 

--test 사용자의 id정보

$ id
uid=1006(test) gid=1005(dba) groups=1005(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

 

 

큐브리드 기동정보는 아래와 같습니다.

 

$ cubrid service status
@ cubrid master status
++ cubrid master is running.
@ cubrid server status
@ cubrid javasp status
@ cubrid broker status
  NAME                   PID  PORT    AS   JQ                  TPS                  QPS   SELECT   INSERT   UPDATE   DELETE   OTHERS     LONG-T     LONG-Q         ERR-Q  UNIQUE-ERR-Q  #CONNECT   #REJECT
===========================================================================================================================================================================================================
* query_editor         13410 30000     5    0                    0                    0        0        0        0        0        0     0/60.0     0/60.0             0             0         0         0
* broker1              13421 33000     5    0                    0                    0        0        0        0        0        0     0/60.0     0/60.0             0             0         0         0
@ cubrid gateway status
++ cubrid gateway is not running.
@ cubrid manager server status
++ cubrid manager server is running.

 

마지막으로 csql.err정보는 다음과 같습니다.


Time: 11/22/23 10:56:35.511 - ERROR *** file /home/jenkins/workspace/cubrid_release_11.2/src/connection/connection_cl.c, line 771 ERROR CODE = -353, Tran = -1, EID = 1
Cannot make connection to master server on host "localhost".... Permission denied

Time: 11/22/23 10:56:35.512 - ERROR *** file /home/jenkins/workspace/cubrid_release_11.2/src/transaction/boot_cl.c, line 1783 ERROR CODE = -677, Tran = -1, EID = 2
Failed to connect to database server, 'testdb', on the following host(s): localhost

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

 

추가적으로 어떤 정보를 확인해야 될까요?

감사합니다

 

  • ?
    엄기호 2023.11.22 11:04
    큐브리드를 이용해주셔서 감사합니다.

    cubrid server status를 해보세요.
    cub_server testdb가 구동이 안된 것 같습니다.

    cubrid server start testdb 를 해주시면 testdb가 구동 될 겁니다.
  • ?
    kisoo 2023.11.22 11:18
    cubrid 계정에서 아래 명령입력해보세요.
    $ chmod 666 /tmp/CUBRID1523
  • ?
    f0081 2023.11.22 11:26
    감사합니다. /tmp아래 소켓파일 권한 문제였네요.

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

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

    Date2020.04.09 Byadmin Views4458
    read more
  3. 테이블 생성시 REUSE_OID 옵션끄기 문의드립니다

    Date2024.01.25 By원샷 Views95
    Read More
  4. 큐브리드 DB에 테이블 생성 후, 저장된 데이터 LIKE 조건 안되는 현상입니다.

    Date2024.01.24 By하코 Views93
    Read More
  5. 실 ip db서버 이중화 관련 질문

    Date2024.01.18 Byzexpand Views92
    Read More
  6. SQLGate for CUBRID (CUBRID v9.3 and later) 폐쇄망 사용법?

    Date2024.01.18 By임소식 Views78
    Read More
  7. 큐브리드 파일 읽기 쓰기 문의

    Date2024.01.18 By임소식 Views348
    Read More
  8. CUBRID Manager 윈도우 버전 배포 해주세요. SQLGate for CUBRID 버그가 많아요.

    Date2024.01.17 By도프 Views105
    Read More
  9. Cubird db 접속 문제

    Date2024.01.17 By폰호두 Views91
    Read More
  10. Django Cubrid DB Conntection Error

    Date2024.01.16 Bythejoin Views98
    Read More
  11. CUBRID DB 접속 불가

    Date2024.01.16 By싸뤼 Views79
    Read More
  12. Cubrid admin localhost 연결 불가

    Date2024.01.12 By싸뤼 Views142
    Read More
  13. 파티션 테이블 성능 문의

    Date2024.01.11 By방글이 Views116
    Read More
  14. 트리거 삭제 오류

    Date2024.01.08 Byslqk135 Views91
    Read More
  15. restoredb 시 log 내용 문의

    Date2024.01.08 By별하나에 Views76
    Read More
  16. 파티션 테이블 대량 DROP 처리 문의 (ibatis)

    Date2024.01.04 By방글이 Views79
    Read More
  17. JAVA SP 에서 addBatch 오류 문의

    Date2024.01.03 By방글이 Views84
    Read More
  18. DB서버 에러로그

    Date2023.12.27 Byleeee Views120
    Read More
  19. 오라클의 SUBSTRB 기능 문의

    Date2023.12.26 By방글이 Views110
    Read More
  20. 멀티host상태에서 admin툴 로그인방법 문의합니다

    Date2023.12.20 By원샷 Views101
    Read More
  21. DB 서버가 start 되지 않아 문의드립니다.

    Date2023.12.19 By그로구 Views129
    Read More
  22. Rocky Linux 9에 큐브리드 9.3버전 설치

    Date2023.12.19 By범이 Views100
    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