Background Image

FORUM

2023.08.23 10:01

Docker

조회 수 254 추천 수 0 댓글 4
?

단축키

Prev이전 문서

Next다음 문서

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


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

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


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

 

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


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

Docker Hub에서 Cubrid 최신버전(11.2)의 Image를 생성 후 다음과 같은 명령어로 실행하였습니다.

 

docker pull cubrid/cubrid:latest

 

Mac OS - M1)  docker run -it --rm --platform linux/amd64 --name cubrid-test -e "CUBRID_DB=test" cubrid/cubrid:latest

Linux)               docker run -it --name cubrid-test -e "CUBRID_DB=test" cubrid/cubrid:latest

 

 

실행 결과, 아래와 같은 메세지가 출력되며 컨테이너가 종료됩니다.

 

Initializing database 'test'

Creating database with 128.0M size using locale en_US. The total amount of disk space needed is 1.1G.

 

CUBRID 11.2

 

@ cubrid broker start

++ cubrid broker start: success

@ cubrid master start

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

cub_master: Cannot bind local address... aborting.... Permission denied

 

 

테스트 환경은 Mac OS (M1) 와 Linux 운영체제이며 테스트 결과 동일한 오류가 발생하였습니다.

 

어떤 부분의 수정이 필요한지 도움 부탁드립니다. 감사합니다.

 

  • ?
    sj.han 2023.08.23 10:35
    https://www.cubrid.com/qna/3801655
    위의 URL 댓글에 남겨주신 방법을 시도해보았지만 같은 오류가 발생하였습니다.
  • ?
    송원룡 2023.08.23 15:05
    안녕하세요.
    큐브리드를 이용해주셔서 감사합니다.

    해당 오류 자체는 CUBRID가 설치된 계정에서 /tmp에 접근하는 권한이 없기 때문에 발생합니다.
    cub_master 프로세스의 소켓 파일은 /tmp에 생성되는데, 접근 권한이 없으면 위와 같은 에러가 발생하게 됩니다.
    그리고 dockerfile을 확인해본 결과, /tmp에 대한 권한 변경이 없는 것을 확인하였습니다.

    빠르게 조치할 수 있도록 하겠습니다.
    감사합니다.
  • ?
    배서진 2023.08.23 15:38
    오류 조치 전까지 아래 예시와 같이 환경 변수 경로를 변경하여 실행하시면 됩니다.

    docker run -it --name cubrid-test -e "CUBRID_DB=test" -e "CUBRID_TMP=/home/cubrid/CUBRID/var/CUBRID_SOCK" -e "TMPDIR=/home/cubrid/CUBRID/tmp" cubrid/cubrid:latest
  • ?
    송원룡 2023.08.24 10:31
    안녕하세요
    docker image 수정 및 변경이 완료 되었습니다.
    기존에 사용하셨던 CUBRID 컨테이너와 docker image를 제거하신 후, 다시 docker pull & docker run을 수행하시어 컨테이너를 재생성 해보시길 바랍니다.

    감사합니다.

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

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

    Date2020.04.09 Byadmin Views4458
    read more
  3. 저장프로시저 실행관련 문의

    Date2023.11.08 Byf0081 Views138
    Read More
  4. 다른 소유자 테이블 검색 권한

    Date2023.11.08 By박혀누 Views142
    Read More
  5. [CUBRID Admin] 사용자의 테이블 권한 편집

    Date2023.11.06 Bytree1891 Views97
    Read More
  6. 3909번 답변 좀 부탁드립니다.

    Date2023.11.06 Byf0081 Views91
    Read More
  7. [CUBRID Admin] 테이블 컬럼 순서 변경 불가

    Date2023.11.05 Bytree1891 Views178
    Read More
  8. 시스템 카탈로그 조회 외

    Date2023.11.01 Byf0081 Views121
    Read More
  9. 시리얼 생성 시 class_name, attr_name, started 컬럼 값을 변경하고 싶습니다.

    Date2023.11.01 Bygetpost Views111
    Read More
  10. cubrid 9.3.1 설치해서 원격으로 접속하고자 설치했는데 에러가 뜹니다

    Date2023.10.27 ByXstar Views97
    Read More
  11. loaddb 실행 중 발생하는 오류에 대해서 문의 드립니다.

    Date2023.10.19 By뚜벅뚜벅 Views102
    Read More
  12. 큐브리드 매니서 실행 문의

    Date2023.10.19 By마리오 Views96
    Read More
  13. 큐브리드 DB가 실행되지 않는 것 같습니다.

    Date2023.10.18 By뚜벅뚜벅 Views123
    Read More
  14. ===<ResultofSELECTCommandinLine1>=== 등의 출력 없이 결과값만 반환받고 싶습니다.

    Date2023.10.18 Byf0081 Views93
    Read More
  15. 가로 데이터 세로로 조회

    Date2023.10.18 ByGgyak Views120
    Read More
  16. 테이블별 row 개수를 조회하는 쿼리

    Date2023.10.18 Bycncn Views111
    Read More
  17. [ADO.NET] Syntax error: unexpected

    Date2023.10.17 Bytree1891 Views152
    Read More
  18. 큐브리드매니저 패스워드 변경 문의건

    Date2023.10.16 Byyurrrr Views102
    Read More
  19. Db프로시져 스케쥴 실행 성공 리포트나 로그 결과른 보고싶습니다

    Date2023.10.16 ByRoy Views105
    Read More
  20. db 데이터용량을 조회하는 쿼리

    Date2023.10.11 Bycncn Views117
    Read More
  21. 특정 값 우선 정렬

    Date2023.10.11 Bydrunkenascii Views66
    Read More
  22. 이기종간 DB Link 문의 드립니다.

    Date2023.09.26 Bykikiki767 Views104
    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