Dbcontrol 10.2.0.1

Hi,
I have two Oracle database 10.2.0.1 on two different machines with OS Windows
Machine 1 -- TEST SERVER (10g)
Machine 2 -- LOCAL MACHINE (10g)
Now, when i open the dbcontrol for database on machine 1 then it dosent show the statistics of that database, because in the dbcontrol it show as below ;
Status Up
Up Since Jun 15, 2009 8:37:22 AM PDT
Instance Name test
Version 10.2.0.1.0
but actually i have bounced the database today then date above in bold should change to "Jun 16 2009" but insted it is showing "Jun 15 2009"
And when i open the dbcontrol in machine 1 then it show as below :-
Status Up
Up Since Jun 16, 2009 8:22:22 AM PDT
Instance Name test
Version 10.2.0.1.0
I have also dropped and created new dbcontrol for the database on machine 2 but still same status.
Where i have done mistake ?
With regards

You and the Oracle database are looking at different clocks. Oracle uses the machine's clock not Window's clock.
Want to change the machine's clock do so on machine reboot by going into ROM.

Similar Messages

  • Violatoins report in dbcontrol

    Oracle EE 10.2.0.2.0
    HP-UX
    The other day I finally decided to address policy violations reported by dbcontrol. They were
    - 'execute' on utl_file granted to public
    - Well known accounts (anonymous, ordplugins, should be expired and locked
    - 'execute' on dbms_random, utl_http, utl_smtp, utl_tcp granted to public
    - unlimited login attempts on dbsnmp
    On the well-known accounts issue, the listed accounts were locked but not expired.
    So I took corrective action on each. Almost immediately, a scheduled job (scheduled in the db - seen in dba_jobs - to run at the top of every hour) failed, and some user activities failed. I restored the execute privs back to public to keep things going while I investigated exactly what was using those privs and where best to grant them. However, the scheduled job continued to fail. Further investigation showed that the procedure it was calling included use of utl_file, and the procedure was marked INVALID. I recompiled the procedure and the job began to work again. I also discovered that several other user-owned procedures and public synonyms on those procedures had gone invalid, so I recompiled all of the procedures and re-built the synonyms.
    This leaves me with a few questions:
    1) why would revoking execute on utl_file cause a procedures and synonyms to go invalid?
    <i>Edit: I found that one in the Administrator's Guide, under "About Dependencies Among Schema Objects". To wit: </i>
    If you revoke privileges from a schema object, dependent objects are cascade invalidated.2) why would the procedures not automatically recompile when called, which is supposed to be normal behavior?
    <i>Edit: Related to item one? Since the required privilege had been revoked, it was unable to automatically recompile? Is this related to owner rights vs. invoker rights?</i>
    and slightly aside from the above, I only restored the execute privs that I had revoked from public. I did not back out the account expiration nor the login attempt limit, but two days and two system restarts later, dbcontrol is still reporting them as violations.
    <i>Edit: still looking for this one</i>
    Edited by: EdStevens on Mar 13, 2009 11:17 AM

    Oracle EE 10.2.0.2.0
    HP-UX
    The other day I finally decided to address policy violations reported by dbcontrol. They were
    - 'execute' on utl_file granted to public
    - Well known accounts (anonymous, ordplugins, should be expired and locked
    - 'execute' on dbms_random, utl_http, utl_smtp, utl_tcp granted to public
    - unlimited login attempts on dbsnmp
    On the well-known accounts issue, the listed accounts were locked but not expired.
    So I took corrective action on each. Almost immediately, a scheduled job (scheduled in the db - seen in dba_jobs - to run at the top of every hour) failed, and some user activities failed. I restored the execute privs back to public to keep things going while I investigated exactly what was using those privs and where best to grant them. However, the scheduled job continued to fail. Further investigation showed that the procedure it was calling included use of utl_file, and the procedure was marked INVALID. I recompiled the procedure and the job began to work again. I also discovered that several other user-owned procedures and public synonyms on those procedures had gone invalid, so I recompiled all of the procedures and re-built the synonyms.
    This leaves me with a few questions:
    1) why would revoking execute on utl_file cause a procedures and synonyms to go invalid?
    <i>Edit: I found that one in the Administrator's Guide, under "About Dependencies Among Schema Objects". To wit: </i>
    If you revoke privileges from a schema object, dependent objects are cascade invalidated.2) why would the procedures not automatically recompile when called, which is supposed to be normal behavior?
    <i>Edit: Related to item one? Since the required privilege had been revoked, it was unable to automatically recompile? Is this related to owner rights vs. invoker rights?</i>
    and slightly aside from the above, I only restored the execute privs that I had revoked from public. I did not back out the account expiration nor the login attempt limit, but two days and two system restarts later, dbcontrol is still reporting them as violations.
    <i>Edit: still looking for this one</i>
    Edited by: EdStevens on Mar 13, 2009 11:17 AM

  • An issue in "emca -config dbcontrol db -repos create"

    Hi All,
    Collected following data from log file, log file is generated when trying to run "emca -config dbcontrol db -repos create" from command mode
    Aug 13, 2009 9:00:01 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: '\regedit.exe' is not recognized as an internal or external command,
    operable program or batch file.
    Creating registry entries failed. Aborting...
    what is an error and unable to bring up EM due to same issue.
    Log file in detail,
    C:\ORACLE\PRODUCT>emca -config dbcontrol db -repos create
    STARTED EMCA at Aug 17, 2009 10:48:26 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: RADHA
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ C:\oracle\product\10.2.0\db_1
    Database hostname ................ AsishChowdary
    Listener port number ................ 1521
    Database SID ................ RADHA
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 17, 2009 10:48:58 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtool
    s\emca\RADHA\emca_2009-08-17_10-48-26-PM.log.
    Aug 17, 2009 10:49:01 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 17, 2009 10:51:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Aug 17, 2009 10:51:34 PM oracle.sysman.emcp.util.PlatformInterface executeCom
    d
    WARNING: Error executing CMD /C C:\oracle\product\10.2.0\db_1\bin\emctl.bat d
    oy dbconsole C:\oracle\product\10.2.0\db_1\AsishChowdary_RADHA AsishChowdary:
    8 AsishChowdary RADHA
    Aug 17, 2009 10:51:34 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\RADHA
    ca_2009-08-17_10-48-26-PM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\prod
    \10.2.0\db_1\cfgtoollogs\emca\RADHA\emca_2009-08-17_10-48-26-PM.log for more
    ails.
    Edited by: user7511349 on Aug 17, 2009 10:33 AM

    user7511349 wrote:
    Hi,
    Noticed following an error when executed from command mode regedit
    regedit.exe' is not recognized as an internal or external command.
    do have any solution.Get a good antivirus and scan the entire system. Make sure you backup your important data first (including database) and hope there is no corruption.
    You could try copying regedit.exe from another server and see if it helps in first place. But in any case, I would suggest you take a backup of your system.

  • Enterprise Manager 10g DBControl - Listener doesn't appear on home page

    I have a testing system, running on Microsoft Windows Server 2003, Enterprise Edition, Service Pack 2 with an Oracle DB 10g v10.2.0.3.0 installed. A few days before today I found out that I don't have the link with the listener on the Enterprise Manager DBControl home page. I'm attaching a print screen with the image I have on the home page.
    [http://img249.imageshack.us/my.php?image=listener20090126de7.jpg]
    I didn't observe if this problem got from the initial installation, but I think it didn't, as this was a clean system and everything should have worked fine. Yet, since the initial installation the system got into some changes regarding the Operating System and I refer to the name of the server by joining a domain and got added the suffix of the domain. The listener works fine, I can connect from any workstation and do whatever I want, but the link with the listener doesn't appear from anyplace I try to connect and do something.
    Please help me if you know any solution regarding this.
    Thank you.

    Hello and sorry for being late with an answer.
    I solved the problem so now I can't try the last solution to see if it helps. The solution I chosed was to deconfigure the DBControl with EM and then reconfigure it back.
    On one hand this helped solving the problem, but on the other hand all the settings made in EM got lost. There was no problem losing these settings as this was a test system. If it would have been a productive system having more settings in EM I don't think I'd choose the same solution I mentioned above.
    I'll mark the question as answered but mentioning once again that I don't recommend this for a productive system.
    Thank you all for the suggestions.

  • Problem with dbcontrol

    os: windows server 2003
    db: 10.2.0.4
    dbcontrol configured automatically
    after db creation i get the following url for dbcontrol
    https://blah-blah-0815.saxony.germany.de:1158/em
    blah-blah-0815 is the maschine and saxony.germany.de is the domain
    but for the dns entry saxony.germany.de exists a subentry dd (dns delegation)
    which is relevant for me
    dbcontrol is only reachable over this url https://blah-blah-0815.dd.saxony.germany.de:1158/em without using a proxy server
    it is working
    the problem is the installation of the certificate because of the identity mismatch
    between maschinename.domain -> https://blah-blah-0815.saxony.germany.de:1158/em
    and https://blah-blah-0815.dd.saxony.germany.de:1158/em
    i can't change anything in the dns structure
    and i can't change anything in the browser setting
    so the solution must be in the configuration files of dbcontrol
    but where?

    Hi, Beverley.  
    Thank you for visiting Apple Support Communities.  
    I understand that you are unable to trim clips using iMovie.  I would need a little more information on how you were attempting to trim a clip to provide a better answer.  However, make sure you have the movie project open and are selecting the clip that you wish to trim as this will activate the clip trimmer.  
    Trim clips
    -Jason H.  

  • How to shutdown and startup oracle 11g R1 from dbcontrol (EM)?

    Dear All,
    I have already installed oracle 11g R1. The database is running smooth including the dbcontrol / EM.
    I have difficulty in shutdown and restart database from EM.
    How to set EM, so that I can start and shutdown the database from EM?

    Hi,
    If you are in windows, this is a very common problem.
    You can try setting the logon as batch job to the OS user from local security policy
    1.Go Control Panel, Administrative Tools.
    2. Click on Local Security Policy.
    3. Local Policies, User Rights Assignment.
    4. Double click, 'Log on as a batch job'
    Here provide username along with domain name like co.uk\foo
    Regards

  • Roll Back a Transaction from a DBControl

    Hello BEA Experts
    I have a DB control ,and there is a method in it that inserts data into a table , this method gets called multiple times and if a call to this method fails I would like to roll back the changes made by priors calls to that particular method with in a transaction.
    My problem is that if I use a DBControl will I be able to manage the transaction and roll back if something gooes wrong as I wasnt able to find any example of such a scenario.I would appreciate if anyone could point me in the right direction and an example would be great, or should I use a custom control rather than using a DB control and I am using oracle9i and theres only one Database and I am not using EJBs

    Administrators can reassign tasks, but they currently can't (in 11.1.1.4) move process token(s) backward/forward to a different activity (including human tasks). That capability, known as "grab", is planned for an upcoming release.

  • Em dbcontrol finally working

    I installed oracle 11gr2 on 32 bit windows 2003 (datacenter) Microsoft Windows [Version 5.2.3790]
    with 8 g memory (using PAE) and really had trouble with dbcontrol. It did not get installed correctly
    the first time and I took me days to get it working eventually. (The problem being how to permanently modify parameters in the database without it? It would be great if there were just a command line way
    to do that.) so anyway I am posting a way that worked for me
    to get it working. Which might not be the best way or the only way. In retrospect I think one of the
    issues here is regarding creating the loopback adapter per instructions:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/reqs.htm#BABBDGBI
    2.4.1 Installing Oracle Database on DHCP Computers
    I thinik once you do that you have created the multiple IP number situation so then you should follow the
    next set of instructions more or less. 2.4.2 Installing Oracle Database on Computers with Multiple IP Addresses
    Which I don't understand. Windows does not necessarily have a domain name. The netbios name took
    the place of it. perhaps IP number can be substituted for "domain name" ? If you don't have a static
    ip then you don't have a static domain name either, if you did have a dns service in the loop.
    Anyway this worked for me. I am not suggesting everyone try this if they don't have em working. I'm just
    throwing it out there for ideas as I spent many many hours on this:
    (The netbios name is BUGGY. The loopback adapter was assigned ip 10.213.213.213)
    For example type hostname at the command line and windows will tell you what it considers
    the netbios hostname to be.
    \windows\system32\drivers\etc\hosts:
    10.213.213.213 localhost localhost
    127.0.0.1 localhost
    10.213.213.213 BUGGY
    tnsnames.ora: Note the addition of LOOPY to accommodate the loopback adapter:
    # tnsnames.ora Network Configuration File: E:\app\ora11\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA11 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora11)
    LOOPY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.213.213.213)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora11)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER_ORA11 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    listener.ora note addition for 10.213.213.213:
    restart listener after any changes.
    settings, control panel, administrative tools, services, *TNSlistener
    # listener.ora Network Configuration File: E:\app\ora11\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\ora11\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\ora11\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.213.213.213)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\ora11
    important. you have to know passwords of
    SYS
    DBSNMP
    and SYSMAN
    check path for extraneous perls:
    path >path.date
    check is there another perl possibly before oracle's perl?.
    If so take it out of the path, or possibly just rename perl.exe
    temporarily.
    check the java console and make sure all versions of java are enabled. (I did have this
    problem!)
    start,settings,control panel,java, java,view
    recreate dbcontrol
    emca -config dbcontrol db -repos recreate -oracle_hostname BUGGY
    (you may have to drop first:
    emca -deconfig dbcontrol db -repos drop )
    If it runs to completion then you may have the question of what
    is the port it is running on? When you recreate it it uses a new port number.
    you can do this:
    emctl start dbconsole
    It will tell you it is already running and tell you what the port is.

    I installed oracle 11gr2 on 32 bit windows 2003 (datacenter) Microsoft Windows [Version 5.2.3790]
    with 8 g memory (using PAE) and really had trouble with dbcontrol. It did not get installed correctly
    the first time and I took me days to get it working eventually. (The problem being how to permanently modify parameters in the database without it? It would be great if there were just a command line way
    to do that.) so anyway I am posting a way that worked for me
    to get it working. Which might not be the best way or the only way. In retrospect I think one of the
    issues here is regarding creating the loopback adapter per instructions:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/reqs.htm#BABBDGBI
    2.4.1 Installing Oracle Database on DHCP Computers
    I thinik once you do that you have created the multiple IP number situation so then you should follow the
    next set of instructions more or less. 2.4.2 Installing Oracle Database on Computers with Multiple IP Addresses
    Which I don't understand. Windows does not necessarily have a domain name. The netbios name took
    the place of it. perhaps IP number can be substituted for "domain name" ? If you don't have a static
    ip then you don't have a static domain name either, if you did have a dns service in the loop.
    Anyway this worked for me. I am not suggesting everyone try this if they don't have em working. I'm just
    throwing it out there for ideas as I spent many many hours on this:
    (The netbios name is BUGGY. The loopback adapter was assigned ip 10.213.213.213)
    For example type hostname at the command line and windows will tell you what it considers
    the netbios hostname to be.
    \windows\system32\drivers\etc\hosts:
    10.213.213.213 localhost localhost
    127.0.0.1 localhost
    10.213.213.213 BUGGY
    tnsnames.ora: Note the addition of LOOPY to accommodate the loopback adapter:
    # tnsnames.ora Network Configuration File: E:\app\ora11\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA11 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora11)
    LOOPY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.213.213.213)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora11)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER_ORA11 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    listener.ora note addition for 10.213.213.213:
    restart listener after any changes.
    settings, control panel, administrative tools, services, *TNSlistener
    # listener.ora Network Configuration File: E:\app\ora11\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\ora11\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\ora11\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.213.213.213)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\ora11
    important. you have to know passwords of
    SYS
    DBSNMP
    and SYSMAN
    check path for extraneous perls:
    path >path.date
    check is there another perl possibly before oracle's perl?.
    If so take it out of the path, or possibly just rename perl.exe
    temporarily.
    check the java console and make sure all versions of java are enabled. (I did have this
    problem!)
    start,settings,control panel,java, java,view
    recreate dbcontrol
    emca -config dbcontrol db -repos recreate -oracle_hostname BUGGY
    (you may have to drop first:
    emca -deconfig dbcontrol db -repos drop )
    If it runs to completion then you may have the question of what
    is the port it is running on? When you recreate it it uses a new port number.
    you can do this:
    emctl start dbconsole
    It will tell you it is already running and tell you what the port is.

  • Failed to execute $emca -reconfig dbcontrol -cluster

    Hi gurus,
    Environment: RAC Database 10.2.0.4 with 2 instances running on a Cluster with 2 nodes (AIX 5.3)
    I have a problem with Reconfigure DB Control:
    [oracle@dwbd01>$emca -reconfig dbcontrol -cluster
    STARTED EMCA at Nov 8, 2012 10:52:02 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database unique name: DWHPROD
    Database Control node name (optional): dwbd01
    Agent SID list [comma separated] (optional): DWHPROD1,DWHPROD2
    Do you wish to continue? [yes(Y)/no(N)]: y
    Nov 8, 2012 10:52:22 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log.
    Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Nov 8, 2012 10:52:31 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:32 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:32 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: null
    Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log for more details.
    -- emca_2012-11-08_10-52-02-AM.log --
    Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
    Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
    CONFIG: Stack Trace:
    oracle.ops.mgmt.cluster.ClusterInfoException: PRKC-rshd: 0826-813 Permission is denied. : <null>
    at oracle.ops.mgmt.cluster.ClusterInfo.getHostName(ClusterInfo.java:394)
    at oracle.ops.mgmt.cluster.ClusterInfo.getHostName(ClusterInfo.java:362)
    at oracle.sysman.emcp.util.ClusterUtil.getHostName(ClusterUtil.java:955)
    at oracle.sysman.emcp.util.ClusterUtil.getHostName(ClusterUtil.java:928)
    at oracle.sysman.emcp.ParamsManager.getLocalHost(ParamsManager.java:955)
    at oracle.sysman.emcp.EMDBPreConfig.performReconfiguration(EMDBPreConfig.java:2771)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:248)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:171)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
    Any idea?
    regards
    Amin

    The problem is that, in SOA RCU this table is defined as
    create table CLUSTER_MASTER
    NODE_ID INTEGER not null,
    DUMMY_COL NVARCHAR( 1 )
    go
    However, the BPEL code uses this as CLUSTER_Master
    Thus the fix/work-around here: SQLServer being case sensitive so the table should be created as CLUSTER_Master in the RCU script.
    Cheers

  • Emca -deconfig dbcontrol db -repos drop

    greetings,
    11g on windows 7.
    encountered error when tried to start the dbconsole. so i emca -deconfig dbcontrol db -repos drop (which i did b4 and worked).
    at the screen it complained about
    WARNING: Error executing CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    SEVERE: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
    **but i could locate the file ***
    and log as follow...
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-deconfig' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SID.
    May 8, 2013 2:09:02 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: MECWEB
    May 8, 2013 2:09:04 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYSMAN_PWD.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:11 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:15 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :C:\app\faye
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\app\faye\cfgtoollogs\emca\MECWEB\emca_2013_05_08_14_08_57.log.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: MECWEB Host: AB1-B44-D.mec.cuny.edu Node: null OH: C:\app\faye\product\11.2.0\dbhome_4 agentHome: null isCentral: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: MECWEB Host: AB1-B44-D.mec.cuny.edu Node: null OH: C:\app\faye\product\11.2.0\dbhome_4 isDBC: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: cmdType: 1
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
    CONFIG: oracleHome: C:\app\faye\product\11.2.0\dbhome_4 isPre112Home: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Stopping Windows service...OracleDBConsoleMECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Failed to stop service
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\faye\AppData\Roaming, CLASSPATH=C:\app\faye\product\11.2.0\dbhome_4\jlib\emca.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvm.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvmasm.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\cvu.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\emConfigInstall.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\ldapjclnt11.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\ldap.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\share.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvmhas.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\netcfg.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\http_client.jar;C:\app\faye\product\11.2.0\dbhome_4\lib\http_client.jar;C:\app\faye\product\11.2.0\dbhome_4\lib\xmlparserv2.jar;C:\app\faye\product\11.2.0\dbhome_4\assistants\jlib\assistantsCommon.jar;C:\app\faye\product\11.2.0\dbhome_4\sysman\jlib\emCORE.jar;C:\app\faye\product\11.2.0\dbhome_4\sysman\jlib\emagentSDK.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraInstaller.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraPrereq.jar;C:\app\faye\product\11.2.0\dbhome_4\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=AB1-B44-D, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\faye\product\11.2.0\dbhome_4\jlib\emca.jar, EMDROOT=C:\app\faye\product\11.2.0\dbhome_4, FP_NO_HOST_CHECK=NO, HOMEDRIVE=C:, HOMEPATH=\Users\faye, JRE_JAVA=C:\app\faye\product\11.2.0\dbhome_4\jdk\jre\bin\java, LD_LIBRARY_PATH=C:\app\faye\product\11.2.0\dbhome_4\lib32;C:\app\faye\product\11.2.0\dbhome_4\lib;C:\app\faye\product\11.2.0\dbhome_4\perl\lib;null, LIB_DIR=C:\app\faye\product\11.2.0\dbhome_4\jlib, LOCALAPPDATA=C:\Users\faye\AppData\Local, LOGONSERVER=\\SSBAD, NUMBER_OF_PROCESSORS=2, OH=C:\app\faye\product\11.2.0\dbhome_4, ORACLE_HOME= C:\app\faye\product\11.2.0\dbhome_4, ORACLE_SID=MECWEB, ORACLE_SID = MECWEB, OS=Windows_NT, PATH=C:\app\faye\product\11.2.0\dbhome_4\bin;C:\app\faye\product\11.2.0\dbhome_4\jdk\jre\bin\server;C:\app\faye\product\11.2.0\dbhome_4\bin;C:\app\faye\product\11.2.0\dbhome_4\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Blackbaud\The Financial Edge\;C:\Program Files (x86)\Calibre2\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PERL5LIB=C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts;C:\app\faye\product\11.2.0\dbhome_4\bin;, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=170a, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, ROXIOCENTRAL=C:\Program Files (x86)\Common Files\Roxio Shared\10.0\Roxio Central36\, SESSIONNAME=Console, SID=mecweb, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\faye\AppData\Local\Temp, TMP=C:\Users\faye\AppData\Local\Temp, USERDNSDOMAIN=MEC.CUNY.EDU, USERDOMAIN=MEC, USERNAME=faye, USERPROFILE=C:\Users\faye, WINDIR=C:\Windows]
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: C:/app/faye/product/11.2.0/dbhome_4/perl/bin\perl.exe C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts\db\sgastop.pl stop MECWEB AB1-B44-D.mec.cuny.edu 1521 C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of C:/app/faye/product/11.2.0/dbhome_4/perl/bin\perl.exe C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts\db\sgastop.pl stop MECWEB AB1-B44-D.mec.cuny.edu 1521 C:\app\faye\product\11.2.0\dbhome_4 completed successfully
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: nmccollector process does not exist
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
    CONFIG: Successfully stopped nmc-collector process
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: cmdType: 2
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
    CONFIG: oracleHome: C:\app\faye\product\11.2.0\dbhome_4 isPre112Home: false
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Deleting Windows service...OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of -1
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: OpenSCManager FAILED: Access is denied.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Failed to delete service OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Failed to remove the registry entries.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Error Message: PRKC-1117 : Failed to delete registry subkey "SOFTWARE\Oracle\SYSMAN\OracleDBConsoleMECWEB" under key "HKEY_LOCAL_MACHINE" on node "AB1-B44-D.mec.cuny.edu", [The system cannot read from the specified device.
    oracle.ops.mgmt.cluster.ClusterException: PRKC-1117 : Failed to delete registry subkey "SOFTWARE\Oracle\SYSMAN\OracleDBConsoleMECWEB" under key "HKEY_LOCAL_MACHINE" on node "AB1-B44-D.mec.cuny.edu", [The system cannot read from the specified device.
         at oracle.ops.mgmt.cluster.ClusterWindows.deleteRegKeyOnNode(ClusterWindows.java:553)
         at oracle.sysman.emcp.util.ClusterUtil.deleteRegKeyOnNode(ClusterUtil.java:1364)
         at oracle.sysman.emcp.util.PlatformInterface.deleteLocalWindowsService(PlatformInterface.java:1102)
         at oracle.sysman.emcp.util.PlatformInterface.serviceCommand(PlatformInterface.java:897)
         at oracle.sysman.emcp.EMDBPreConfig.performDeconfiguration(EMDBPreConfig.java:837)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:278)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
    Refer to the log file at C:\app\faye\cfgtoollogs\emca\MECWEB\emca_2013_05_08_14_08_57.log for more details.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    java.lang.IllegalStateException: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
         at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(ConfigManager.java:1284)
         at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1150)
         at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1132)
         at oracle.sysman.emcp.EMReposConfig.stopDBMSJobs(EMReposConfig.java:1187)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:187)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    kindly please help.
    thanks and have a very nice day!

    Welcome to OTN
    Which Version of windows 7 you have ?

  • Emca -config dbcontrol db -repos create -dbcontrol_http_port 1555

    Hi,
    I am openeing a new Thread for the same issue. Please help me to resolve this issue.
    Oracle:10.2.0.1.0
    OS:Windows XP SP2
    Net work adaptor: looback - 192.168.1.1
    C:\WINDOWS\system32\drivers\etc\hosts
    192.168.1.1 mcollinschoo-1.company.net mcollinschoo
    lsnrctl start listener
    C:\>lsnrctl start LISTENER
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-MAY-2009 11:31:24
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcollinschoo-1.asiapac.globalcsc.net)(PORT=1
    521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mcollinschoo)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 13-MAY-2009 11:31:27
    Uptime 0 days 0 hr. 0 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcollinschoo-1.company.net)(PORT=1521)))
    Services Summary...
    Service "SAM" has 1 instance(s).
    Instance "SAM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Configuring dbconsole
    =================
    C:\>set ORACLE_HOME=D:\oracle\product\10.2.0\db_1
    C:\>set ORACLE_SID=SAM
    C:\>set ORACLE_HOSTNAME=mcollinschoo
    Also I have set ORACLE_HOSTNAME=mcollinschoo in environment variable settings.
    c:>emca -config dbcontrol db -repos create -dbcontrol_http_port 1555
    STARTED EMCA at May 13, 2009 11:32:51 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: SAM
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
    Database hostname ................ MCOLLINSCHOO
    Listener port number ................ 1521
    Database SID ................ SAM
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    May 13, 2009 11:33:17 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\SAM\emca_2009
    -05-13_11-32-51-AM.log.
    May 13, 2009 11:33:20 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    May 13, 2009 11:35:02 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    May 13, 2009 11:35:07 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    May 13, 2009 11:40:07 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\SAM\emca_2009-05-13_11-32-51
    -AM.log for more details.
    Could not complete the configuration. Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtool
    logs\emca\SAM\emca_2009-05-13_11-32-51-AM.log for more details.
    End of emca_repos_create_2009-05-13_11-33-20-AM.log
    ======================================
    Commit complete.
    Registering target types
    Commit complete.
    Registering job types
    Create MGMT_VIEW user..
    No errors.
    No errors.
    Set repository version
    ============== End of creation ==============
    End of emca_2009-05-13_11-32-51-AM.log
    ============================
    CONFIG: Waiting for service 'OracleDBConsoleSAM' to fully start
    May 13, 2009 11:39:37 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleSAM' to fully start
    May 13, 2009 11:39:47 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleSAM' to fully start
    May 13, 2009 11:39:57 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleSAM' to fully start
    May 13, 2009 11:40:07 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\SAM\emca_2009-05-13_11-32-51-AM.log for more details.
    May 13, 2009 11:40:07 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:569)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:181)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:150)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Regards,
    Mat

    user505933 wrote:
    Hi,
    I am openeing a new Thread for the same issue. Please help me to resolve this issue.
    So why are you starting a new thread?
    <snip>
    May 13, 2009 11:40:07 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\SAM\emca_2009-05-13_11-32-51-AM.log for more details.<snip>
    >
    Regards,
    MatJust as before, what did you discover when you looked at
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\SAM\emca_2009-05-13_11-32-51-AM.log for more details.

  • Emca -deconfig dbcontrol db -repos drop, perl 100%CPU

    Hello!
    My system is: Red Hat Enterprise Linux AS release 4 x64, Oracle 10.2.0.1.0
    Few days ago I had found that 2 perl processes eat 100% CPU.
    So I decided to restart EM. But the problem remain the same.
    Then I decided to recreate EM repository:
    emca -deconfig dbcontrol db -repos drop -SID db1 -HOST HP -ORACLE_HOME /app/oracle
    STARTED EMCA at Jul 9, 2010 11:49:17 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jul 9, 2010 11:49:31 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /app/oracle/cfgtoollogs/emca/ db1 /emca_2010-07-09_11-49-17-AM.log.
    Jul 9, 2010 11:49:31 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jul 9, 2010 11:49:33 AM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    In this point command hangs.
    Looking to the processes:
    ps aux | grep perl
    oracle 15592 101 0.0 23752 8672 pts/2 R+ 12:11 0:24 /app/oracle/perl/bin/perl /app/oracle/sysman/admin/emdrep/bin/emrepmgr.pl -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=HP)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME= db1))) -repos_user SYSMAN -action drop -verbose -output_file /app/oracle/cfgtoollogs/emca/ db1 /emca_repos_drop_2010-07-09_12-11-40-PM.log
    oracle 15667 0.0 0.0 51100 688 pts/4 S+ 12:12 0:00 grep perl
    Looking to the log:
    [oracle@HP db1]$ tail -n 50 /app/oracle/cfgtoollogs/emca/ db1 /emca_repos_drop_2010-07-09_12-11-40-PM.log
    [09-07-2010 12:11:40] Enter SYS user's password :
    [09-07-2010 12:11:40]
    [09-07-2010 12:11:40] Enter repository user password :
    [09-07-2010 12:11:40]
    [09-07-2010 12:11:40] Getting temporary tablespace from database...
    Could you please help me with this?
    Why does perl hang? And how to correctly recreate repository?
    (Is it possible to recreate repository without any outages(quiescing or restart the DB))
    Thanks!

    Yesterday I've started EM, but emagent had 100%CUP again.
    And there was an active session by sysman:
    BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
    After making some research, i've done this:
    sqlplus sysman@db1
    SQL>@/app/oracle/sysman/admin/emdrep/sql/core/latest/notification/notification_pkgbodys.sql
    (changing string DBMS_AQ.LISTEN (agents, qtimeout_in, agent);
    to DBMS_AQ.LISTEN (agents, 1200, agent);
    in it
    After restarting EM this problem remain the same.
    Logs:
    cat ./emagent.log
    2010-07-12 12:28:44 Thread-4136454368 Starting Agent 10.1.0.4.1 from /app/oracle (00701)
    2010-07-12 12:29:44 Thread-4136454368 target {db1, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
    2010-07-12 12:29:44 Thread-4136454368 EMAgent started successfully (00702)
    and
    [oracle@HP log]$ tail -n 5 ./emdctl.trc
    2010-07-12 12:28:32 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:34 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:37 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:40 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:43 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    Why does "Connection refused" appear?
    How to deal with this issue?
    Yours suggestions will be VERY appreciated. Thanks!
    Edited by: dmitry_rpd on Jul 13, 2010 12:33 AM

  • Emca -config dbcontrol db fails with grid control error

    hi friends
    i am using oracle 11.2.0.2.0 in windows xp 32 bit
    while i was trying to config the EM with the command
    emca -config dbcontrol db
    i am getting the following error
    The existing database you have specified has Grid Control repository.This operation is not supported.
    what should i do as i tried everything like i stopped the gridcontrol services already
    with regards
    saugat

    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : accessdba
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: accessdba
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\saugat\product\11.2.0\dbhome_1, and user: SYS
    Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to D:\app\saugat\cfgtoollogs\emca\orcl\emca_repos_create_2011_07_28_18_23_27.log
    Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig createRepository
    WARNING: ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at line 37
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at D:\app\saugat\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at D:\app\saugat\cfgtoollogs\emca\orcl\emca_2011_07_28_18_15_19.log for more details.
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:252)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:160)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
    Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\saugat\product\11.2.0\dbhome_1\oui
    it shows thaat temp tablespace is empty

  • Doing emca -config dbcontrol db -repos recreate

    hello,
    I'm doing the following:
    emca -config dbcontrol db -repos recreate
    but on the process I'm getting the following warnings:
    27-may-2010 14:48:31 oracle.sysman.emcp.util.PortManager isPortInUse
    WANING: port 5540 is in use
    27-may-2010 14:48:31 oracle.sysman.emcp.util.PortManager isPortInUse
    WANING: port 5520 is in use
    27-may-2010 14:48:31 oracle.sysman.emcp.util.PortManager isPortInUse
    WANING: port 1158 is in use
    27-may-2010 14:48:31 oracle.sysman.emcp.util.PortManager isPortInUse
    WANING: port 3938 is in use
    27-may-2010 14:48:31 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control. Can be some minutes...
    27-may-2010 14:48:37 oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the repository of EM. Can be some minutes...
    should I have to stop the process, check why are in use the ports, and changed those ports in use?
    Somebody can help me, please?
    Regards,
    Bea.

    I've check and is the following:
    [27-05-2010 14:48:39] Enter SYS user's password :
    [27-05-2010 14:48:39]
    [27-05-2010 14:48:39] Enter repository user password :
    [27-05-2010 14:48:40]
    [27-05-2010 14:48:40] Getting temporary tablespace from database...
    [27-05-2010 14:48:40] Found temporary tablespace: TEMP2
    [27-05-2010 14:48:40] Environment :
    [27-05-2010 14:48:40] ORACLE HOME = E:\oracle\product\10.2.0\db_1
    [27-05-2010 14:48:40] SQLPLUS = E:\oracle\product\10.2.0\db_1/bin/sqlplus
    [27-05-2010 14:48:40] EXPORT = E:\oracle\product\10.2.0\db_1/bin/exp
    [27-05-2010 14:48:40] IMPORT = E:\oracle\product\10.2.0\db_1/bin/imp
    [27-05-2010 14:48:40] LOADJAVA = E:\oracle\product\10.2.0\db_1/bin/loadjava
    [27-05-2010 14:48:40] Arguments :
    [27-05-2010 14:48:40] Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=coolcsenew.solmelia.corp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ENCYNEW)))
    [27-05-2010 14:48:40] Script Home = E:\oracle\product\10.2.0\db_1
    [27-05-2010 14:48:40] SQL SCRIPT ROOT = E:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/sql
    [27-05-2010 14:48:40] JAR FILE ROOT = E:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/lib
    [27-05-2010 14:48:40] JOB TYPES ROOT = E:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/bin
    [27-05-2010 14:48:40] Action = drop
    [27-05-2010 14:48:40] Repos User = SYSMAN
    [27-05-2010 14:48:40] Default tablespace = MGMT_TABLESPACE
    [27-05-2010 14:48:40] Default Data file = mgmt.dbf
    [27-05-2010 14:48:40] Dflt Dfile Init size = 20m
    [27-05-2010 14:48:40] Dflt Dfile Ext size = 20m
    [27-05-2010 14:48:40] ECM tablespace = MGMT_ECM_DEPOT_TS
    [27-05-2010 14:48:40] ECM Data file = mgmt_ecm_depot1.dbf
    [27-05-2010 14:48:40] ECM Dfile Init size = 100m
    [27-05-2010 14:48:40] ECM Dfile Ext size = 100m
    [27-05-2010 14:48:40] TEMP tablespace = TEMP2
    [27-05-2010 14:48:40] Create options = 3
    [27-05-2010 14:48:40] Verbose output = 1
    [27-05-2010 14:48:40] Output File = E:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ENCYNEW\emca_repos_drop_2010-05-27_02-48-37-PM.log
    [27-05-2010 14:48:40] Repos creation mode = CENTRAL
    [27-05-2010 14:48:40] MetaLink user name = NOTAVAILABLE_
    [27-05-2010 14:48:40] MetaLink URL = http://updates.oracle.com
    [27-05-2010 14:48:40] Export Directory = E:\oracle\product\10.2.0\db_1/sysman/log
    [27-05-2010 14:48:40] Import Directory = E:\oracle\product\10.2.0\db_1/sysman/log
    [27-05-2010 14:48:40] Checking SYS Credentials ...
    [27-05-2010 14:48:40] File - D:\Temp\7A0it518wq\ksEQ0a1Oqf.sql.
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu May 27 14:48:41 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [27-05-2010 14:48:42] Return code = 0.
    [27-05-2010 14:48:42] OK.
    [27-05-2010 14:48:42] Dropping the repository..
    [27-05-2010 14:48:42] Quiescing DB ...
    [27-05-2010 14:48:42] File - D:\Temp\lguthWQwBy\yizlkHewMw.sql.
    [27-05-2010 14:48:58] Return code = 0.
    [27-05-2010 14:48:58] Done.
    [27-05-2010 14:48:58] Checking for Repos User ...
    [27-05-2010 14:48:58] File - D:\Temp\2bwoIjXoS8\mmZSYktShc.sql.
    [27-05-2010 14:48:59] Return code = 0.
    [27-05-2010 14:48:59] Exists.
    [27-05-2010 14:48:59] Repos User exists..
    [27-05-2010 14:48:59] Clearing EM Contexts ...
    [27-05-2010 14:48:59] Clearing contexts. File - D:\Temp\vPfpjgrlXm\uqrPLwC8ww.sql.
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu May 27 14:48:59 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL> SQL> SQL> SQL>
    PL/SQL procedure successfully completed.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [27-05-2010 14:49:01] Clearing contexts. Return code = 0.
    [27-05-2010 14:49:01] OK.
    [27-05-2010 14:49:01] Dropping EM users ...
    [27-05-2010 14:49:01] Drop EM Users. File - D:\Temp\d6TFHQp0to\JnneBa8hCr.sql.
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu May 27 14:49:02 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL> SQL> SQL> SQL> SQL> SQL> Rem
    SQL> Rem $Header: admin_drop_users.sql 26-mar-2003.12:48:27 rpinnama Exp $
    SQL> Rem
    SQL> Rem admin_drop_users.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2002, 2003, Oracle Corporation.     All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem     admin_drop_users.sql - <one-line expansion of the name>
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem     <short description of component this file declares/defines>
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem     <other useful comments, qualifications, etc.>
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem rpinnama     03/26/03 - Remove references to DropRep
    SQL> Rem rpinnama     03/25/03 - Parameterize repos user
    SQL> Rem rpinnama     06/03/02 - rpinnama_reorg_rep_scripts_3
    SQL> Rem rpinnama     05/20/02 - Created
    SQL> Rem
    SQL>
    SQL> Rem
    SQL> Rem This SQL script requires the following arguments
    SQL> Rem 1. Name of the repository user
    SQL> Rem
    SQL> DEFINE EM_REPOS_USER ="&1"
    SQL>
    SQL>
    SQL>
    SQL> Rem Generate Drop users script
    SQL> Rem Error 1918 is received if the repository user does not exist - we simply exit and continue
    SQL> Rem Error 1940 is received if there is an active session - we continue the loop
    SQL> Rem Error 30 is received if the session we are killing no longer exists - we continue the loop
    SQL> Rem NOTE:     The 1940 will be returned until the other end of the session re-accesses it.
    SQL> Rem     This may take up to several minutes, so we ignore these errors completely.
    SQL> Rem     If we trace in this loop, we will exit with a buffer overflow,
    SQL> Rem     so tracing is not done in this loop
    SQL>
    SQL>
    SQL> declare
    2 l_username varchar2(30);
    3 l_sid number;
    4 l_serial number;
    5 err number;
    6 c number;
    7 begin
    8
    9      -- First, drop all users, except SYSMAN who have MGMT_USER role and
    10      -- are created by EM. All users created by EM will have a record
    11      -- in MGMT_CREATED_USERS table
    12      --
    13      c := 0;
    14      begin
    15      loop
    16      BEGIN
    17      l_username := '';
    18      select grantee into l_username
    19           from sys.dba_role_privs
    20           where granted_role = 'MGMT_USER'
    21           AND grantee IN (SELECT user_name
    22                     FROM &EM_REPOS_USER..MGMT_CREATED_USERS
    23                     WHERE SYSTEM_USER=0)
    24           AND ROWNUM=1;
    25
    26      l_username := upper(l_username);
    27
    28      LOOP
    29
    30           BEGIN
    31           FOR crec in (SELECT sid, serial#
    32                     FROM v$session
    33                     WHERE username=l_username
    34                     AND status NOT IN('KILLED'))
    35           LOOP
    36           BEGIN
    37
    38                DBMS_OUTPUT.PUT_LINE('Killing session for user ' ||
    39                     l_username || ' Session : ' ||
    40                     crec.sid || ',' || crec.serial# );
    41
    42                EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION ''' ||
    43                          crec.sid || ',' || crec.serial# || '''';
    44                EXCEPTION
    45                WHEN OTHERS THEN
    46                err := SQLCODE;
    47                IF err != -30 THEN
    48                     EXIT;
    49                END IF;
    50           END;
    51           COMMIT;
    52           END LOOP; -- END OF KILLING SESSION LOOP
    53
    54           EXCEPTION
    55           WHEN OTHERS THEN
    56           err := SQLCODE;
    57           IF err != -30 THEN
    58                EXIT;
    59           END IF;
    60           END;
    61
    62           IF SQL%NOTFOUND THEN
    63           EXIT;
    64           END IF;
    65
    66      COMMIT;
    67
    68      END LOOP;
    69
    70      DBMS_OUTPUT.PUT_LINE('Dropping user ' || l_username);
    71
    72      EXECUTE IMMEDIATE 'drop user ' || l_username || ' cascade';
    73
    74      EXCEPTION
    75           WHEN NO_DATA_FOUND THEN
    76           EXIT;
    77           WHEN OTHERS THEN
    78           err := SQLCODE;
    79           IF err = -1918 THEN
    80           EXIT;
    81           ELSE
    82           IF err = -1940 THEN
    83           NULL;
    84           ELSE
    85           DBMS_OUTPUT.PUT_LINE('not 1940 Error ' || err);
    86           c := c+1;
    87           IF c > 50 THEN
    88                RAISE;
    89           END IF;
    90           END IF;
    91           END IF;
    92      END;
    93      end loop;
    94      end;
    95 end;
    96 /
    old 22:                    FROM &EM_REPOS_USER..MGMT_CREATED_USERS
    new 22:                    FROM SYSMAN.MGMT_CREATED_USERS
    Dropping user MGMT_VIEW
    PL/SQL procedure successfully completed.
    SQL>
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [27-05-2010 14:49:08] Drop EM Users. Return code = 0.
    [27-05-2010 14:49:08] Done.
    [27-05-2010 14:49:08] Dropping Repos User ...
    [27-05-2010 14:49:08] Drop Repos User. File - D:\Temp\l8DOrBVrQQ\4cvYQrsrBc.sql.
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu May 27 14:49:09 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL> SQL> SQL> SQL> SQL> SQL> Rem
    SQL> Rem $Header: admin_drop_repos_user.sql 26-mar-2003.12:49:29 rpinnama Exp $
    SQL> Rem
    SQL> Rem admin_drop_repos_user.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2002, 2003, Oracle Corporation.     All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem     admin_drop_repos_user.sql - <one-line expansion of the name>
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem     <short description of component this file declares/defines>
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem     <other useful comments, qualifications, etc.>
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem rpinnama     03/26/03 - Remove references to DropRep
    SQL> Rem rpinnama     03/25/03 - Parameterize repository user
    SQL> Rem rpinnama     06/03/02 - rpinnama_reorg_rep_scripts_3
    SQL> Rem rpinnama     05/20/02 - Created
    SQL> Rem
    SQL>
    SQL> Rem
    SQL> Rem This SQL script requires the following arguments
    SQL> Rem 1. Name of the repository user
    SQL> Rem
    SQL> DEFINE EM_REPOS_USER ="&1"
    SQL>
    SQL>
    SQL> declare
    2 l_username varchar2(30);
    3 l_sid number;
    4 l_serial number;
    5 err number;
    6 c number;
    7 begin
    8      -- Now, drop the SYSMAN user
    9      c := 0;
    10      l_username := upper('&EM_REPOS_USER');
    11      begin
    12      loop
    13      BEGIN
    14      LOOP
    15           BEGIN
    16           FOR crec in (SELECT sid, serial#
    17                     FROM v$session
    18                WHERE upper(username)=l_username
    19                     AND status NOT IN('KILLED'))
    20           LOOP
    21           BEGIN
    22                EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION ''' ||
    23                          crec.sid || ',' || crec.serial# || '''';
    24           EXCEPTION
    25                WHEN OTHERS THEN
    26                err := SQLCODE;
    27                IF err != -30 THEN
    28                     EXIT;
    29                END IF;
    30           END;
    31           commit;
    32           END LOOP;
    33           EXCEPTION
    34           WHEN OTHERS THEN
    35           err := SQLCODE;
    36           IF err != -30 THEN
    37                EXIT;
    38           END IF;
    39           END;
    40           IF SQL%NOTFOUND THEN
    41           EXIT;
    42           END IF;
    43           commit;
    44      END LOOP;
    45      execute immediate 'drop user ' || l_username || ' cascade';
    46      exit;
    47      EXCEPTION
    48           WHEN NO_DATA_FOUND THEN
    49           exit;
    50           WHEN OTHERS THEN
    51           err := SQLCODE;
    52           IF err = -1918 THEN
    53           EXIT;
    54           ELSE
    55           IF err = -1940 THEN
    56                NULL;
    57           ELSE
    58                DBMS_OUTPUT.PUT_LINE('not 1940 err' || err);
    59                c := c+1;
    60                IF c > 50 THEN
    61                RAISE;
    62                END IF;
    63           END IF;
    64           END IF;
    65      END;
    66      end loop;
    67      end;
    68      commit;
    69
    70 end;
    71 /
    old 10: l_username := upper('&EM_REPOS_USER');
    new 10: l_username := upper('SYSMAN');

  • Problem when "emca -config dbcontrol db -repos create" windows 2008 32 bit

    my emca_2011-09-15_12-12-23-PM.log
    2011-09-15 12:12:32 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: CMD /C C:\oracle\product\10.2.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.bat "C:\oracle\product\10.2.0\db_1\sysman\admin\scripts;C:\oracle\product\10.2.0\db_1\bin;" C:/oracle/product/10.2.0/db_1/perl/5.8.3/bin/MSWin32-IA64-multi-thread\perl.exe C:\oracle\product\10.2.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.pl C:\oracle\product\10.2.0\db_1 kbit SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Edited by: john1212 on 2011-09-15 14:34

    John,
    So much information provided!! Luckily, you gave the command line in the title of the thread
    Instead of
    emca -config dbconsole db -repos createTry
    emca -config DBCONTROL db -repos createAnd if still failing, then post the 4 digits of DB version, OS details, and more info from the logfile!
    HTH,
    Thierry

  • Problem run emca -config dbcontrol db -repos create

    when tried to run emca -config dbcontrol db -repos create i choose oracle database SID: ORCL but when i write DBSNMP user pass: it shows me Invalid password.
    When i have tried to login in sqlplus with the same user: DBSNMP and my password it login me without porblem.
    I don't know where is the problem
    Details:
    OS: WIndows Server 2003
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options
    Thanks

    Hi,
    The possible cause for this issue are like,
    1. The 11g Database has a restricted password policy enforced. Passwords must be 8+ characters and are case sensitive during database creation.
    2. Invalid password provided
    3. Password file created with wrong password.
    As you said you are able to login from sqlplus, so please check with the 1st & 3rd options.
    Best Regards,
    Venkat

Maybe you are looking for