<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; Kylin oracle</title>
	<atom:link href="https://www.xifenfei.com/tag/kylin-oracle/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Sat, 07 Nov 2026 15:45:44 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Kylin Linux 安装19c</title>
		<link>https://www.xifenfei.com/2024/11/kylin-linux-19c.html</link>
		<comments>https://www.xifenfei.com/2024/11/kylin-linux-19c.html#comments</comments>
		<pubDate>Fri, 22 Nov 2024 13:03:19 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle安装升级]]></category>
		<category><![CDATA[Kylin oracle]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=11039</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2024/11/kylin-linux-19c.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2024/11/kylin-linux-19c.html" target="_blank">Kylin Linux 安装19c</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>一直的观点,对于oracle没有认证的操作系统,不建议客户在生产环境中实施,但是随着信创的推进,有一些客户需要在麒麟（Kylin Linux）系统v10安装oracle 19c,通过安装过程发现基本上还redhat 8 安装19c一致<br />
<strong>操作系统版本</strong></p>
<pre class="brush: bash; title: ; notranslate">
[root@xifenfei opt]# uname -a
Linux xifenfei 4.19.90-52.15.v2207.ky10.x86_64 #1 SMP Thu Nov 24 21:50:03 CST 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@xifenfei opt]# cat /etc/os-release 
NAME=&quot;Kylin Linux Advanced Server&quot;
VERSION=&quot;V10 (Lance)&quot;
ID=&quot;kylin&quot;
VERSION_ID=&quot;V10&quot;
PRETTY_NAME=&quot;Kylin Linux Advanced Server V10 (Lance)&quot;
ANSI_COLOR=&quot;0;31&quot;
</pre>
<p><strong>需要安装的包</strong></p>
<pre class="brush: bash; title: ; notranslate">
yum install -y bc  \
binutils \
elfutils-libelf \
elfutils-libelf-devel \
fontconfig-devel \
glibc \
glibc-devel \
ksh \
libaio \
libaio-devel \
libXrender \
libX11 \
libXau \
libXi \
libXtst \
libgcc \
libnsl \
librdmacm \
libstdc++ \
libstdc++-devel \
libxcb \
libibverbs \
make \
policycoreutils \
policycoreutils-python-utils \
smartmontools \
sysstat 
</pre>
<p>其他操作系统配置基本上和redhat 8 安装19c一致,这里忽略<br />
<strong>在打patch的过程会遭遇以下错误(缺少fuser命令)</strong></p>
<pre class="brush: bash; title: ; notranslate">
[oracle@xifenfei 36912597]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19c/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19c/db_1/oraInst.loc
OPatch version    : 12.2.0.1.44
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatch/opatch2024-11-20_13-06-19PM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check &quot;CheckSystemCommandAvailable&quot; failed.
The details are:
Missing command :fuser
UtilSession failed: 
Prerequisite check &quot;CheckSystemCommandAvailable&quot; failed.
Log file location: /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatch/opatch2024-11-20_13-06-19PM_1.log

OPatch failed with error code 73
</pre>
<p><strong>需要安装下psmisc包</strong>(在一般默认的redhat，oracle linux系统中已经安装)</p>
<pre class="brush: bash; title: ; notranslate">
yum install -y psmisc
</pre>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/12/fuser-patch-failure.html" rel="bookmark" class="crp_title">fuser命令缺失导致19c打补丁失败</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/10/oracle-%e5%b0%8f%e5%8d%87%e7%ba%a7-opatch-apply%e4%bd%bf%e7%94%a8.html" rel="bookmark" class="crp_title">Oracle 小升级 opatch apply使用</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/redhat-6-1%e5%ae%89%e8%a3%85oracle-11-2-0-3.html" rel="bookmark" class="crp_title">RedHat 6.1安装Oracle 11.2.0.3</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/10-2-0-x%e5%8d%87%e7%ba%a7%e5%88%b010-2-0-5-5.html" rel="bookmark" class="crp_title">10.2.0.x升级到10.2.0.5.5</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/04/extjobo-operation-not-permitted.html" rel="bookmark" class="crp_title">11.2.0.4 打patch遭遇extjobO: Operation not permitted处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/04/win-checkactivefilesandexecutables.html" rel="bookmark" class="crp_title">win平台 UtilSession 失败: Prerequisite check &#8220;CheckActiveFilesAndExecutables&#8221; failed. 处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/01/hgdb-rm-rf-recovery.html" rel="bookmark" class="crp_title">记录一次国产数据库被rm -rf /*删除的救援过程</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/03/win-patch-2-question.html" rel="bookmark" class="crp_title">win平台19c 打patch遭遇2个小问题汇总</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/10/11gr2-gi%e6%89%93psu-oracle_home%e7%a9%ba%e9%97%b4%e4%b8%8d%e8%b6%b3%e6%a1%88%e4%be%8b-%e9%9c%80%e8%a6%8120g%e4%bb%a5%e4%b8%8a%e7%a9%ba%e9%97%b2%e7%a9%ba%e9%97%b4.html" rel="bookmark" class="crp_title">11gR2 GI打PSU ORACLE_HOME空间不足案例&#8212;需要20G以上空闲空间</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/12/goldengate-19-install-patch.html" rel="bookmark" class="crp_title">GoldenGate 19安装和打patch</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/05/%e9%80%9a%e8%bf%87with%e5%ae%9e%e7%8e%b0%e5%af%b9%e8%a1%a8%e9%9d%9e%e6%b3%95dml%e6%93%8d%e4%bd%9c-%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88.html" rel="bookmark" class="crp_title">通过with实现对表非法dml操作&#8212;解决方案_with_subquery=materialize或者psu(2014.07以后)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/04/19c-oui-patch-xml-permission-denied.html" rel="bookmark" class="crp_title">19c 打RU patch遇到oui-patch.xml (Permission denied)问题</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2024/11/kylin-linux-19c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARM Linux（麒麟操作系统）安装Oracle数据库</title>
		<link>https://www.xifenfei.com/2023/07/arm-install-oracle.html</link>
		<comments>https://www.xifenfei.com/2023/07/arm-install-oracle.html#comments</comments>
		<pubDate>Sat, 08 Jul 2023 15:51:33 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle安装升级]]></category>
		<category><![CDATA[ARM oracle]]></category>
		<category><![CDATA[arm 安装oracle]]></category>
		<category><![CDATA[Kylin oracle]]></category>
		<category><![CDATA[oracle arm]]></category>
		<category><![CDATA[信创系统安装oracle]]></category>
		<category><![CDATA[麒麟安装oracle]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10369</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2023/07/arm-install-oracle.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2023/07/arm-install-oracle.html" target="_blank">ARM Linux（麒麟操作系统）安装Oracle数据库</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>Oracle在6月底发布了支持ARM cpu的oracle数据库版本19.9,<a href="https://www.oracle.com/database/technologies/oracle-database-software-downloads.html#19c" title="下载页面" rel="noopener" target="_blank">下载页面</a>,选择Oracle Database 19c for LINUX ARM (aarch64)<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/07/oracle-arm.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/07/oracle-arm.png" alt="oracle-arm" width="1458" height="141" class="alignnone size-full wp-image-10370" /></a><br />
<hr />
安装技术文档参考:<a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/index.html#Oracle%C2%AE-Database" title="database-installation-guide-linux" rel="noopener" target="_blank">database-installation-guide-linux</a>,其中描述目前for arm版本oracle只是认证了操作系统oracle linux（for arm） 8.6+<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/07/arm-liunx.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/07/arm-liunx.png" alt="arm-liunx" width="997" height="472" class="alignnone size-full wp-image-10371" /></a><br />
<hr />
在信创平台中没有oracle linux选项,为了让oracle数据库尽可能的运行在信创的硬件和系统上,我选择的麒麟V10版本进行测试安装测试(该版本未被oracle认证,仅供测试),在安装过程中遇到的几个主要坑分享下:<br />
1. 执行runInstaller报错</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@www.xifenfei.com db_1]$ ./runInstaller 
/u01/app/oracle/product/19c/db_1/perl/bin/perl: error while loading shared libraries: 
libnsl.so.1: cannot open shared object file: No such file or directory
[oracle@www.xifenfei.com db_1]$ perl -version

