Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Agent Configuration Assistant fails on installation

Re: Agent Configuration Assistant fails on installation

From: <peter.peltonen_at_iki.fi>
Date: 2 Aug 2002 09:22:15 GMT
Message-ID: <aidj07$gie$1@oravannahka.helsinki.fi>


koert54 <nospam_at_nospam.com> wrote:
> Had exactly the same problem today on IBM AIX with HACMP and multiple nics

Glad to hear that someone is rambling in the same swamp as I am :) Unfortunate for you, of course...

I think this is _not_ a multiple NIC issue, unless Oracle checks the NIC somehow in hardware level: I shutted down the other NIC with ifconfig and tried the installation again -- same results.

Something network related it must be, yes?

> - add the following lines to sqlnet.ora and run agentctl start
> agentctl.trace_level=16
> dbsnmp.trace_level=16
> -> check the trace files

Okay, so my sqlnet.ora looks like this now:

--<snip>--
NAMES.DEFAULT_DOMAIN = mydomain.dom

NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME) agentctl.trace_level=16
dbsnmp.trace_level=16
--</snip>--

Is it okay? I'll try agentctl starting now...

> In my case it looks the agent tries to create a socket on port 1748 (which
> it uses to communicate with the OMS if i'm not mistaken)... however this
> fails for some reason.

Here's what happened to me:

--<snip>--
[oracle_at_chfiv103 oracle]$ tail

/opt/oracle/product/9.2.0/network/log/dbsnmp.nohp Agent exited at Thu Aug 1 18:58:52 EEST 2002 with return value 55 Could not start agent. Initialization failure

And:

--<snip>--
DBSNMP for Linux 2.4.18-5: release 9.2.0.0.0 - Production on 02-AUG-02 11:53:22 Discovering services on chfiv103.mydomain.dom configured on host addresses {chfiv103.mydomain.dom chfiv103 192.168.172.177 chfiv103}
[0]<main>: Performing discovery on Linux 2.4.18-5
[1]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[2]nmiconf_getAllOracleHomes: Getting list of OracleHomes
[3]nmiconf_getOratabEntries: Getting oratab entries
[4]nmiconf_getOratabFile: Processing prospective ORATAB locations of /var/opt/oracle/oratab /etc/oratabUsing oratab file /etc/oratab
[3]nmiconf_getOratabEntries: Reading /etc/oratab, ORATAB format
[3]nmiconf_getOratabEntries: located service/home pair in oratab == *:/opt/oracle/product/9.2.0
[4]nmiconf_isSIDNew: Detected empty ORACLE_HOME marker for *:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Adding *:/opt/oracle/product/9.2.0 to list of SIDs
[3]nmiconf_getOratabEntries: located service/home pair in oratab == proddb1:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Adding proddb1:/opt/oracle/product/9.2.0 to list of SIDs
[3]nmiconf_getOratabEntries: Looking for match for ORACLE_SID
[4]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: ORACLE_SID == proddb1:/opt/oracle/product/9.2.0
[4]nmiconf_isSIDNew: Duplicate SID detected - (proddb1:/opt/oracle/product/9.2.0 ?= proddb1:/opt/oracle/product/9.2.0)
[4]nmiconf_isSIDNew: - discarding entry for proddb1:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Returning oratab entry list of *:/opt/oracle/product/9.2.0 proddb1:/opt/oracle/product/9.2.0
[2]nmiconf_getAllOracleHomes: OracleHomes located: /opt/oracle/product/9.2.0
[1]nmiconf_discoverHost: Discovered chfiv103.mydomain.dom of type ORACLE_NODE
[2]nmiconf_getDatabaseEntries: Getting list of oracleHomes that contain databases and SIDs
[3]nmiconf_getOratabEntries: Getting oratab entries
[4]nmiconf_getOratabFile: Processing prospective ORATAB locations of /var/opt/oracle/oratab /etc/oratab
[3]nmiconf_getOratabEntries: Reading /etc/oratab, ORATAB format
[3]nmiconf_getOratabEntries: located service/home pair in oratab == *:/opt/oracle/product/9.2.0
[4]nmiconf_isSIDNew: Detected empty ORACLE_HOME marker for *:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Adding *:/opt/oracle/product/9.2.0 to list of SIDs
[3]nmiconf_getOratabEntries: located service/home pair in oratab == proddb1:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Adding proddb1:/opt/oracle/product/9.2.0 to list of SIDs
[3]nmiconf_getOratabEntries: Looking for match for ORACLE_SID
[4]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: ORACLE_SID == proddb1:/opt/oracle/product/9.2.0
[4]nmiconf_isSIDNew: Duplicate SID detected - (proddb1:/opt/oracle/product/9.2.0 ?= proddb1:/opt/oracle/product/9.2.0)
[4]nmiconf_isSIDNew: - discarding entry for proddb1:/opt/oracle/product/9.2.0
[3]nmiconf_getOratabEntries: Returning oratab entry list of *:/opt/oracle/product/9.2.0 proddb1:/opt/oracle/product/9.2.0
[2]nmiconf_getDatabaseEntries: Extracting sids from oratab/sid list...
[2]nmiconf_getDatabaseEntries: - located SID in oratab, processing sid *
[2]nmiconf_getDatabaseEntries: - skipping sid "*" for *:/opt/oracle/product/9.2.0 due to "*"
[2]nmiconf_getDatabaseEntries: - located SID in oratab, processing sid proddb1
[2]nmiconf_getDatabaseEntries: - oracleHome for proddb1 is /opt/oracle/product/9.2.0
[2]nmiconf_getDatabaseEntries: examining sid proddb1 to see if it is OPS database
[4]nmiconf_is_sid_9i_or_greater_ops_db: /opt/oracle/product/9.2.0/bin/srvctl does not exist
[4]nmiconf_is_sid_9i_or_greater_ops_db: "proddb1 in "/opt/oracle/product/9.2.0 is NOT a 9i or greater ops
[3]nmiconf_is_sid_ops_dbname: "proddb1 in "/opt/oracle/product/9.2.0 is NOT a OPS database
[3]nmiconf_add_dbentry: db entry in add_dbentry is proddb1 /opt/oracle/product/9.2.0 ORACLE_DATABASE
[3]nmiconf_add_dbentry: - proddb1 /opt/oracle/product/9.2.0 ORACLE_DATABASE determined unique, adding to list
[1]nmiconf_discoverListenersAndDatabases: Only list of valid potential SIDs are: "{proddb1 /opt/oracle/product/9.2.0 ORACLE_DATABASE}"
[2]nmiconf_loadListenerInfo: Loading Listener info from system...
[3]nmiconf_collectListenerOraFiles: Looking for listener configuration files in System SQLnet path /var/opt/oracle /etc
[3]nmiconf_collectListenerOraFiles: - Looking for listener in /var/opt/oracle
[3]nmiconf_collectListenerOraFiles: - Looking for listener in /etc
[3]nmiconf_collectListenerOraFiles: Listener config files not found in system SQLnet path, continuing...
[3]nmiconf_collectListenerOraFiles: Scanning for listener config files in OracleHomes...
[3]nmiconf_collectListenerOraFiles: - listener file located in /opt/oracle/product/9.2.0
[2]nmiconf_loadListenerInfo: Reading in listener file (/opt/oracle/product/9.2.0/network/admin/listener.ora) from /opt/oracle/product/9.2.0)
[3]nmiconf_readListenerOra: listener_file=/opt/oracle/product/9.2.0/network/admin/listener.ora, listenerOraHome=/opt/oracle/product/9.2.0
[3]nmiconf_readListenerOra: Parsing contents of /opt/oracle/product/9.2.0/network/admin/listener.ora file, pass 1 looking for "(ADDRESS" in records
[3]nmiconf_readListenerOra: - located ADDRESS record for listener, constructing
[3]nmiconf_readListenerOra: - located ADDRESS record for listener, constructing connectable address string
[4]nmiconf_makeListenerAddress: Removing exotic protocol stacks from listener address
[5]nmiconf_getTCPOrIPCAddress: Check if 'localHost' is present in address string[6]nmiconf_isThisHostAddress: Comparing (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)) against set of chfiv103.mydomain.dom chfiv103.mydomain.dom chfiv103 192.168.172.177 chfiv103 for a match
[5]nmiconf_getTCPOrIPCAddress: adding listener address of "(ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521))"
[5]nmiconf_getTCPOrIPCAddress: adding listener address of "(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))"
[3]nmiconf_readListenerOra: assigned listenerName == listener
[3]nmiconf_readListenerOra: name in config == LISTENER
[3]nmiconf_readListenerOra: listener config file == /opt/oracle/product/9.2.0/network/admin/listener.ora
[3]nmiconf_readListenerOra: listener home == /opt/oracle/product/9.2.0[3]nmiconf_readListenerOra: listener_address == (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521))(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)))
[3]nmiconf_readListenerOra: listenerdb_address == (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521))
[3]nmiconf_readListenerOra: Pass 2 looking for "SID_LIST" for listener(s) in /op t/oracle/product/9.2.0/network/admin/listener.ora
[3]nmiconf_readListenerOra: - located extproc for listener "listener", PROGRAM == "extproc"
[3]nmiconf_readListenerOra: - located SID for listener "listener", SID == "PLSExtProc"
[3]nmiconf_readListenerOra: - no global name found for PLSExtProc
[3]nmiconf_readListenerOra: - located SID for listener "listener", SID == "proddb1"
[3]nmiconf_readListenerOra: GLOBAL_DBNAME found for SID proddb1, using proddb1.world
[2]nmiconf_loadDatabaseAliasInfo: Loading database alias information...
[3]nmiconf_collectTnsnamesOraFiles: Looking for TNSNAMES.ORA in system global SQLnet location
[3]nmiconf_collectTnsnamesOraFiles: Finally, looking for TNSNAMES.ORA files in Oracle home list
[3]nmiconf_collectTnsnamesOraFiles: - located /opt/oracle/product/9.2.0/network/admin/tnsnames.ora
[3]nmiconf_readTnsnamesOra: Reading in contents of tnsnames file: /opt/oracle/product/9.2.0/network/admin/tnsnames.ora
[3]nmiconf_readTnsnamesOra: located service INST1_HTTP.MYDOMAIN.DOM, address = (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)))(CONNECT_DATA =(SERVER = SHARED)(SERVICE_NAME = MODOSE)(PRESENTA)(PORT = 1521)))(CONNECT_DATA =(SERVER = SHARED)(SERVICE_NAME = MODOSE)(PRESENTATION = http://HRService)))[3]nmiconf_readTnsnamesOra: located service EXTPROC_CONNECTION_DATA.MYDOMAIN.DOM, address = (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPRO
C)))(CONNECT_DATA =(SID = PLSExtProc)(PRESENTATION = RO)))
[3]nmiconf_readTnsnamesOra: located service PRODDB1.MYDOMAIN.DOM, address = (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = proddb1.world)))[3]nmiconf_readTnsnamesOra: 3 database aliases "{INST1_HTTP.MYDOMAIN.DOM EXTPROC_CONNECTION_DATA.MYDOMAIN.DOM PRODDB1.MYDOMAIN.DOM}" recorded
[2]nmiconf_set_ops_srvname_for_opsdb: dbentries list {proddb1 /opt/oracle/product/9.2.0 ORACLE_DATABASE}
[2]nmiconf_validateListeners: Validating list of listeners uncovered vs the list of databases found
[2]nmiconf_validateListeners: Databases uncovered: "proddb1"
[2]nmiconf_validateListeners: - listener "listener" is configured for SIDs "proddb1"
[2]nmiconf_validateListeners: 1 valid listener(s) processed
[1]nmiconf_discoverListenersAndDatabases: Cross mapping databases to listeners
[1]nmiconf_discoverListenersAndDatabases: - Looking for listener serving "proddb1" of type "ORACLE_DATABASE" in /opt/oracle/product/9.2.0
[1]nmiconf_discoverListenersAndDatabases: - Examining Listener "listener"
[1]nmiconf_discoverListenersAndDatabases: Listener address = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521))(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)))
[1]nmiconf_discoverListenersAndDatabases: SIDs:
[1]nmiconf_discoverListenersAndDatabases: proddb1
[1]nmiconf_discoverListenersAndDatabases: Listener's SID matched!
[1]nmiconf_discoverListenersAndDatabases: - Storing information for this Listener for discovery
[1]nmiconf_discoverListenersAndDatabases: - Getting a database name for the matching SID
[2]nmiconf_getDatabaseServiceName: a global name found for the SID "proddb1", using "proddb1.world"
[2]nmiconf_getDatabaseServiceName: listener adrress list for proddb1 is (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)) )
[2]nmiconf_getDatabaseServiceName: Using constructed TNS connect descriptor (due to match in GLOBAL_DBNAME in listener)
[2]nmiconf_getDatabaseServiceName: - TNSdesciptor is "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)) ) (CONNECT_DATA=(SID=proddb1)(SERVER=DEDICATED)))"
[1]nmiconf_discoverListenersAndDatabases: - adding proddb1.world ORACLE_DATABASE to list of discovered databases using:
[1]nmiconf_discoverListenersAndDatabases: hostName: chfiv103.mydomain.dom
[1]nmiconf_discoverListenersAndDatabases: listener: listener_chfiv103.mydomain.dom
[1]nmiconf_discoverListenersAndDatabases: localAddress: (DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)) ) (CONNECT_DATA=(SID=proddb1)(SERVER=DEDICATED)))[1]nmiconf_discoverListenersAndDatabases: serviceAddress: (DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = chfiv103.mydomain.dom)(PORT = 1521)) ) (CONNECT_DATA=(SID=proddb1)(SERVER=DEDICATED)))
[1]nmiconf_discoverListenersAndDatabases: oracleHome: /opt/oracle/product/9.2.0
[2]nmiconf_createDbListForListeners: Listener Dbs for listener_chfiv103.mydomain.dom ORACLE_LISTENER are proddb1.world
[3]nmiconf_createprintableDbListForListeners: printable Listener dbs for listener_chfiv103.mydomain.dom ORACLE_LISTENER are (PROP=(DBS=proddb1.world))
[2]nmiconf_createPropertyListForDbs: printable property list for proddb1.world ORACLE_DATABASE is (PROP=(LSNRS=listener_chfiv103.mydomain.dom)(ORACLE_HOME=/opt/oracle/product/9.2.0)(ORACLE_SID=proddb1))
[1]nmiconf_discoverExtProcListeners: Checking to see if listener "listener" is already discovered
[1]nmiconf_discoverDataGuardConfiguration: Looking for Data Guard Configuration files...
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[1]nmiconf_discoverDataGuardConfiguration: Processing service chfiv103.mydomain.dom ORACLE_NODE
[1]nmiconf_discoverDataGuardConfiguration: Processing service listener_chfiv103.mydomain.dom ORACLE_LISTENER
[1]nmiconf_discoverDataGuardConfiguration: Processing service proddb1.world ORACLE_DATABASE
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/dbs/dr0proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/database/dr0proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/dbs/dr1proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/database/dr1proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/dbs/dr2proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: Searching for file /opt/oracle/product/9.2.0/database/dr2proddb1.dat
[1]nmiconf_discoverDataGuardConfiguration: No Data Guard configurations discovered
[1]nmiconf_discoverDataGuardConfiguration: Data Guard discovery complete
[2]nmiconf_getOratabFile: Processing prospective ORATAB locations of /var/opt/oracle/oratab /etc/oratab
[2]nmiconf_getOratabEntries: Getting oratab entries
[3]nmiconf_getOratabFile: Processing prospective ORATAB locations of /var/opt/oracle/oratab /etc/oratab
[2]nmiconf_getOratabEntries: Reading /etc/oratab, ORATAB format
[2]nmiconf_getOratabEntries: located service/home pair in oratab == *:/opt/oracle/product/9.2.0
[3]nmiconf_isSIDNew: Detected empty ORACLE_HOME marker for *:/opt/oracle/product/9.2.0
[2]nmiconf_getOratabEntries: Adding *:/opt/oracle/product/9.2.0 to list of SIDs
[2]nmiconf_getOratabEntries: located service/home pair in oratab == proddb1:/opt/oracle/product/9.2.0
[2]nmiconf_getOratabEntries: Adding proddb1:/opt/oracle/product/9.2.0 to list of SIDs
[2]nmiconf_getOratabEntries: Looking for match for ORACLE_SID
[3]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[2]nmiconf_getOratabEntries: ORACLE_SID == proddb1:/opt/oracle/product/9.2.0
[3]nmiconf_isSIDNew: Duplicate SID detected - (proddb1:/opt/oracle/product/9.2.0 ?= proddb1:/opt/oracle/product/9.2.0)
[3]nmiconf_isSIDNew: - discarding entry for proddb1:/opt/oracle/product/9.2.0
[2]nmiconf_getOratabEntries: Returning oratab entry list of *:/opt/oracle/product/9.2.0 proddb1:/opt/oracle/product/9.2.0
t/9.2.0 proddb1:/opt/oracle/product/9.2.0
[1]nmiconf_discoverThirdPartyTargets: Discovering third party services...
[1]nmiconf_discoverThirdPartyTargets: - discoverying services using "nmxwconf.tcl"
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[1]nmiconf_discoverThirdPartyTargets: - discoverying services using "emddiscover.tcl"Warning : Error while sourcing third party discovery file emddiscover.tcl : can't read "tabfile": no such variable
[1]nmiconf_discoverThirdPartyTargets: - discoverying services using "nmiforms.tcl"
[1]nmiconf_discoverThirdPartyTargets: - discoverying services using "cmanager.tcl"
[1]nmiconf_discoverThirdPartyTargets: Completed third party discovery
[2]nmiconf_eliminateInvalidServices: Removing invalid services
[1]nmiconf_discoverThirdPartyTargets: Truncating lengthy service names
[2]nmiconf_truncateServiceNames: getting service type for "chfiv103.mydomain.dom ORACLE_NODE"
[2]nmiconf_truncateServiceNames: getting service type for "listener_chfiv103.mydomain.dom ORACLE_LISTENER"
[2]nmiconf_truncateServiceNames: getting service type for "proddb1.world ORACLE_DATABASE"
[2]nmiconf_truncateServiceNames: getting service type for
chfiv103.mydomain.dom:4scom.fi ORACLE_LISTENER"
[2]nmiconf_truncateServiceNames: getting service type for "proddb1.world ORACLE_DATABASE"
[2]nmiconf_truncateServiceNames: getting service type for "chfiv103.mydomain.dom:4445 oracle_sysman_webserver"
[2]nmiconf_eliminateDuplicateServices: Removing duplicate services
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[1]nmiconf_outputConfigFiles: Storing services.ora in /opt/oracle/product/9.2.0/network/agent/services.ora
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[1]nmiconf_outputConfigFiles: Writting out services discovered of type: ORACLE_NODE
[1]nmiconf_outputConfigFiles: Writting out services discovered of type: ORACLE_LISTENER
[1]nmiconf_outputConfigFiles: Writting out services discovered of type: ORACLE_DATABASE
[1]nmiconf_outputConfigFiles: Writting out services discovered of type: oracle_sysman_webserver
[2]nmiconf_agentOracleHome: Agent's %ORACLE_HOME% is /opt/oracle/product/9.2.0
[1]nmiconf_outputConfigFiles: Services.ora writing finished
[1]nmiconf_outputConfigFiles: Updated snmp_ro.ora
[1]nmiconf_outputConfigFiles: Updated snmp_rw.ora
--</snip>--

I do not see any errors???

> If I stop the snmp daemon (snmpd) of the OS, the agent actually starts but
> complains it can't connect to the master snmp agent - which makes sense
> because I shut it down... however the oracle agent doesn't crash on it like
> it did in 8i ...

> Opening call tommorow after some more testing ...

Let me know how your tests go?

Also let me know if you (or somebody else) can think of what might be wrong with my setup.

Regards,
Peter Received on Fri Aug 02 2002 - 04:22:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US