installation error in invoking target 'agent nmhs'
781485Jun 25 2010 — edited Apr 27 2012 Dear All,
I am new to this forum and I would like to inquire about the reasons behind a specific installation error of Oracle 11gR2 on Fedora 13 and the way to fix it. The error led to a weired behavior for the EM. I am going to explain everything precisely to flap the correspondence time so please please please bare with me.
I have followed precisely all the pre-requisites for preparing the installation environment (Fedora 13 Linux OS) by following the instructions in the manual that comes on the source installation Disk-1of Oracle 11g R2, like assigning the environment variables, setting kernel parameters, installation of all the required and necessary packages, creating the necessary directories and changing the owner ship, in addition to creation the user 'oracle' and the necessary groups. This installation ends up with a successful working database that can be accessed using sqlplus locally and remotely from another machine. My EM also worked but for a limited period of time for only about 10 to 15 min then after that I cannot access it due to a problem in the agent background process or daemon that is resulted from the error happened during the installation, and need to restart my machine. Here is what happened.
My installation is a stand alone database (database control / console database). Everything went smoothly during the installation except the following error that I couldn't get rid of or fix it, and I just continued the installation by clicking on the continue button of the OUI alert window. The error message on the alert window is:
Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2010-06-24_03-22-15PM.log' for details.
and here is the contenets (error part) of the installActions2010-06-24_03-22-15PM.log file
INFO: /usr/bin/ld: /u01/app/oracle/product/carried(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
*/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so so try adding it to the linker command line*
*/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so: could not read symbols: Invalid operation*
INFO: collect2: ld returned 1 exit status
*INFO: make[1]: --- [u01/app/oracle/product/carried] Error 1*
INFO: make[1]: Leaving directory `/u01/app/oracle/product/carried'
*INFO: make: --- [emdctl] Error 2*
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2010-06-24_03-22-15PM.log' for details.
Exception Severity: 1
INFO: Calling Action unixActions10.2.0.3.0 ; make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /u01/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk
installTarget = all_no_orcl
undoMakeFileName =
installArguments = ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
logFile = /u01/app/oracle/product/11.2.0/dbhome_1/install/make.log
undoTarget =
progMsg = Linking RDBMS Executables
After all the above, I am going to explain here how this error affected the EM. Here is the output of starting the dbconsole:
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
http://bassam-desktop:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control .... started.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Logs are generated in directory /u01/app/oracle/product/carried-desktop_orcl/sysman/log
and here is the output of the status of the dbconsole
$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
http://bassam-desktop:1158/em/console/aboutApplication
EM Daemon is not running.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Logs are generated in directory /u01/app/oracle/product/carried-desktop_orcl/sysman/log
notice the EM Daemon (agent background process) is not running
Becuase of this error, the actual status of the database is not shown up in the EM. For example, if I try to startup my database through the EM, it starts successfully, but its status will not be shown, same thing happens for the listener. Clicking the View Details link in the EM after starting up the database shows up the following:
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jun 26 03:43:36 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> SQL> ORACLE instance started.
Total System Global Area 1489829888 bytes
Fixed Size 1336624 bytes
Variable Size 922749648 bytes
Database Buffers 553648128 bytes
Redo Buffers 12095488 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Agent is Not Running
again notice the last line of the message Agent is not running.
After all the above, I beleive that the installation error is the cause of all that. I would appreciate it if you could help me solving this problem. Thanks.
Bassam A. Al-Khaffaf