This is perl 5, version 28, subversion 3 (v5.28.3) built for aarch64-linux-thread-multi

Copyright 1987-2020, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using &quot;man perl&quot; or &quot;perldoc perl&quot;.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
</pre>
<p>这个是由于oracle自带的perl版本依赖包操作系统中不具备,对数据库软件中的perl进行降级即可<br />
2. 安装图形化界面报PRVG-0282 : failed to retrieve the operating system distribution ID错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/07/PRVG-0282.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/07/PRVG-0282.png" alt="PRVG-0282" width="796" height="597" class="alignnone size-full wp-image-10376" /></a><br />
<hr />
由于在该版本的cvu_prereq.xml文件中只是写了oel支持,现在的操作系统是Kylin Linux Advanced Server,不在他的列表里面,因此提示该错误,解决方案参考:19.x:Database software installation failed with &#8221; PRVG-0282 : failed to retrieve the operating system distribution ID &#8221; (Doc ID 2894095.1),设置CV_ASSUME_DISTID解决该问题<br />
<hr />
3. 编译报错类似:<br />
Error in invoking target &#8216;clean rat_on part_on dm_on olap_on sdo_on rac_off dnfs_off&#8217;<br />
Error in invoking target &#8216;mkldflags ntcontab.o nnfgt.o&#8217;<br />
通过查看日志发现是类似以下错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/07/ar.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/07/ar.png" alt="ar" width="1481" height="643" class="alignnone size-full wp-image-10373" /></a><br />
<hr />
确认是由于缺少了/opt/rh/devtoolset-8/root/usr/bin/ar程序导致,对其进行安装然后重试编译(出现错误类似一个个分析处理)<br />
经过上述一系列处理,数据库软件终于顺利安装<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/07/20230708211250.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/07/20230708211250.png" alt="20230708211250" width="911" height="643" class="alignnone size-full wp-image-10377" /></a><br />
<hr />
4. dbca无法正常启动,静默方式直接退出,选择命令方式创建库</p>
<pre class="brush: sql; title: ; notranslate">
--准备好pfile文件,启动库到nomount
CREATE DATABASE armdb
USER SYS IDENTIFIED BY oracle
USER SYSTEM IDENTIFIED BY oracle
LOGFILE GROUP 1 
('/u01/app/oracle/oradata/armdb/redo01a.log') SIZE 200M BLOCKSIZE 512,
GROUP 2 ('/u01/app/oracle/oradata/armdb/redo02a.log') SIZE 200M BLOCKSIZE 512,
GROUP 3 ('/u01/app/oracle/oradata/armdb/redo03a.log') SIZE 200M BLOCKSIZE 512
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 8192
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
EXTENT MANAGEMENT LOCAL
DATAFILE '/u01/app/oracle/oradata/armdb/system01.dbf'
SIZE 700M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
SYSAUX DATAFILE '/u01/app/oracle/oradata/armdb/sysaux01.dbf'
SIZE 550M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
DEFAULT TABLESPACE users
DATAFILE '/u01/app/oracle/oradata/armdb/users01.dbf'
SIZE 5M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '/u01/app/oracle/oradata/armdb/temp01.dbf'
SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
UNDO TABLESPACE undotbs1
DATAFILE '/u01/app/oracle/oradata/armdb/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;


