Error while starting application server services. [message #425059] |
Wed, 07 October 2009 06:19  |
pradeep_kumarp
Messages: 15 Registered: October 2009 Location: Mumbai
|
Junior Member |
|
|
Hi,
Im trying to start the application server services using script (below)
{
sleep 3
net start "OracleorainfraTNSListener"
sleep 2
net start "OracleServiceINFRA"
sleep 11
net start "OracleorainfraProcessManager"
sleep 4
net start "OracleorainfraASControl"
sleep 2
c:
cd E:\OraAS\orainfra\bin
oidmon start
C:\script\sleep 2
oidctl server=oidldapd configset=0 instance=1 start
net start "OracleoraiASProcessManager"
C:\script\sleep 4
net start "OracleoraiASASControl"
C:\script\sleep 2
net start "OracleOraDb10g_home1TNSListenerDB10G"
C:\script\sleep 2
net start "OracleServiceSPMATT"
start E:\OraAS\oraiAS\dcm\bin\dcmctl getstate -v
}
After running the script, im getting the following error:
{
ADMN-202046
The OracleAS Repository API threw an exception when obtaining the connect string
to the Metadata Repository
Resolution:
Check the exception thrown by the Repository API for resolution information.
Some common causes of this problem are as follows:
OID is not running or unavailable
the ias.properties file is misconfigured with incorrect OID connection i
nformation
OID permissions are incorrectly defined
Base Exception:
oracle.ias.repository.schema.SchemaException
Unable to establish connection to the Oracle Internet Directory Server ldap://ro
lta:389/. Base Exception : javax.naming.CommunicationException: rolta:389 [Root
exception is java.net.ConnectException: Connection refused: connect]
}
Kindly help
Pradeep
|
|
|
|
Re: Error while starting application server services. [message #425191 is a reply to message #425059] |
Thu, 08 October 2009 00:07   |
pradeep_kumarp
Messages: 15 Registered: October 2009 Location: Mumbai
|
Junior Member |
|
|
we use opmnctl for stopping AS services (below)
net stop "OracleServiceSPMATT"
{
net stop "OracleOraDb10g_home1TNSListenerDB10G"
E:\oraAS\oraIAS\opmn\bin\opmnctl stopall
net stop "OracleoraiASASControl"
net stop "OracleoraiASProcessManager"
E:\oraAS\orainfra\opmn\bin\opmnctl stopall
net stop "OracleorainfraASControl"
net stop "OracleorainfraProcessManager"
C:\script\sqlplus_INFRA_shutdown.cmd
net stop "OracleServiceINFRA"
}
can you suggest how to use opmnctl for starting the AS services.
i have very limited knowledge on oracle. and also, can you tell what is the cause for such an error. it occured once before, so we stopped AS services using stop script (as above), restarted PC and started services using start script. that error didnt surface again. now we tried all of them but of no use.
kindly help
|
|
|
Re: Error while starting application server services. [message #425377 is a reply to message #425191] |
Thu, 08 October 2009 17:38  |
dlwixon
Messages: 92 Registered: September 2008
|
Member |
|
|
To start the application server the command is
<ORACLE_HOME>\opmn\bin\opmnctl startall
This is the way that I do it so don't know why you are getting the error.
So here is the stop and start:
<ORACLE_HOME>\opmn\bin\opmnctl stopall
<ORACLE_HOME>\opmn\bin\opmnctl startall
Then check the status of the processes:
<ORACLE_HOME>\opmn\bin\opmnctl status
|
|
|