I'm trying to install IMC Standard on Red Hat EL 6.1 x64 as the Oracle 11 R2 Linux x64 is the only database that we could use in this environment, but even after a double check on packages requirements (some was missing on RHEL6.1 initial setup and I installed through "yum groupinstall" or rpm -ivh) I still have the error below on "envcheck.sh" or on "install.sh":
Althrough I'm using the "sys" user on database (I'm able to connect to database with "sqlplus sys/password@hp as sysdba)I got the error below (font in red) on envcheck.sh of IMC 5.2 installation files or when I try to use the IMC 5.1 installation files I got a "Connecting to the database failed".
What should I correct or check to be able to install it ?
TIA,
Felicio Santos.
My environment variables:
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
ORACLE_OWNER=oracle
ORACLE_SID=hp
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib
My tnsnames.ora:
# Generated by Oracle configuration tools.
HP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = hp)
)
)
Attached are my rpm -qa result.
envcheck.sh stdout:
Some required packages were not found on your operating system. Please install them by following the instructions in the Red Hat Enterprise Linux Server 6.x Installation Guide.
Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt
Change LD_LIBRARY_PATH=./:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/u01/app/oracle/product/11.2.0/db_1/lib
Execute 'conntest' failed
java.io.IOException: Cannot run program "/tmp/1362775250851/common/lib/conntest_linux" (in directory "/tmp/1362775250851/common/lib"): java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at com.h3c.imc.deploy.Util.executeCommand(Util.java:2685)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:1443)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1323)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1197)
at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282)
at javax.swing.SwingWorker$1.call(SwingWorker.java:291)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at javax.swing.SwingWorker.run(SwingWorker.java:330)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 13 more