--执行以下脚本
@?/rdbms/admin/catalog.sql
@?/rdbms/admin/catproc.sql
@?/rdbms/admin/utlrp.sql
@?/sqlplus/admin/pupbld.sql
</pre>
<p>上述操作之后,在ARM平台的麒麟V10上安装oracle 数据库的事情基本上完成</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@www.xifenfei.com ~]$ uname -a
Linux www.xifenfei.com.localdomain 4.19.90-24.4.v2101.ky10.aarch64 
#1 SMP Mon May 24 14:45:37 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
[oracle@www.xifenfei.com ~]$ cat /etc/os-release 
NAME=&quot;Kylin Linux Advanced Server&quot;
VERSION=&quot;V10 (Sword)&quot;
ID=&quot;kylin&quot;
VERSION_ID=&quot;V10&quot;
PRETTY_NAME=&quot;Kylin Linux Advanced Server V10 (Sword)&quot;
ANSI_COLOR=&quot;0;31&quot;

[oracle@www.xifenfei.com ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sat Jul 8 23:46:42 2023
Version 19.19.0.0.0

Copyright (c) 1982, 2023, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.19.0.0.0

SQL&gt; select name,created ,PLATFORM_NAME from v$database;

NAME      CREATED
--------- ------------------
PLATFORM_NAME
--------------------------------------------------------------------------------
ARMDB     08-JUL-23
Linux OS (AARCH64)
</pre>
<p>本次测试是基于Oracle官方没有认证的麒麟V10进行,如果希望安装的顺利一些,稳定一些,建议选择Oracle linux（for ARM）8.6+版本</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/01/hgdb-rm-rf-recovery.html" rel="bookmark" class="crp_title">记录一次国产数据库被rm -rf /*删除的救援过程</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/buffer-io-error-on-dev-recovery.html" rel="bookmark" class="crp_title">Buffer I/O error on dev故障数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/07/drop-tablesapce-recovery.html" rel="bookmark" class="crp_title">drop tablesapce 数据恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/oracle-recovery-tools-csc-higher-than-block-scn.html" rel="bookmark" class="crp_title">Oracle Recovery Tools恢复csc higher than block scn</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/ora-01122-ora-01200.html" rel="bookmark" class="crp_title">ORA-01122 ORA-01200故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/kettle-lost-mysql-data-recovery.html" rel="bookmark" class="crp_title">kettle导致MySQL数据丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/mysql-accidental-loss-recovery.html" rel="bookmark" class="crp_title">MySQL数据库文件丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/02/asm-disk-add-vg-extend-lv.html" rel="bookmark" class="crp_title">再一例asm disk被误加入vg并且扩容lv恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/mdf-locked-recovery.html" rel="bookmark" class="crp_title">.mdf.locked加密sql server完美恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/faust-db-recovery.html" rel="bookmark" class="crp_title">.faust加密勒索数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/05/ora-600-16703-vandalism-ora-00704-ora-00922.html" rel="bookmark" class="crp_title">ORA-600 16703故障,客户找人恢复数据库,数据库被进一步恶意破坏&#8212;ORA-00704 ORA-00922</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/eight-db-recovery.html" rel="bookmark" class="crp_title">.eight加密数据库恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2023/07/arm-install-oracle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
