最近有机会在Asianux Server 4 (Hiranya SP2)上面安装EPM 11.1.2.3版本,开始安装就碰到一些问题,记录如下。
问题
运行installTool.sh之后,无法选择planning等组件进行安装,截图如下所示:
点击planning,查看详细信息,有如下的报错:
Errors:
EPMINS-01046: The installation checks required to run EPM System Installer did not succeed. See the Troubleshooting Guide for more information.:
Checking recommended operating system packages
Checking for binutils-2.15.92.0.2; found binutils-2.20.51.0.2-5.34.AXS4-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-69.AXS4-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-i386; Not found. Failed <<<<
Checking for elfutils-libelf-0.97; found elfutils-libelf-0.152-1.0.1.AXS4-x86_64. Passed
Checking for elfutils-libelf-devel-0.97; found elfutils-libelf-devel-0.152-1.0.1.AXS4-x86_64. Passed
Checking for gcc-3.4.5; found gcc-4.4.6-4.AXS4-x86_64. Passed
Checking for gcc-c++-3.4.5; found gcc-c++-4.4.6-4.AXS4-x86_64. Passed
Checking for glibc-2.3.4-2.19-x86_64; found glibc-2.12-1.80.AXS4.5-x86_64. Passed
Checking for glibc-2.3.4-2.19-i686; found glibc-2.12-1.80.AXS4.5-i686. Passed
Checking for glibc-common-2.3.4; found glibc-common-2.12-1.80.AXS4.5-x86_64. Passed
Checking for glibc-devel-2.3.4-x86_64; found glibc-devel-2.12-1.80.AXS4.5-x86_64. Passed
Checking for glibc-devel-2.3.4-i386; Not found. Failed <<<<
Checking for libaio-0.3.105-x86_64; found libaio-0.3.107-10.AXS4-x86_64. Passed
Checking for libaio-0.3.105-i386; Not found. Failed <<<<
Checking for libaio-devel-0.3.105; found libaio-devel-0.3.107-10.AXS4-x86_64. Passed
Checking for libgcc-3.4.5-x86_64; found libgcc-4.4.6-4.AXS4-x86_64. Passed
Checking for libgcc-3.4.5-i386; Not found. Failed <<<<
Checking for libstdc++-3.4.5-x86_64; found libstdc++-4.4.6-4.AXS4-x86_64. Passed
Checking for libstdc++-3.4.5-i386; Not found. Failed <<<<
Checking for libstdc++-devel-3.4.5; found libstdc++-devel-4.4.6-4.AXS4-x86_64. Passed
Checking for make-3.80; found make-1:3.81-20.AXS4-x86_64. Passed
Checking for sysstat-5.0.5; found sysstat-9.0.4-20.AXS4-x86_64. Passed
Check complete. The overall result of this check is: Failed <<<<
Problem: Some recommended packages are missing (see above).
Recommendation: You may actually have installed packages which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the product release notes to find out how to get the missing packages and update the system.
Status: EPMINS-01016: Cannot install the selected component. Click Help to see possible reasons
初步尝试
根据报错内容,初步判断是rpm包的问题。从红旗的光盘找到相应的RPM包,进行安装,如下:
rpm -ivh compat-libstdc++-33-3.2.3-69.AXS4.i686.rpm
rpm -ivh libaio-0.3.107-10.AXS4.i686.rpm
rpm -ivh libgcc-4.4.6-4.AXS4.i686.rpm
rpm -ivh libstdc++-4.4.6-4.AXS4.i686.rpm
rpm -ivh glibc-devel-2.12-1.80.AXS4.5.i686.rpm
但是安装之后,报错同样存在。于是怀疑问题出在操作系统版本上面。
找到一个Oracle Linux 6.5进行测试,安装界面可以正常选择产品。
问题解决
在网上搜索,找到下面文章:
http://blog.chinaunix.net/uid-345389-id-4030261.html
按照其中的说法,对操作系统进行下面修改:
cp /etc/issue /etc/issue_bak
cp /etc/issue.net /etc/issue.net_bak
vi /etc/issue
vi /etc/issue.net
内容修改为:
Oracle Linux Server release 6.3
Kernel \r on an \m
vi /etc/oracle-release
增加内容:
Oracle Linux Server release 6.3
完成操作之后,再打开安装界面,已经可以正常进行产品选择,样子如下图:
至此,问题解决。
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。