Change database instance on OEM

hey guys,
I have 2 databases installed on my computer : orcl and orcl2, when I log into the OEM I'm only able to connect to orcl.
What should I do in order to connect the other DB with the OEM ?
Thank you very much

OEM only can manage a single instance.Isn't it even possible to "switch" the database OEM is currently managing ?
Either install GRID or install 2 nd copy of OEMI'm aware the GRID solution, but how do I install a second copy of OEM ... ? you mean install all Oracle product again on another volume / directory... ?

Similar Messages

  • Enterprise Manager 10g - change database instance.

    I have installed 10g and I have been using the enterprise manager database control web applet to manage my database. I now have the need to manage a second database, but I cannot get the new databse to show up on the login page; the console still displays the original database.
    I am using the following link to connect;
    http://<hostname>.<domain name>:5500/em
    I have tried changing the Oracle_SID and running emctl start dbconsole and emctl start agent but with no luck.
    Any advice for a newbie at this?
    Regards
    Stephen A Hollingdale

    When emctl does not start for me, the easiest way I have found to get EM working again is to drop and re-create the EM repository. I do not Make sure your ORACLE_SID is pointing to the correct instance (I use oraenv).
    Remove EM repository (you will need passwwords for sys, sysman and dbsnmp)-
    emca -deconfig dbcontrol db -repos drop
    Create EM repository-
    emca -config dbcontrol db -repos create
    When you start emctl, it will give you the "new" URL to EM.
    Hope this helps,
    Dan

  • Changing database instance name

    Hi,
    I have oracle database 10g installed on linux.
    and now we are aking the databas eto production leve to the www
    do we need to change the oracle database name. is there any security reason for it, so outside doesn't need to know from the service name the location of the database. if we have to, then how to do it without affecting any existing processes.
    or any other ways to secure the database identity.
    any ways to give a alias to the ip address.
    any suggestions please.
    Thanks,
    Philip.

    The Oracle documentation contains a lot of security policies. In your case, you should be very cautious about firewall configuration and especially:
    If Oracle Database is behind a firewall, then do not, under any circumstances, poke a hole through the firewall. For example, do not leave open port 1521 for Oracle Listener to make a connection to the Internet or vice versa.
    Restrict the privileges of the listener, so that it cannot read or write files in the database or the Oracle server address space.
    Harden the host operating system by disabling all unnecessary operating system services. Both UNIX and Windows platforms provide a variety of operating system services, most of which are not necessary for most deployments. Such services include FTP, TFTP, TELNET, and so forth. Be sure to close both the UDP and TCP ports for each service that is being disabled. Disabling one type of port and not the other does not make the operating system more secure.
    (From http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14266/policies.htm#i1007433)

  • Change database instance name from XE to something else

    Does anyone know how to change the database name during the XE installation?

    Just remember, especially if you are coming from the Microsoft SQL Server or the MySQL world ...
    One MySQL or SQL Server database is roughly one Oracle Schema. You can have any number of Schemas in an Oracle database. It may not be necessary to have a different database name, or multiple XE databases.

  • 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/

  • Unable to add database instance in DB console

    ALL,
    i Couldnt able to add a database instance in OEM console
    and i am getting a error like this
    - Io exception: Got minus one from a read call The Connect Descriptor was (description=(address=(host=xxxx.com)(protocol=tcp)(port=1530))(connect_data=(service_name=Rxxxx)(instance_name=Rxxxx)(UR=A)))
    If somebody could guide me in fixing this problem
    it wil be higly grateful

    hi,
    try using the IP address of your host instead of the fully qualified name in your connection string.
    regards
    Alan

  • OEM Grid "Failed to connect to database instance: ORA-03135

    Hello all,
    Did anyone know why we get the error in the OEM grid:
    Failed to connect to database instance: ORA-03135: connection lost contact (DBD ERROR: OCISessionBegin).
    We checked the listener and it is running fine. Can someone advice where to look? Thanks.

    Hello,
    1. I tried to ping to the grid control server, and it was successful. However when reviewing the emagent.trc trace file, I noticed the following error:
    SQL = "/* OracleOEM */ BEGIN :succ_sub := 0; dbms_aqadm.enabl"...
    LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mddbbanner8-vip)(PORT=1521))(CONNECT_DATA=(SID=PROD4)))
    2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: Error enabling user dbsnmp for aq agent mddbbanner8_3872_PROD4 on PROD.loe.corp_PROD4: ORA-06550: line 1, column 65:
    PLS-00201: identifier 'DBMS_AQADM' must be declared
    ORA-06550: line 1, column 65:
    PL/SQL: Statement ignored
    2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: unable to create subscription on oracle_database PROD.loe.corp_PROD4
    2. In the emdctl.trc trace file, I see these errors:
    2009-01-09 15:54:26 Thread-4136655072 WARN http: snmehl_connect: connect failed to (mddbbanner8:3872): Connection refused (error = 111)
    2009-01-09 15:54:26 Thread-4136655072 ERROR main: nmectla_agentctl: Error connecting to https://mddbbanner8:3872/emd/main. Returning status code 1
    3. Anyone experienced the same errors from 1 and 2 above? Any solution to this issue?
    Thanks.

  • OEM 10g DBControl: no information in Database Instance. Listener and  Agent

    Hi,
    we hat a Database Crash, after recovering the Database the OEM is not working completely.
    There are no informations about Database Instance, Listener and Agent.
    The emoms.trc :
    2006-01-23 17:40:29,409 [EMUI_17_40_29_/console/database/instance/sitemap] ERROR rt.DbMetricCollectorTarget _getListenerTarget.366 - oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused
    oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1308)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getTarget(EMDClient.java:826)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getTarget(EMDClient.java:834)
    at oracle.sysman.emo.perf.metric.rt.DbTargetDown._getListenerTarget(DbTargetDown.java:346)
    at oracle.sysman.emo.perf.metric.rt.DbTargetDown.getData(DbTargetDown.java:159)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.getMetricResult(MetricCollectorThread.java:993)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorTarget.getMetricResult(MetricCollectorTarget.java:564)
    at oracle.sysman.db.uix.DBUtil.getMetricResult(DBUtil.java:249)
    at oracle.sysman.emo.smap.TargetDownBean.initialize(TargetDownBean.java:89)
    at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1043)
    at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:848)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
    at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
    at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
    at oracle.sysman.eml.app.Console.doGet(Console.java:285)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    any ideas?
    thanks Wolfgang

    If you recovered only the database ensure that
    Database Name and Instance Name remains unchanged.
    Listener name and ports is the same
    Ensure they all services can start successfully. If not, recreate the services.
    If you recovered any other thing other than the database, ensure that you followed the correct recovery procedure for both the database and directory structures
    e.g
    Directory names and structures are recreated as before Crash
    Oracle and Agent Homes remain the same as before crash
    IP Address and Ports remain unchanged
    Then restart both the database and db control
    In short, the important thing is to keep all all before crash especially for DB Control to work immeiodiately.

  • Is it possible to change the database instance host ??!!

    Hello,
    Quick question, I finished the installation of XI 3.0 with all patches.  But the system is running low, very low on resources even though it has 2GB of RAM.  I was wondering if it is possible to migrate the <SAPID> database and then re-configure the central instance and J2EE Engine to access a different machine OR do I have to re-install and follow the distributed system installation process.
    Thanks!

    Diego--
    Your issue isn't the database, it's the J2EE server.  Moving the database instance isn't going to save you enough RAM -- you'll run into the same problem again as soon as you start running messages through the system, when the J2EE engine starts allocating heap space for those messages.
    Our experience has been that 2GB of RAM is not enough for a development/prototype XI system.  You need 3GB to do a basic prototype/development machine install (but ask for 4GB if this is your permanent development system).  You'll need more than that in a typical production system.
    --Dan King
    Capgemini

  • ORA-12505: Database Instance and Agent Connection to Instance will not work

    Hi,
    I have the following error: in Oracle 10g I try to connect to OEM and the listener is up but the Database Instance and Agent Connection to Instance are down. When I attempt to restart the instance, OEM will just hang indefinitely. I have used tnsping and the results are OK. Is that descriptive enough? What can I do to fix this?
    regards,
    John

    I changed the SID because I was mistaken and thought of the oracle database name. I have corrected the ORACLE_SID to that given in my tnsnames.ora file which I post here:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Lasirius-laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = oracle)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    These are the default settings that were made on installation. I have been working with this installation for 2 months, and it just suddenly stopped working. I have changed no other settings apart from the mistaken ORACLE_SID environment variable in this post, which has now been changed to PLSExtProc. Here is my init.ora:
    # replace "clustdb" with your database name
    db_name = clustdb
    compatible=9.0.0
    db_files = 1024 # INITIAL
    #INITIAL
    #db_files=80
    #SMALL
    #DB_files=400
    #MEDIUM
    #db_files=1000
    #LARGE
    control_files = ("\\.\clustdb_control1", "\\.\clustdb_control2")
    db_file_multiblock_read_count = 8 # INITIAL
    # db_file_multiblock_read_count = 8
    #SMALL
    #db_file_multiblock_read_count = 16
    #MEDIUM
    #db_file_multiblock_read_count = 32
    #LARGE
    #Datawarehouse
    db_block_size=8192
    # Transaction processing
    # db_block_size=4096
    open_cursors=300
    #Transaction processing
    #sort_area_size=524288
    #Datawarehouse
    sort_area_size=1048576
    large_pool_size=1048576 #Transaction processing, Datawarehouse
    db_cache_size=50331648 #Datawarehouse, Transaction processing
    java_pool_size=67108864 #Datawarehouse, Transaction processing
    # db_block_buffers = 200 # INITIAL
    # db_block_buffers=100 #SMALL
    # db_block_buffers =550 # MEDIUM
    # db_block_buffers=3200 #LARGE
    #shared_pool_size = 52428800 # INITIAL
    shared_pool_size = 67108864 # datewarehouse, transaction processing
    log_checkpoint_interval = 10000
    processes = 59 # INITIAL
    # processes = 50
    #SMALL
    #processes = 100
    #MEDIUM
    #processes = 200
    #LARGE
    parallel_max_servers = 5
    #SMALL
    # parallel_max_servers = 4 x (number of CPUs)
    #MEDIUM
    # parallel_max_servers = 4 x (number of CPUs)
    # LARGE
    log_buffer = 8192 # INITIAL
    #log_buffer = 8192
    #SMALL
    #log_buffer = 32768
    #MEDIUM
    #log_buffer = 163840
    #LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 10 K each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = %ORACLE_HOME%/admin/clustdb/arch
    # log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form at the end of this file:
    # <sid>.rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/10 = 4:
    # transactions = 40
    # transactions_per_rollback_segment = 10
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # define directories to store trace and alert files
    background_dump_dest=%ORACLE_HOME%/admin/clustdb/bdump
    user_dump_dest=%ORACLE_HOME%/admin/clustdb/
    db_block_size = 4096
    remote_login_passwordfile = exclusive
    # text_enable = TRUE
    # The following parameters are needed for the Advanced Replication Option
    job_queue_processes = 2
    # job_queue_processes = 4 #datawarehouse
    # job_queue_interval = 10
    # job_queue_keep_connections = false
    distributed_transactions = 5
    open_links = 4
    # The following parameters are instance-specific parameters that are
    # specified for two instances named clustdb1 and clustdb2
    undo_management=AUTO # For automatic undo management
    # = MANUAL For manual/RBS undo management
    cluster_database= true
    cluster_database_instances=2
    remote_listener=LISTENERS_CLUSTDB
    # First instance specific parameters
    clustdb1.thread=1
    clustdb1.instance_name=clustdb1
    clustdb1.instance_number=1
    clustdb1.local_listener=listener_clustdb1
    clustdb1.remote_login_passwordfile = exclusive
    # Comment out clustdb1.undo_tablespace and uncomment clustdb1.rollback_segments
    # when undo_management=MANUAL
    clustdb1.undo_tablespace = UNDOTBS1
    # clustdb1.rollback_segments = (rbs1_1,rbs1_2)
    # Second instance specific parameters
    clustdb2.thread=2
    clustdb2.instance_name = clustdb2
    clustdb2.instance_number = 2
    clustdb2.local_listener = listener_clustdb2
    clustdb2.remote_login_passwordfile = exclusive
    # Comment out clustdb2.undo_tablespace and uncomment clustdb2.rollback_segments
    # when undo_management=MANUAL
    clustdb2.undo_tablespace = UNDOTBS2
    # clustdb2.rollback_segments = (rbs2_1,rbs2_2)

  • 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....

  • 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

  • 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

  • Enterprice manager is not able to connect to the database instance

    hello,
    I have problem with EM. I have some databases, and I worked with Enterprice Manager on this databases. First DB when I have repository is ok and EM always connect with this, but I worked on another DB some time and was ok, but three days ago when I start EM I get message 'Enterprice Manager is not able to connect to the database instance'. When I couldn't resolve this problem, I make new DB and this worked two days ok, and today I get this same message. I don't make any changes in listener and tns files.
    any idea?
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    SZDTEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = szdtest.localhost)
    SZD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = szd)
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    This is strange because when I working on EM get in some event errors
    500 Internal Server Error
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:393)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:182)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:289)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:261)
         at oracle.sysman.db.util.DBJobController.getRepositoryConnection(DBJobController.java:458)
         at oracle.sysman.db.util.DBJobController.initializeBean(DBJobController.java:326)
         at oracle.sysman.db.util.rec.RecoveryController.getBean(RecoveryController.java:262)
         at oracle.sysman.db.util.DBJobController.setPageSequence(DBJobController.java:384)
         at oracle.sysman.db.util.DBJobController.resetPageSequence(DBJobController.java:404)
         at oracle.sysman.db.util.DBJobController.handleStart(DBJobController.java:645)
    ....................

    yes DBConsole services are started:
    OracleDBConsoleorcl running
    OracleDBConsoleszd running
    results emctl status and start
    C:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://ORACLE:5502/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/ORACLE_szd/sysman/log
    C:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://ORACLE:5502/em/console/aboutApplication
    Agent Version : 10.1.0.4.1
    OMS Version : Unknown
    Protocol Version : 10.1.0.2.0
    Agent Home : C:\oracle\product\10.2.0\db_1\ORACLE_szd
    Agent binaries : C:\oracle\product\10.2.0\db_1
    Agent Process ID : 2960
    Agent Process ID : 2960
    Agent URL : http://ORACLE:1832/emd/main
    Started at : 2010-06-25 09:58:05
    Started by user : SYSTEM
    Last Reload : 2010-06-25 09:59:53
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 244
    Size of XML files pending upload(MB) : 1.56
    Available disk space on upload filesystem : 55.04%
    Agent is already started. Will restart the agent
    This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :
    but still I get this message
    EM was started and I see this message and that database is open and listener is up and agent connection to instance is succed
    Edited by: user515960 on 2010-06-25 01:08
    view logs in emoms.log after emctl status dbconsole
    2010-06-25 11:38:45,796 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:38:58,437 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:00,968 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:00,984 [EMUI_11_39_00_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:01,078 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:01,093 [EMUI_11_39_01_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:02,015 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:05,687 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,750 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,765 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:05,812 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:16,187 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:16,187 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:16,281 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:16,281 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Edited by: user515960 on 2010-06-25 02:41

  • Error while creating database instance during PI instalation

    Hi Team,
    I am in the installation phase of SAP PI with MAXDB as back end.In the
    phase "create database instance" i am facing the following issue
    "An error occurred while processing option SAP EHP1 for SAP NetWeaver
    PI/Mobile/Banking 7.1 > MaxDB > SAP Systems > Process Integration >
    Standard System > Standard System( Last error reported by the step:
    Error during execution of command identifier 'ACTIVATE'"
    Can you help me in resolving this issue at the earliest.Also i have attached
    the sapinst_dev log filke in this incident along with the
    error screenshot
    Thanks,
    Satheesh E

    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:08.874 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.1.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.1.xml
    INFO       2014-09-08 16:31:08.905 [synxcpath.cpp:799]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\__instana_tmp.xml.
    TRACE      2014-09-08 16:31:10.796 [cstatisticmanager.cpp:2241]
               CStatisticManager::writeInstallationSlanaFile_Intern
    TRACE      2014-09-08 16:31:10.811 [syxxcfile.cpp:85]
               CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
               lib=syslib module=syslib
    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:10.811 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml
    INFO       2014-09-08 16:31:10.811 [synxcfile.cpp:149]
               CSyFileImpl::removeEx(ISyFSErrorHandler * pErrorHandler)
               lib=syslib module=syslib
    Removed file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\instslana.xml.
    INFO       2014-09-08 16:31:10.811 [synxcpath.cpp:799]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\instslana.xml.
    TRACE      2014-09-08 16:31:10.889
    SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
    TRACE      2014-09-08 16:31:15.669 [iaxxgenimp.cpp:638]
                CGuiEngineImp::showMessageBox()
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP EHP1 for SAP NetWeaver PI/Mobile/Banking 7.1 > MaxDB > SAP Systems > Process Integration > Standard System > Standard System( Last error reported by the step: Error during execution of command identifier 'ACTIVATE' : <DBMException -24988 ERR_SQL SQL error
    -2014,Identifier too long>)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more information about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS. </p> </body></html>
    TRACE      2014-09-08 16:31:15.669 [iaxxgenimp.cpp:1031]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    INFO       2014-09-08 16:31:19.434 [sixxcstepexecute.cpp:1002]
    An error occurred and the user decided to retry the current step: &quot;|NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_ADA_DB|ind|ind|ind|ind|nw_ada_db|0|SdbPreInstanceDialogs|ind|ind|ind|ind|preinstance_dialogs|0|SdbInstanceDialogs|ind|ind|ind|ind|instance_dialogs|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|instance_create|0|sdb_instance_activate&quot;.
    INFO       2014-09-08 16:31:19.450 [synxccuren.cpp:887]
               CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS)
               lib=syslib module=syslib
    Working directory changed to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS.
    TRACE      2014-09-08 16:31:19.465 [syxxcfile.cpp:85]
               CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
               lib=syslib module=syslib
    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:19.465 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml
    TRACE      2014-09-08 16:31:19.497
    Instantiating new NWUsageTypeBasic
    TRACE      2014-09-08 16:31:19.497
    NWUsageTypeBasic() done
    TRACE      2014-09-08 16:31:19.497
      Call block: SDB_INSTANCE_CREATE_ind_ind_ind_ind
        function: SDB_INSTANCE_CREATE_ind_ind_ind_ind_PreStepPhase_sdb_instance_activate_Preprocess
    is validator: false
    TRACE      2014-09-08 16:31:19.543 [sixxcstepexecute.cpp:839]
    Execution of preprocess block of |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_ADA_DB|ind|ind|ind|ind|nw_ada_db|0|SdbPreInstanceDialogs|ind|ind|ind|ind|preinstance_dialogs|0|SdbInstanceDialogs|ind|ind|ind|ind|instance_dialogs|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|instance_create|0|sdb_instance_activate returns TRUE
    TRACE      2014-09-08 16:31:19.575
    Instantiating new NWUsageTypeBasic
    TRACE      2014-09-08 16:31:19.575
    NWUsageTypeBasic() done
    TRACE      2014-09-08 16:31:19.575
      Call block: SDB_INSTANCE_CREATE_ind_ind_ind_ind
        function: SDB_INSTANCE_CREATE_ind_ind_ind_ind_PreStepPhase_sdb_instance_activate
    is validator: false
    TRACE      2014-09-08 16:31:19.621
    WorkDir: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS
    TRACE      2014-09-08 16:31:19.621
    SdbOperations.callSdbCmdJar() Use java home : C:/Users/EGSAPI~1/AppData/Local/Temp/sapinst_exe.4716.1410173586/jre
    TRACE      2014-09-08 16:31:19.637
    SDB invoking java call:
    C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe -classpath "C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_sl_lib.jar;C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_sl_lib_api.jar;C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_core.jar" com.sap.sdb.core.main.cmd.SdbCmdMain
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:275]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    Going to call CreateProcess/CreateProcessAsUser for 'C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe' now.
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:575]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    Trying to start C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe CSySysLibCallsWrapper::syscallwrapper()->__CreateProcess__(NULL, <command line for executable C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, NULL, &StartupInfo, &ProcessInfo)
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:653]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    A child process has been started. Pid = 4956. Executable name: C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe
    TRACE      2014-09-08 16:31:19.637

Maybe you are looking for