Database instance unavailable

Hi all,
I am getting an exception : Database instance unavailable when i want to execute following command
emca -config dbcontrol db
emca -config dbcontrol db
STARTED EMCA at May 24, 2013 3:24:28 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: hms
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
        at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
        at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
        at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
        at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)I already recreated repository twice.
Thanx

[root@iaf-db ~]# export oracle_sid=hms
[root@iaf-db ~]# echo $oracle_sid
hms
[root@iaf-db ~]# emca -config dbcontrol db
STARTED EMCA at Jun 5, 2013 9:43:05 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: hms
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
        at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
        at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
        at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
        at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
EMCA LOG
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: hms
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database null : iaf-db
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: iaf-db
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORT.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Couldn't get listener port. File /app/oracle/product/11.2.0/dbhome_2/iaf-db_null/sysman/config/emoms.properties does not exists
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: hms, oracleHome: /app/oracle/product/11.2.0/dbhome_2, and user:
Jun 5, 2013 9:43:08 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: ORA-01031: insufficient privileges
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
     at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
     at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:973)
     at oracle.sysman.emcp.util.GeneralUtil.initSQLEngineLoacly(GeneralUtil.java:445)
     at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:637)
     at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:118)
     at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
     at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
     at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)
     at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
     at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)

Similar Messages

  • Enterprise Manager is not able to connect to the database instance. The sta

    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Listener is shown as unavailable.
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 11:52:40
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=freds-server.i-surname.co.uk)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-NOV-2012 11:50:02
    Uptime 0 days 0 hr. 2 min. 37 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/11g/network/admin/listener.ora
    Listener Log File /opt/oracle/diag/tnslsnr/freds-server/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "GWORCL.i-surname.co.uk" has 2 instance(s).
    Instance "GWORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    Service "GWORCLXDB.i-status.co.uk" has 1 instance(s).
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I suspect that this is not just an OEM issue.
    see
    Listener working but not working for Enterprise manager oracle 11gr2 Linux.
    for configuration files
    Edited by: Neill_R on Nov 27, 2012 11:51 AM

    This was solved by : Osama_mustafa
    in the general questions forum
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create

  • Agent Connection to Instance Unavailable

    Win2k3 64 bit
    Oracle Database 10g Release 10.2.0.5.0 - 64bit Production
    I brought up a new 10.2.0.5.0 db on Win2k3 64 bit server. Everything is working fine, at least it seems so. This server has been running for 2 months now and this issue kept coming up in the last 2 months.
    Database Instance status is Open
    Listener status is Up
    General status is Up
    Agent Connection to Instance is Unavailable.
    Users SYSMAN and DBSNMP are OPEN.
    This will be the 3rd time in the last 2 months if I rebuild EMCA again.
    Is anyone else besides me experiencing this issue? Why is this happening and how do I fix it permanently?

    1.Post the output of :
    SQL> select global_name from global_name;
    SQL> show parameter db_domain;
    2.lsnrctl service
    3.lsnrctl status
    4.Did you change the hostname?
    5.Is timezon of agent and console the same?
    6.In the file $AGENT_HOME/sysman/config/emd.properties, make sure the following parameters are correct. Obtain the values from $OMS_HOME/sysman/config/emd.properties
    1. REPOSITORY_URL
    2. emdWalletSrcUrl
    3. emdWalletDest (ensure that this destination is present on your management server).
    7.If you're using Data Guard in 11g for primary/standby configuration, you may want to check the Data Guard configuration status. With this type of error, it's usually caused by the database parameter setting for log archive that differs with the Data Guard config for log transport and apply. For example, if the local archive log destination on the primary is pointing to the standby site instead of local archive directory (or local flash_recovery_area), The GC will generate this error and blank out the options for database instance in GC.
    I am just pasting the above texts from different forum link when I just said "Agent Connection to Instance Unavailable" to google.
    Regards
    Girish Sharma

  • Diagnosing an ASM space issue for a primary and a standby database instance with external redundancy.

    I've received an alert from Enterprise manager saying "Disk Group DATA_SID requires rebalance because at least one disk
    is low on space". My colleague who I would go to with this question is unavailable, so this is a learning opportunity
    for me. So far google and Oracle documentation have provided lots of information, but nothing that answers my questions.
    I've run the following query on both the primary and standby databases ASM instances:
    select name, disk_number, sector_size,os_mb, total_mb, free_mb, redundancy from v$asm_disk;
    On the primary I get 4810M Free space and 18431M Total Space
    on the standby I get 1248M Free space and 18431M Total Space -- this is the one that complained via OEM
    When I run the following query in the database instance:
    select sum(bytes)/1024/1024 MB from dba_segments;
    I get 3736.75M as a result.
    My questions are:
    1. Will OEM's suggestion to rebalance the disk actually help in this situation since the instance is set up with external redundancy?
    2. If I've got 18G of space and only 3.7G of data, why is OEM complaining?
    3. How can I reclaim what I presume is allocated but unused space in my problem disk group?
    4. How can I determine what extra data the standby has that the primary doesn't since both have the same total space allocation, but different amounts of free space?

    Thank you for the reply. That link is very good.
    We are an 11.1 version of our database. Linus is OEL 5.6.
    So, looking at the portion of the link that refers to 'Add Standby database and Instances to the OCR' - If we use SRVCTL to give the STANDBY the role of ‘physical_standby’ and the start option of ‘mount’, what effect will that have if the STANDBY becomes our PRIMARY?
    Would these database settings need to be modified manually with SRVCTL each time?
    We understand why the instance is not starting when the node is rebooted, we are looking for a best practice of how this is implemented.
    Thank you.

  • Newbies problem : Infrastructure database is unavailable, pls help..

    Hi All,
    I am new in IAS. I am trying to install IAS 10g (9.0.4), on WIn2000. both IAS & Infra in same server, one Database.
    It used to be running, but today it won't start.
    Here is the error :
    Application Server Control :
    Status = Down
    Farm=Infrastructure database is unavailable
    Components :
    Forms -> Unavailable
    OC4J_BI_Forms -> Unavailable
    Reports Server: rep_sysloginfra -> Status = [inprogress, timer symbol] ... this is forever...
    When I Click Logs ->
    Error
    Error displaying Log Files page. Failed to initialize configuration management user session.. Database operation failed.
    Root Cause: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=151000065)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    Resolution: . Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=151000065)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    Still in Application Server Control, When I click Forms I see this error on screen :
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.forms.em.FormsConfigResource.getDefaultSection(Unknown Source)
         at oracle.forms.em.FormsConfigResource.getAllowNewConnectionsEntity(Unknown Source)
         at oracle.forms.em.FormsResources.getAllowNewConnections(Unknown Source)
         at forms.formsStatusFrame._jspService(_formsStatusFrame.java:127)
         [forms/formsStatusFrame.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:
    317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.forms.em.FormsConfigResource.getDefaultSection(Unknown Source)
         at oracle.forms.em.FormsConfigResource.getEmMode(Unknown Source)
         at oracle.forms.em.FormsResources.getResponseTime(Unknown Source)
         at forms.formsResponseFrame._jspService(_formsResponseFrame.java:129)
         [forms/formsResponseFrame.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    What should I do ?
    Thank you for your help,
    Krist

    Hi,
    I am having the same problem posted in the thread. I read through the help and have tried to start all the processes, and then one at a time, but it has not helped. I still get the same error shown below. Besides a complete uninstall and reinstall of Oracle, is there anything I can do to fix this problem?
    Please, any help would be greatly appreciated.
    Thanks,
    D.
    oracle@Appserv1 oracle]$ /home/oracle/OraHomeAS/opmn/bin/opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================opmn id=Appserv1:6200
    0 of 2 processes started.
    ias-instance id=infra.appserv1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ias-component/process-type/process-set:
    OC4J/OC4J_SECURITY/default_island
    Error
    --> Process (pid=0)
    failed to start a managed process because a dependency check failed
    oid dependency failed
    OID
    Log:
    none
    --------------------------------------------------------------------------------ias-component/process-type/process-set:
    OID/OID/OID
    Error
    --> Process (pid=4066)
    failed to start a managed process after the maximum retry limit
    Log:
    /home/oracle/OraHomeAS/opmn/logs/OID~1
    [oracle@Appserv1 oracle]$

  • Enterprise Manager not able to connect to the Database Instance

    After logging into the OEM as a SYS user , I was able to mount the database . The Database status shown to me as below,
    Listener - up
    Agent Connection to the Instance - unavailable
    Database instance- down - message - Enterprise Manager is not able to connect to the database instance.
    After that I tried to connect to the database through sql developer , I was able to connect using connection for the SYS user and able to run the queries .d
    So How can I be able to connect to the Database Instance using OEM ?
    Please suggest me what to do or what to check ...
    Your help will be appreciated...

    965493 wrote:
    emoms error code as below..
    2012-10-17 02:22:35,703 [shutdownHookThread] ERROR em.notification unregisterOMS.1438 - Error unregistering: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))ORA-12514 ALWAYS only occurs due to a problem on DB Server system.
    One cause of this problem is when the Oracle database is down & needs to be started.
    A remote client send a request to the Listener asking to be connected to a specific service.
    If/when the listener does not know anything about that service, the listener responds with ORA-12514
    post results from the following two OS commands:
    lsnrctl status
    lsnrctl service
    Since every connection request to the listener gets logged, listener.log file will contain a line with 12514 as status code.
    This line contains valuable debugging details. So post this line & surrounding lines.
    for additional debugging suggestions read the URL below:
    http://edstevensdba.wordpress.com/2011/03/19/ora-12514/

  • Agent cannot connect database instance

    Hi all,
    I have a problem with my DB agent. it didn't upload XML data correctly, so I coulden't see updated information in first page of EM ( it doesn't show cpu usage, Active Sessions, Listener properties,...).
    when I checked the logs, I found that emagent.trc shows this error:
    "exceed max amount of upload data: 77 files, 52M, disabling collections
    warn : collector : disable collector"
    then I run this command from agent home :
    # emctl upload agent
    after that all XML files uploaded successfully but raised another problem. when I check database properties in EM, it shows " METRIC COLLECTION ERROR " and database instance is unavailable! I check the emagent.log again, it shows this error :
    " thread-4133988016 traget {DB name} is broken, connot compute dynamic properties in time"
    and agent doesn't upload XML pending files again!
    Now, what should I do? Plz, help me.
    ( I use Oracle Database 10g on Suse Linux 10.2)
    Edited by: user8630690

    Dear Rajesh,
    when I run 'emctl status agent' , it shows everything correct except these two parts :
    last successful upload : none
    Total MB of XML files uploades so far : none
    and 'number of XML files pending upload' shows that there is some files that haven't uploaded still.
    I checked 'Oracle Enterprise manager : b28199 ' document and I found a bug on EM ( Oracle Bug #5179581 ). the suggested solution was :
    1. Click on the Monitoring Configuration link (under the  Related Links section on the plug-in target home page).
    2.Reenter the encrypted properties.
    3.Click OK.
    I did it, but I got this error : "target DB is broken, cannot compute dynamic properties in time "
    also when I check system processes with "top", it shows that emagent is using cpu 100%.
    I don't understand why agent cannot connect instance!
    any advice?

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • RFC Connection Error during Web AS ABAP Database Instance

    I keep getting RFC Connection error installing the database instance.  The following are the pertinent logs:
    INFO 2007-05-09 20:10:04
    Working directory changed to C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB.
    INFO 2007-05-09 20:10:04
    Output of C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat" is written to the logfile r3trans.exe.log.
    INFO 2007-05-09 20:10:22
    Execution of the command "C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat"" finished with return code 0. Output: This is C:\usr\sap\X22\SYS\exe\run\r3trans.exe version 6.13 (release 640 - 03.06.05 - 17:04:00).unicode enabled versionC:\usr\sap\X22\SYS\exe\run\r3trans.exe finished (0000).
    INFO 2007-05-09 20:12:23
    RFC parameter CLIENT set to value 000.
    INFO 2007-05-09 20:12:23
    RFC parameter USER set to value DDIC.
    INFO 2007-05-09 20:12:23
    RFC parameter LCHECK set to value 1.
    INFO 2007-05-09 20:12:23
    RFC parameter PCS set to value 1.
    INFO 2007-05-09 20:12:23
    RFC parameter LANG set to value EN.
    INFO 2007-05-09 20:12:23
    RFC parameter ASHOST set to value cix22.
    INFO 2007-05-09 20:12:23
    RFC parameter SYSNR set to value 00.
    INFO 2007-05-09 20:12:23
    RFC connection information checked successfully.
    ERROR 2007-05-09 20:12:24
    FRF-00007  Unable to open RFC connection.
    I tried the following fixes spread across different threads in this Expert Forums:
    1. Someone said network problem.  I rebooted, restarted the install and even redo it. 
    2.  Another suggestion was to use caps on the password.  Didnt work.
    3.  One suggestion was to update the keydb.xml file.  However, I could find such property name:
    search for the table t_SAPComponent_SAPSystemLogon_SHARED
    then look for <fld name="pPW">, <properties>,
    <property name ="GUIENG_USER_INPUT" and set the value
    "GUINEG_TRUE" to "GUIENG_FALSE".
    4. I even used the ddic password 19920706 which is supposed to be the default.
    5. Restarted the instance and applied all the fixes above.
    Does anyone know what is going on base on the logs above?  Thanks.

    try moving all your install disk onto local file system then rerun the install. That might work....

  • Problem with database instance installation

    Hi@all,
    I'm dealing with the installation of the sap solution manager 3.2 SR1.
    The platform is a win 2000 server, I use Oracle as the database.
    Oracle was installed successfully and the installation of the central instance terminated without errors.
    Now I try to install the next step, the database instance.
    I always choosed the standard parameters, except for I choosed no domain installation and unchecked using SLD.
    Nevertheless, the installation procedure stops at step 16 with the following error log entry (partially translated from german to english):
    System call failed. Error 1332 (Allocations of account names and safety identifications were not accomplished.
    ) in execution of system call 'LookupAccountName' with parameter (NULL, Administrators, ...), line (305) in file (synxcaccmg.cpp).
    I've attached the full logfille here.
    Looks like sapinst cannot get the system user parameters?
    How could I solve this? Any idea?

    This was the clue
    I read through the whole planning and preparation tutorial and through the preinstallation and installation tutorial.
    There's no recommondation to have the english os version installed.
    But better such an easy problem instead of a difficult one
    Thanks a lot!

  • Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.

    Dear all,
    I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
    error is:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    It shows that agent is connected, database and listener is up.
    I did recreation, dropping and recreating with emca, but no success.
    Did anyone have similar problems with em console?
    Regards,

    You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
    If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance".

  • Enterprise manager is not able to connect to database instance

    Hi
    I am having a problem with Oracle EM. I would appreciate very much if anyone can help me.
    I installed Oracle on XP which runs on virtual pc on XP as well. Everything is fine, I can connect to database with sqlplus, and there were no errors during installation.
    But the problem is that, when I try to connect to database with EM, it says:
    Enterprise manager is not able to connect to database instance . The state of the components are listed below.
    Can anoyone help me?

    user10637311 wrote:
    When you want OEM DB , your existing DB should be created by DBCA or if suppose manually creaed DB then you have to configure that DB to EM by
    "emca -config dbcontrol db -repos create". for these two cases istener should be running.
    emctl start dbconsole -> to start dbconsole service
    emctl status dbconsole-> status of servicesI am sorry, I was looking at $ORACLE_HOME\admin . And in the proper path, both listener.ora and tnsnames.ora do exist.
    emca -config dbcontrol db -repos create :
    <last part>:
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollog
    s\emca\orcl\emca_2010-02-18_02-01-40-AM.log.
    Feb 18, 2010 2:02:46 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
    cl\emca_repos_create_<date>.log for more details.
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
    a_2010-02-18_02-01-40-AM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\product
    \10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-02-18_02-01-40-AM.log for more deta
    ils.
    C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
    cl\emca_repos_create_<date>.log:
    Check if repos user already exists.
    old 6: WHERE username=UPPER('&EM_REPOS_USER');
    new 6: WHERE username=UPPER('SYSMAN');
    old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
    new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
    old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
    new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
    old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
    new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
    old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
    new 17: raise_application_error(-20001, 'SYSMAN already exists..');
    old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
    new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
    DECLARE
    ERROR at line 1:
    ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17

  • Enterprise Manager is not able to connect to the database instance. Open??

    Hello there,
    After I installed oracle database and tried to start Enterprise Manager, I got the message:
    Enterprise Manager is not able to connect to the database instance.
    All statuses are OK (green and up) except database instance. It is also green and up but open. (Details: The instance is open.)
    Can anyone help me about it?
    I use Windows XP x64 with all patches installed. Oracle database R11g x64.
    I tried with different database versions and different machines and different OS and loopback adapter and... my EM still want to log in.
    I can log in with sqlplus. It accepts any pass for sys (as sysdba). Why?
    My log files are available here: http://195.66.185.187/log.zip

    You are using a bequeath connection when logging in with SQL*Plus on the server so the password is not validated.
    Log in using SQL*Plus this way:
    sqlplus /nolog
    followed by
    conn sys@<service_name> AS SYSDBA
    and provide the correct password
    My guess it it will fail.
    If so then you need to use the correct password and if you don't know what it is set it when logged on as SYS.

  • Livecache database instance is not able to connect from DBMGUI

    Hello,
    We are facing very critical problem. Livecache database instance is not able to connect from DBMGUI .
    DB instace is down currently, i checked X_server is running. when i am trying to conect using DBMGUi its going on hang status, same way if i am trying to start using LC10, its going on hang..
    Could anybody please help me out if faced this problem.
    Earlier it was working fine. But now It 's not able to connect through DBM tool.
    Any help would of great help..
    Thanks.
    Dinesh
    please find xserver*.prt files as attached
    Date       Time       PID Typ MsgID  Label    Message-Text
    2009-06-12 03:10:43  2732     12902  XSERVER  started, 'X64/SUN   7.6.04   Build 015-123-189-221'
    2009-06-12 03:10:43  2732     12904  XSERVER  Service port is 7210
    2009-06-12 03:10:43  2732     12922  ENVIRON  Command line arguments
    2009-06-12 03:10:43  2732     12924  ENVIRON   [1] start
    2009-06-12 03:10:43  2732     12923  ENVIRON  Command line argument dump completed
    2009-06-12 03:10:43  2732     12898  ENVIRON  Resource limit dump start
    2009-06-12 03:10:43  2732     12898  ENVIRON  Started by user id 58007 group id 1670
    2009-06-12 03:10:43  2732     12898  ENVIRON  Current user id 58007 effective id 58007
    2009-06-12 03:10:43  2732     12898  ENVIRON  Current group id 1670 effective id 1670
    2009-06-12 03:10:43  2732     12898  ENVIRON   cpu time unlimited
    2009-06-12 03:10:43  2732     12898  ENVIRON   number of processes 29995
    2009-06-12 03:10:43  2732     12898  ENVIRON   number of open files 2048
    2009-06-12 03:10:43  2732     12898  ENVIRON   core size unlimited
    2009-06-12 03:10:43  2732     12898  ENVIRON   file size unlimited
    2009-06-12 03:10:43  2732     12898  ENVIRON   heap memory size unlimited
    2009-06-12 03:10:43  2732     12898  ENVIRON   stack memory size 8192 KBytes
    2009-06-12 03:10:43  2732     12898  ENVIRON   virtual memory size unlimited
    2009-06-12 03:10:43  2732     12898  ENVIRON  Resource limit dump completed
    2009-06-12 03:10:43  2732     12898  ENVIRON  Environment dump start
    2009-06-12 03:10:43  2732     12898  ENVIRON   PATH=/usr/xpg4/bin:/usr/ccs/bin:/usr/bin
    2009-06-12 03:10:43  2732     12898  ENVIRON    :/opt/SUNWspro/bin
    2009-06-12 03:10:43  2732     12898  ENVIRON   IFS=
    2009-06-12 03:10:43     0    0
    2009-06-12 03:10:43  2732     12898  ENVIRON   TZ=NZ
    2009-06-12 03:10:43  2732     12898  ENVIRON   TMP=/var/tmp
    2009-06-12 03:10:43  2732     12898  ENVIRON   TMPDIR=/var/tmp
    2009-06-12 03:10:43  2732     12898  ENVIRON   USER=sdb
    2009-06-12 03:10:43  2732     12898  ENVIRON   LOGNAME=sdb
    2009-06-12 03:10:43  2732     12898  ENVIRON   DBROOT=/sapdb/programs
    2009-06-12 03:10:43  2732     12898  ENVIRON   LD_LIBRARY_PATH=/sapdb/programs/lib
    2009-06-12 03:10:43  2732     12898  ENVIRON  Environment dump completed
    end of startup -
    2009-06-12 03:10:44  2732 WNG 12458  XSERVER  NISSL Utility init: CDKLoadSAPCryptModule: 51
    2009-06-12 07:54:23  2732 ERR 11379  CONNECT  Error getting TCP/IP host by address: '10.115.104.42.'
    2009-06-12 08:47:00 17388 ERR 11925  XSERVER  Send packet, Ref:9 - connection closed (send:EPIPE)
    current write position -

    Hi Ivan,
    thanks for the reply, i used the commands suggested by you.
    nzlsfn40:ltradm 43% pwd
    /sapdb/data/wrk
    nzlsfn40:ltradm 44% dbmcli -d LTR -u control,control db_state
    OK
    State
    OFFLINE
    nzlsfn40:ltradm 45% dbmcli -d LTR -u control,control db_admin
    OK
    nzlsfn40:ltradm 46% nzlsfn40:ltradm 46%
    nzlsfn40:ltradm 46% dbmcli -d LTR -u control,control db_online
    db_online commands is running since long and in knldiag. i am continuously watching logs as below, can you have any idea
    Dinesh
    logs :-
    2009-06-12 10:58:34   137     12929 TASKING  Task T114 started
    2009-06-12 10:58:34   137     11007 COMMUNIC wait for connection T114
    2009-06-12 10:58:34   137     11561 COMMUNIC Connected  T114 local 3966
    2009-06-12 10:58:34   137     11509 COMMUNIC Connection broken by appl state 10 T114
    2009-06-12 10:58:34   137 WNG 11824 COMMUNIC Releasing  T114 connection aborted
    2009-06-12 10:58:34   137     12827 COMMUNIC wait for connection T114
    2009-06-12 10:58:35    11     11561 COMMUNIC Connecting T115 local 3966
    2009-06-12 10:58:35   138     12929 TASKING  Task T115 started
    2009-06-12 10:58:35   138     11007 COMMUNIC wait for connection T115
    2009-06-12 10:58:35   138     11561 COMMUNIC Connected  T115 local 3966
    2009-06-12 10:58:35   138     11509 COMMUNIC Connection broken by appl state 10 T115
    2009-06-12 10:58:35   138 WNG 11824 COMMUNIC Releasing  T115 connection aborted
    2009-06-12 10:58:35   138     12827 COMMUNIC wait for connection T115
    2009-06-12 10:58:36    11     11561 COMMUNIC Connecting T116 local 3966
    2009-06-12 10:58:36   139     12929 TASKING  Task T116 started
    2009-06-12 10:58:36   139     11007 COMMUNIC wait for connection T116
    2009-06-12 10:58:36   139     11561 COMMUNIC Connected  T116 local 3966
    2009-06-12 10:58:36   139     11509 COMMUNIC Connection broken by appl state 10 T116
    2009-06-12 10:58:36   139 WNG 11824 COMMUNIC Releasing  T116 connection aborted
    2009-06-12 10:58:36   139     12827 COMMUNIC wait for connection T116

  • Ent. Manager is not able to connect to the database instance. ORA-12541

    Hi
    I have installed and configured Oracle 10.2.0.1 on a Microsoft Cluster with Windows 2003 Server.
    Database instance and listener are running OK on both cluster nodes.
    On one of the nodes (pwmssrv1) I configured Enterprise Manager to monitor and control the database.
    At the beginning it worked fine, but after making a reboot on this server the Enterprise Manager cannot see the database instance and listener anymore.
    I already recreated/reinstalled EM and the problem persists.
    When I try to access the Oracle EM I get the errors (it do not show the login page):
    Database Instance
    (it shows the red down arrow)
    Host pwmssrv1
    Port 1521
    SID WMS10
    Oracle Home C:\oracle\product\10.2.0\db_1
    Listener
    (it shows the red down arrow)
    Status Down
    Host pwmssrv1
    Port 1521
    Name FSLEFA_BOCWMS_ORA
    Oracle Home C:\oracle\product\10.2.0\db_1
    Location C:\oracle\product\10.2.0\db_1\network\admin
    Details TNS-12541: TNS:no listener
    Agent Connection to Instance
    (it shows the red down arrow)
    Status Failed
    Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    If I do the "emctl status dbconsole" it shows:
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://pwmssrv1.BOCWMS.COM:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/pwmssrv1.BOCWMS.CO
    M_wms10/sysman/log
    I also look into the logs and it shows a few errors (emoms.log):
    2010-02-22 17:09:49,000 [HttpRequestHandler-9300338] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [HttpRequestHandler-22569956] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [EMUI_17_09_57_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
    Can someone help me on this problem.
    Thanks in advance.
    Jose

    You need to do some troubleshooting to find exact issue...
    Here are some metalink notes,
    How to Verify Agent Connectivity to 'OMS and Repository' Target using emrepresp.pl [ID 472292.1]
    --Database Status Shows Down Getting Error "Failed to Connect to Database Instance: ORA-12541: TNS:no listener " [ID 402227.1]
    --Error While Configuring the Database from the Grid Control Console [ID 750621.1]
    Hope this helps,
    http://www.oracleracexpert.com/
    Oracle RAC Load balancing and failover
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    Download Oracle Grid Control and ASMLib and Install
    http://www.oracleracexpert.com/2009/08/download-oracle-grid-control-and-asmlib.html

Maybe you are looking for