pdksh missing from RHEL 6 and CentOS 6?
According to this article "Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6":
The failure for the "pdksh" package can be ignored because we installed the "ksh" package in its place
On my fairly standard OEL 6.3 machine, ksh was already installed as part of the build, but you may have to do a sudo yum install ksh
to install it.
Our DBAs also found this article which may be of use:
Installing "11.2.0.3 32-bit (x86)" or "64-bit (x86-64)" on RHEL6 reports that packages elfutils-libelf-devel-0.97
and pdksh-5.2.14
are missing.
Applies to
- Oracle Server - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
- Oracle Universal Installer - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
- Oracle Server - Standard Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
- Linux x86
- Linux x86-64
Symptoms
While installing
- 11.2.0.3 32-bit (x86) database software on RHEL6 x86 server
- 11.2.0.3 64-bit (x86-64) database software on RHEL6 x86-64 server
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
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
Solution for 11.2.0.3 64-bit (x86-64)
If you have downloaded the 11.2.0.3 media from My Oracle Support (MOS) and extracted the software to <path>/database
, do the following:
- Change directory to
<path>/database/stage/cvu/cv/admin
- Backup cvu_config
cp cvu_config backup_cvu_config
- Edit cvu_config and change the following line
CV_ASSUME_DISTID=OEL4
toCV_ASSUME_DISTID=OEL6
- Save the updated
cvu_config
file - Install the 11.2.0.3 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
NOTE
If you have received the 11.2.0.3 media on DVD, it will be necessary to copy the media from the DVD to a disk on the RHEL6 server (so that you can follow the steps above)
Solution for 11.2.0.3 32-bit (x86)
As the cvu_prereq.xml
file for 11.2.0.3 32-bit (x86) does not reference RHEL6 or OEL6, the above workaround can not be used.
After manually verifying that all of the requirements have been met, choose the Ignore all option in the installer and continue with the installation.
I was under the impression that pdksh was not POSIX compliant, and with the release of open source AT&T KSH, there was significant movement from pdksh to ksh. Just my $0.02
AT&T ksh is licensed by the Eclipse Public License 1.0 (EPL-1.0).