내맘대로긍정이 알려주는
Oracle 23ai 신기능
무료 세미나 발표자료
다운로드
trending_flat
OS환경 : Redhat Linux 7.6 (64bit)
DB 환경 : Oracle Database 19.3.0.0
에러 : This system is not registered with an entitlement server. You can use subscription-manager to register.
Redhat Linux에서 오라클 preinstall을 위해 yum 명령어 사용시 발생한 메세지
1 2 3 4 5 6 7 8 9 | # yum install -y oracle-database-preinstall-19c Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo> |
해결 방법 : Oracle Yum Repository를 등록
Oracle Yum Repository를 등록
1 2 3 4 5 6 7 8 9 10 11 | # wget http://yum.oracle.com/public-yum-ol7.repo --2020-08-21 10:51:23-- http://yum.oracle.com/public-yum-ol7.repo Resolving yum.oracle.com (yum.oracle.com)... 104.76.75.203 Connecting to yum.oracle.com (yum.oracle.com)|104.76.75.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 16402 (16K) [text/plain] Saving to: ??public-yum-ol7.repo?? 100%[===================================================================================================================>] 16,402 --.-K/s in 0s 2020-08-21 10:51:24 (64.1 MB/s) - ??public-yum-ol7.repo?? saved [16402/16402] |
정상적으로 등록됨
yum 재실행
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # yum install -y oracle-database-preinstall-19c Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. ol7_UEKR5 | 2.5 kB 00:00:00 ol7_latest | 2.7 kB 00:00:00 (1/5): ol7_UEKR5/x86_64/updateinfo | 72 kB 00:00:00 (2/5): ol7_latest/x86_64/updateinfo | 2.9 MB 00:00:01 (3/5): ol7_latest/x86_64/group | 660 kB 00:00:01 (4/5): ol7_UEKR5/x86_64/primary_db | 12 MB 00:00:01 (5/5): ol7_latest/x86_64/primary_db | 36 MB 00:00:04 Resolving Dependencies --> Running transaction check ---> Package oracle-database-preinstall-19c.x86_64 0:1.0-2.el7 will be installed --> Processing Dependency: ksh for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64 --> Processing Dependency: libaio-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64 --> Running transaction check ---> Package ksh.x86_64 0:20120801-142.0.1.el7 will be installed ---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: oracle-database-preinstall-19c x86_64 1.0-2.el7 ol7_latest 19 k Installing for dependencies: ksh x86_64 20120801-142.0.1.el7 ol7_latest 882 k libaio-devel x86_64 0.3.109-13.el7 ol7_latest 12 k Transaction Summary ============================================================================================================================================================= Install 1 Package (+2 Dependent packages) Total download size: 914 k Installed size: 3.2 M Downloading packages: warning: /var/cache/yum/x86_64/7Server/ol7_latest/packages/libaio-devel-0.3.109-13.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYETA Public key for libaio-devel-0.3.109-13.el7.x86_64.rpm is not installed (1/3): libaio-devel-0.3.109-13.el7.x86_64.rpm | 12 kB 00:00:00 (2/3): oracle-database-preinstall-19c-1.0-2.el7.x86_64.rpm | 19 kB 00:00:00 (3/3): ksh-20120801-142.0.1.el7.x86_64.rpm | 882 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 1.2 MB/s | 914 kB 00:00:00 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle" |
이번엔 GPG key 메세지가 발생함
해결 방법 : https://positivemh.tistory.com/649 Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
원인 : Redhat Linux Yum Repository에 없는 패키지를 설치하려해서 발생한 문제
Redhat Linux Yum Repository에 없는 패키지를 설치하려해서 발생한 문제
참조 : https://positivemh.tistory.com/649
'Linux, Unix > Trouble Shooting' 카테고리의 다른 글
Linux 7 Failed to start LSB: Bring up/down net (0) | 2022.02.14 |
---|---|
E297: Write error in swap file (0) | 2021.06.09 |
Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle (0) | 2020.08.21 |
E: Package 'python' has no installation candidate (2) | 2020.06.03 |
-bash: /bin/rm: Argument list too long (2) | 2020.04.24 |