adcfgclone.pl Error: missing `server' JVM at libjvm.so

EBS 版本 12.2.6 

操作系统版本:Red Hat Enterprise Linux Server release 7.4 (Maipo)

根据官方文档已经将所需RPM包install完毕,同时已经做完初始化工作,执行克隆报错:

[appldev@ebsdev bin]$ perl adcfgclone.pl appsTier

                     Copyright (c) 2002, 2015 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

        ***********************************************************
        In AD-TXK Delta 7, we recommend you clone the run and patch
        file systems in a single operation using the 'dualfs' option.
        Separate cloning of the run and patch file systems will be deprecated
        ************************************************************

Enter the APPS password : 
Error: missing `server' JVM at `/erp/dev/app/fs1/EBSapps/comn/clone/jre/lib/i386/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
chmod: cannot access ‘/erp/dev/app/fs1/EBSapps/comn/clone/bin/../FMW/tempinfoApps.txt’: No such file or directory

Enter the Weblogic AdminServer password : 
Error: missing `server' JVM at `/erp/dev/app/fs1/EBSapps/comn/clone/jre/lib/i386/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
chmod: cannot access ‘/erp/dev/app/fs1/EBSapps/comn/clone/bin/../FMW/tempinfo.txt’: No such file or directory
Error: missing `server' JVM at `/erp/dev/app/fs1/EBSapps/comn/clone/jre/lib/i386/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
chmod: cannot access ‘/erp/dev/app/fs1/EBSapps/comn/clone/bin/../FMW/EBSDataSource’: No such file or directory

Do you want to add a node (yes/no) [no] : no


Running: Context clone...

ERROR: Context creation not completed successfully.
For additional details review the file /tmp/adcfgclone_37711.err if present.

[appldev@ebsdev bin]$ cat /tmp/adcfgclone_37711.err 
Error: missing `server' JVM at `/erp/dev/app/fs1/EBSapps/comn/clone/jre/lib/i386/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.

 

很奇怪的报错Error: missing `server' JVM ,查找MOS没有找到解决方法,通过错误信息来看,认为是JRE  JDK出了问题。重新安装JDK也是报同样得错误,后查看到了 下文得参考文档:

EBS 12.2.4在centos 7.2上clone的坑出了前面文章提到的操作系统版本问题,还有一个更恶心的bug

BUG描述如下:

EBS 12.2.4在Linux 7(文件系统格式XFS,且挂在点超过1T)会出现上述问题

对于使用Cenos 7的用户需要注意这一点,Cenos 7文件系统默认使用XFS格式

解决方法:

第一种:降低Linux版本,采用Linux 6这种方法没什么好说的

第二种:修改XFS文件系统为ext4

 

发现了 上述描述问题,因此想到自己的操作系统版本及查看磁盘挂载点:

发现使用的文件系统是XFS的格式,因此问题定位解决,更换磁盘格式即可,重装操作系统。

其实一般生产环境不建议安装CentOS操作系统,因为CentOS这一发行版Oracle 官方并没有certified,因此如果出现了系统层面造成的EBS环境问题,Oracle是不支持的。

而平时在RedHat 7.2及以下版本挂载点超过2T也没有问题。

文中标红颜色为参考内容,参考来源(https://blog.csdn.net/li7080301/article/details/78442717

 

(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!

 

你好!关于报错 "error while loading shared libraries libjvm.so" ,这通常是由于缺少 Java 虚拟机(JVM)库文件 libjvm.so 导致的。您可以尝试以下解决方案来解决这个问题: 1. 检查 Java 安装:确保已正确安装 Java 并设置了正确的环境变量。您可以在终端中运行 "java -version" 命令来检查 Java 版本和配置是否正确。 2. 检查库文件路径:确认 libjvm.so 库文件的路径是否正确。您可以通过设置 LD_LIBRARY_PATH 环境变量来指定库文件的路径。例如,如果库文件位于 /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ 目录下,可以运行以下命令: ``` export LD_LIBRARY_PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ ``` 运行上述命令后,再次尝试运行您的程序,看是否解决了问题。 3. 检查依赖关系:使用 ldd 命令检查可执行文件或共享库文件的依赖关系,确认是否有其他缺失的库文件。例如,运行以下命令: ``` ldd /path/to/your/executable ``` 上述命令将显示与可执行文件相关的库文件及其路径。确保所有依赖的库文件都存在并且路径正确。 4.重新安装 Java:如果上述步骤都没有解决问题,您可以尝试重新安装 Java,确保安装过程中没有发生错误。 如果问题仍然存在,请提供更多详细信息,例如您的操作系统、Java 版本以及相关命令的完整输出。这将有助于更好地理解和解决您遇到的问题。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值