Installing 11.2.0.3 Or 11.2.0.4 (32-bit (x86) or 64-bit (x86-64) ) On RHEL6 Reports That Packages "e

本文介绍了解决在Red Hat Enterprise Linux 6上安装Oracle 11.2.0.3或11.2.0.4过程中遇到的缺失包“elfutils-libelf-devel-0.97”和“pdksh-5.2.14”的问题。通过调整安装媒体中的配置文件cvu_config以正确识别RHEL6环境,避免安装程序报错。

 

Applies to:

Oracle Universal Installer - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Oracle Database - Standard Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Linux x86
Linux x86-64

Symptoms

While installing the 11.2.0.3 or 11.2.0.4 (32-bit (x86) or 64-bit (x86-64) database software on a Red Hat Enterprise Linux 6 (RHEL6) server  (x86 or x86-64),
the Oracle Universal Installer (OUI) reports that packages "elfultils-libelf-devel-0.97" and "pdksh-5.2.14" are missing.

In the installActions.log the following output can be observed:

:
INFO: INFO: *********************************************
INFO: INFO: Package: elfutils-libelf-devel-0.97: This is a prerequisite condition to test whether the package "elfutils-libelf-devel-0.97" is available on the system.
INFO: INFO: Severity:IGNORABLE
INFO: INFO: OverallStatus:VERIFICATION_FAILED
INFO: INFO: -----------------------------------------------
INFO: INFO: Verification Result for Node:nodename
INFO: INFO: Expected Value:elfutils-libelf-devel-0.97
INFO: INFO: Actual Value:missing
INFO: INFO: Error Message:PRVF-7532 : Package "elfutils-libelf-devel" is missing on node "nodename"

INFO: INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.
INFO: INFO: Action: Ensure that the required package is installed and available.
INFO: INFO: -----------------------------------------------
:
INFO: INFO: *********************************************
INFO: INFO: Package: pdksh-5.2.14: This is a prerequisite condition to test whether the package "pdksh-5.2.14" is available on the system.
INFO: INFO: Severity:IGNORABLE
INFO: INFO: OverallStatus:VERIFICATION_FAILED
INFO: INFO: -----------------------------------------------
INFO: INFO: Verification Result for Node:nodename
INFO: INFO: Expected Value:pdksh-5.2.14
INFO: INFO: Actual Value:missing
INFO: INFO: Error Message:PRVF-7532 : Package "pdksh" is missing on node "nodename"

INFO: INFO: Cause: A required package is either not installed or, if the package is a kernel module, is not loaded on the specified node.
INFO: INFO: Action: Ensure that the required package is installed and available.
INFO: INFO: -----------------------------------------------
:

Cause

OUI executes the following command:

/bin/rpm -q --qf %{version} redhat-release

and no output is returned (because in RHEL6 the package redhat-release has been replaced by redhat-release-server-6Server).

This causes OUI to believe that the server is not a RHEL server.

As OUI can not identify what type of server it is, OUI performs the default (OEL4) prerequisite checks.

This problem has been logged as unpublished bug 13981169 with Oracle Development.

In addition to this, no RHEL6 prerequisite checks are defined in <path>/database/stage/cvu/cvu_prereq.xml in the 11.2.0.3 media.

Solution


If you have received the 11.2.0.3 or 11.2.0.4 media on DVD, 
it will be necessary to copy the media from the DVD to a disk on the RHEL6 server.
If you have downloaded the 11.2.0.3 or 11.2.0.4 media from My Oracle Support (MOS) then you extract first the software.

Once the software is copied/extracted under  <path>/database, do the following:

1. Change directory to <path>/database/stage/cvu/cv/admin
2. Backup cvu_config

% cp cvu_config backup_cvu_config

3. Edit cvu_config and change the following line:

CV_ASSUME_DISTID=OEL4

to:

CV_ASSUME_DISTID=OEL6

4. Save the updated cvu_config file
5. Install the 11.2.0.3 or 11.2.0.4 software using <path>/database/runInstaller

% cd <path>/database
% ./runInstaller

OUI should now perform the OEL6 prerequisite checks (which are identical to the RHEL6 prerequisite checks) and
no longer report that packages "elfutils-libelf-devel-0.97" and "pdksh-5.2.14" are missing.

 

ATTENTION :


About the 32 bit version of soft (x86), in case the problem remains then :

- restore the original cvu_config file 

- after manually verifying that all of the requirements have been met, 
choose the 'Ignore all' option in the installer and continue with the installation

<think>好的,我需要帮助用户找到特定版本的MS ODBC SQL驱动程序(msodbcsql17 17.6.1.1 x86_64 RPM)的下载地址。首先,我应该回忆微软官方通常如何提供这些驱动程序的下载。 根据用户提供的引用内容,特别是引用[1]和[2],用户之前可能通过本地安装或工具包安装过这个版本。不过,用户现在需要直接的下载链接。微软的ODBC驱动程序通常可以在其官方文档或下载页面找到,但特定旧版本的链接可能不直接可见,需要手动构造URL。 另外,引用[5]提到离线安装的方法,用户可能需要手动下载RPM文件。通常,微软的RPM包存储在特定的仓库中。根据经验,微软的ODBC驱动下载链接可能遵循一定的格式,比如包含版本号和架构。例如,可能类似于https://packages.microsoft.com/rhel/7/prod/msodbcsql17-17.6.1.1-1.x86_64.rpm这样的结构。需要验证这个链接是否有效。 需要注意的是,不同操作系统版本可能有不同的仓库路径。例如,CentOS 7和RHEL 7的路径可能不同,用户需要确认自己的系统版本。此外,如果链接失效,可能需要参考引用[5]中的建议,检查安装源或查找官方文档中的替代源。 总结步骤: 1. 构造可能的URL,基于已知的版本和架构。 2. 建议用户尝试直接访问构造的链接,例如使用wget或curl下载。 3. 如果链接失效,指导用户通过微软的存档或文档查找,或者使用其他方法如离线安装。 同时,需要提醒用户注意依赖项,如引用[4]提到的unixODBC,确保系统已安装所需依赖。另外,符号链接的步骤(引用[3])可能在安装后需要执行,但用户当前的问题主要是下载特定版本的RPM。</think>### 分步解答:获取`msodbcsql17 17.6.1.1 x86_64 RPM`的下载地址 #### 步骤1:手动构造微软官方仓库URL 微软RPM包通常存储在格式化的路径中。根据引用[1]中提到的文件名`msodbcsql17-17.6.1.1-1.x86_64.rpm`,可尝试以下官方仓库地址: ```bash https://packages.microsoft.com/rhel/7/prod/msodbcsql17-17.6.1.1-1.x86_64.rpm ``` 或 ```bash https://packages.microsoft.com/centos/7/prod/msodbcsql17-17.6.1.1-1.x86_64.rpm ``` #### 步骤2:通过`wget`或浏览器直接下载 如果链接有效,可直接使用命令下载: ```bash wget https://packages.microsoft.com/rhel/7/prod/msodbcsql17-17.6.1.1-1.x86_64.rpm ``` #### 步骤3:检查微软文档或存档 若链接失效,访问微软官方文档页面: [Microsoft ODBC Driver for SQL Server - Linux 安装文档](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) 搜索历史版本下载指引,或通过存档服务(如Wayback Machine)查找旧版本链接。 #### 步骤4:离线安装准备(备选方案) 参考引用[5]的离线安装方法: 1. 从第三方资源(如企业内网镜像)获取文件 2. 执行本地安装: ```bash sudo yum localinstall msodbcsql17-17.6.1.1-1.x86_64.rpm ``` #### 验证安装与依赖 安装后检查依赖项(引用[4]): ```bash rpm -qa | grep -E &#39;msodbcsql17|unixODBC&#39; ``` 若缺少`unixODBC`,需提前安装: ```bash sudo yum install unixODBC ``` #### 补充说明 - 符号链接配置(引用[3])通常在安装后自动完成,若遇到连接问题可手动执行: ```bash sudo ln -sfn /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.6.so.1.1 /usr/lib64/libmsodbcsql.so ```
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值