Emca -config emkey error running on windows 2003 r2

Hello
I have recreate EM using ...
Step One:-
SHUTDOWN IMMEDIATE;
STARTUP RESTRICT;
DROP USER sysman CASCADE;
DROP ROLE mgmt_user;
DROP USER mgmt_view;
DECLARE
CURSOR c1 IS
SELECT owner, synonym_name name FROM dba_synonyms WHERE table_owner = 'SYSMAN';
BEGIN
FOR r1 IN c1 LOOP
IF r1.owner = 'PUBLIC' THEN
EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
ELSE
EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
END IF;
END LOOP;
END;
ALTER SYSTEM DISABLE RESTRICTED SESSION;
Step two:-
emca -config dbcontrol db -repos create
While the processes run ok untill I get an EMKEY error:-
SEVERE: Error copying Em Key to Management Repository. The Em Key is not configu
red properly or is corrupted in the file system and does not exist in the Manage
ment Repository. To correct the problem:
1) Copy the emkey.ora file from another OMS or backup machine to the G:\app\Adm
inistrator\product\11.2.0\dbhome_1/sysman/config and run following commands:
i) G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
ii) G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -copy_
to_repos
iii) Run EM Configuration Assistant again
2) If emkey.ora is not available from backup, run G:\app\Administrator\product\
11.2.0\dbhome_1/bin/emca with -repos create option.
I tried running emctl config and getting error:-
C:\>G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1\c100795_orcl\sysman\config/emkey
.ora -force
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Please enter repository password:
Exception caught
3
java.lang.ArrayIndexOutOfBoundsException: 3
at oracle.sysman.util.crypt.DataHolder.getSet(Crypt.java:780)
at oracle.sysman.util.crypt.Crypt.decryptAsByteArray(Crypt.java:256)
at oracle.sysman.util.crypt.Crypt.decrypt(Crypt.java:227)
at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(Con
figManager.java:1225)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1150)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1127)
at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:105)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:478)
What am I doing wrong?
All help very welcome
Thanks, Pete

Dear Deebee
Still seeing the same problem
This is what I have done (incorrectly I believe) ...
1) Removed (after taking a back up) file and folders from
ORACLE_HOME/host_sid/
ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_host_sid
2) run emca -config dbcontrol db -repos create
3) run
G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfile G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
got follwoing error ...
Can't find file G:\app\Administrator\product\11.2.0\dbhome_1/c100795_orcl/sysman/config/emoms.properties
4) Replaced the G:\app\Administrator\product\11.2.0\dbhome_1/c100795_orcl/sysman/config/emoms.properties from the back up
5) rerun G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfile G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
got the same error as before ...
C:\>G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Please enter repository password:
Exception caught
3
java.lang.ArrayIndexOutOfBoundsException: 3
at oracle.sysman.util.crypt.DataHolder.getSet(Crypt.java:780)
at oracle.sysman.util.crypt.Crypt.decryptAsByteArray(Crypt.java:256)
at oracle.sysman.util.crypt.Crypt.decrypt(Crypt.java:227)
at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(Con
figManager.java:1225)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1150)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1127)
at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:105)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:478)
Hope this makes sense?
Regards
Pete

Similar Messages

  • The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher.

    Dear Support Team,
    i am having the error ''The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher'' from lync 2013 during the schema master prepare on windows server 2008r2 and my forest functional
    level are 2008r2.. so can you help me please...?

    Dear Support Team,
    in my network there are one forest and two domain controller (primary and secondary).. my domain functional
    level is windows server 2008r2.. but i am still receiving error.. when i hit the run button for schema prepare its says:
    ServerSchemaPrepareTask execution failed on an unrecoverable error.
    and when i open log it sasys: 
    Error: The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher.
    kindly help me

  • Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    I have searched my computer for that file SQlite3.dll and also file QTCF.dll and I cannot find either one when I search my whole computer for it.  I cannot fix this!  I deleted Itunes and every time I try to download it, it goes through all this download till the end when it says that iTunes.exe-entry point now found and that Procedure entry point message comes up.  HELP!  This is driving me crazy.  How can I get itunes to work again when I can't find the danged .dll file to remove, move or rename!?!?!??

  • Will BOBJ Enterprise 6.5 SP3 run on Window 2003 server standard edition?

    Trying to trace some documentation on system requiremetns for Business Object 6.5 but cannot find any...maybe i'm looking in the wrong place. My query is does anyone know if Business Objects Enterprise 6.5 SP3 will run on Windows 2003 Server Standard Edition with Apache 2.0.50 and Tomcat 5 ?
    Thanks
    Roy

    The answer is YES. Business Objects Enterprise 6.5 SP3 will run on Windows 2003 Server Standard Edition with Apache 2.0.50 and Tomcat 5

  • Dreamweaver CS3 running on Windows 2003 Server, How to do a License Swap to a new Hardware

    Hello, I have an urgent Licensing question belonging Adobe Dreamweaver CS3 running on Windows 2003 Server.
    How to do a License Swap to a new Hardware which runs currently on an Image of another Server (same HW), this License needs to be exchanged by the original Licence, however the MAC address has changed due to the HW-SWAP,  Serial Number of the "Adobe Dreamweaver CS3" is available,
    Is there a Adobe hotline existing, which could support?
    Thank you very much.
    hihtec

    download the endpoint.dll
    Posted by WebUser Jj C V Bautista from Cisco Support Community App

  • New create desktop shortcut GPO is causing 1030 and 1058 errors on a Windows 2003 terminal server

    Primary DC: Win2012.  BDC: Win2008. Clients: Win7, Win8.1.  Maintaining an old Win2003 terminal server to run legacy software.
    Everything works fine for a look time until I added a new GPO to create a desktop shortcut on the client machines, Windows 2003 runs into Error 1030 (Cannot query list of GPO) and Error 1058 (Cannot access the file gpt.ini for GPO, The system cannot find
    the path specified) GP processing aborted).
    Tried changing the GPO to target Win7 and 8.1 only.  Tried creating shortcut using Computer Config settings only as well as User Config settings only.  Deleting the GPO and creating it from scratch.  Nothing works, as soon as GPO is in place,
    it disables the Win2003 from processing any other GPO. 
    No issue with the client machines or other Windows servers. 
    Thanks in advance for any help.
    Roget Luo

    Hi Roget,
    Thanks for posting here.
    Error 1030 and 1058 could be caused by many aspects.
    Firstly, please run the command dcdiag on the command prompt of a DC to check if there are any error.
    Secondly, make sure the DFS service is started on the domain controller, and set the Startup type to automatic.
    What's more, make sure the TCP/IP Helper service  is started on the domain co, set it to Automatic and started it.
    For your information, please refer to the following link to get more help:
    Userenv errors occur and events are logged after you apply Group Policy to computers that are running Windows Server 2003, Windows XP, or Windows 2000
    http://support.microsoft.com/kb/887303/en-us
    How to solve event 1058 and 1030 on Windows Server 2003 SP2 member server in a domain?
    http://social.technet.microsoft.com/Forums/en-US/ceec95fb-3efa-4016-8dd5-7003909abba4/how-to-solve-event-1058-and-1030-on-windows-server-2003-sp2-member-server-in-a-domain?forum=winserverDS
    Windows 2003 Server USERENV 1058 & Group Policy Errorshttp://social.technet.microsoft.com/Forums/en-US/fad9cd47-5091-481f-8bda-0e7b10b2c814/windows-2003-server-userenv-1058-group-policy-errors?forum=winservergen
    Group Policy - Event ID Errors 1030 & 1058
    http://social.technet.microsoft.com/Forums/en-US/6c08278d-c3e3-434a-bcda-18d411a8e9fa/group-policy-event-id-errors-1030-1058?forum=winserverGP
    Hope it helps.
    Best Regards,
    Elaine
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Error message on Windows 2003 and Satellite M40x-184

    hi
    my laptop is Satellite M40x-184
    with Os Xp Home edition
    I want to insatall a second Os which is Windows 2003
    but while installing it, happend a problem and the gives me a blue screen with this message:
    'hardware malfunction nmi parity check / memory parity error the system has halted'
    Please tell me how i can install 2 Os xp home edition and Windows 2003
    thanks

    Hi
    This error message can occur if a hardware component malfunctions, or if there are damaged or incompatible drivers installed.
    To solve this problem remove any extra memory modules that are in the computer, leaving only the least amount that is required for the computer to start and run Windows. Restart the computer to see whether the error messages persist.
    This issue was described on the Microsoft website.
    Please check this site:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;315223&product=winxp

  • Oracle discoverer 9i can not running at windows 2003 server

    Hi, Please help me.
    When I upgrade from windows 2000 advance server to windows 2003 server the oracle discoverer 9i can not be open. When I open it there is a error "Failed to open document"
    How to make it run smoothly at windows 2003 server?
    Thank You

    Hi,
    This is a bug in your version of Discoverer. There is a patch to make it work with windows 2003 or you can upgrade your Discoverer to a later version. The patch should be available from Oracle support. I don't know of anyway to make your version work with 2003.
    Rod West

  • XServe running MS Windows 2003 server + MS SQL 2005

    I am planning to deploy 3 XServes,
    One running Windows 2003 Server + MS SQL 2005
    the other 2 runnung Windows 2003 Server + MS Terminal Server
    Wonder if there's anyone can share the experience for the above configuration?
    Rgds,
    chiacy

    Digging around Macbytes.com, I came across this article:
    http://weblog.infoworld.com/enterprisemac/archives/2006/12/killtwowindow.html
    To quote:
    "I have tested, and continue to run in a production setting, two instances of Windows 2003 Server hosted by Parallels Desktop, running on OS X Server 10.4.8 on a 3 GHz Xserve. To skip to the punch line, it works, and it's as fast as all get-out."
    HTH
    Xserve Dual 2.3 GHz   Mac OS X (10.3.9)  

  • ColdFusion 5 - will it run under Windows 2003 Enterprise Server R2?

    I currently have ColdFusion 5 running on Windows 2000 and
    need to upgrade the os
    to 2003 Enterprise R2. I don't know, but I'm guessing, it
    will easier to continue using 5
    than to upgrade to 7 or 8.

    It could be a couple things;
    CTC only runs (and / or only runs well) on the specified version of JRE. It doesn't like anything older, it doesn't like anything newer ... the suggested version (1.3.something last time I looked - I don't remember off the top of my head).
    CTC takes forever to initialize (in some cases on our Lab stuff, I'm talking minutes ... up to 5-7 MINUTES before anything comes up).
    Start it and go have lunch, if it's not up when you get back, downrev your JRE and try again (then go home for the night, and see if it's up in the morning).
    If it's still not up, then try it on Windows 2000 server (or a VMware / VirtualPC session on S2003).
    If you're running it through something like a Citrix server, take a vacation for a few days ....
    This is not one of Cisco's finest software endeavours.
    Good Luck
    Scott

  • 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

  • Tests do not run on Windows 2003 server

    I got all my unit tests running fine on my local machine but I had a few issues getting them to work on the build server.
    The first problem was that ant task was looking for c:\windows, the 2003 windows directory is c:\winnt.
    A change to WindowsSWFLauncher.java fixed this:
    private final String localTrustedDirectory = System.getenv( "windir" ) + "\\system32\\Macromed\\Flash\\FlashPlayerTrust\\";
    the next problem was that the FlashPlayerTrust directory didn't exist so I had to create it myself on the build server. (ant task should probably do this if it doesn't exist but my java skills aren't up to that!).
    At this point the runners got built and the trust file was created but the ant task timed out. If I ran the swf myself on the build server it launched but no tests ran. I manually created a trust file that trusted my whole deploy directory. The runners then launched ok and all reports got built.
    I think the reason the trust file didn't work is because the file location in the ant task generated cfg file is:
    C:\Build\AntWorkspace-FlexClient\ant\..\DEPLOY\REPORT\myRunner.swf
    when it should be
    C:\Build\AntWorkspace-FlexClient\DEPLOY\REPORT\myRunner.swf
    I imagine that this would be a fairly simple problem to fix.

    @Roaders - Thanks for the footwork on this.  I'll get the suggested fix into a patch and off to Mike.  Unforunately, the path that's being written to the local trust file involves a fix for the Ant task to handle absoluate path conversion for the SWF path that's passed in the SWF attribute.  The way we're launching the flash player on the Mac has proven to make this promblematic, so we haven't implemented the fix yet.  When it's in place though, the absolute path to the SWF should show up correctly in the file.  I'm gonna look into the FP security spec as well and see if we can grant the entire directory holding the TestRunner.swf local trust or not.  Thanks again for the help, hopefully this weekend I can dive in.
    -Brian

  • Error when login windows 2003 server: Generic host process for win32 services has encountered a problem and needed to close

    Hello, Yesterday I've upgraded from Windows Server 2003 R2 Standard x86 to Enterprise. After upgrade I had to download and reinstall all updates about 130. The error from the topic title appears at logon. Another thing is Automatic Updates won't start
    and because of this other services that are set to Automatic just stop. Here is the list of services: Application Management, BITS, COM+ Event System, Cryptografic Services, Distribuited Link Tracking Client, Help and Support, Logical DIsk Manager, Performance
    Logs and Alerts, Server, Shell Hardware Detection, Workstation .... Error print screen: http://i.imgur.com/QPpMV6w.jpg appcompact.txt can be viewd here: http://textuploader.com/1bow Need to solve this issue asap, thank you in advance.

    Hi,
    Please try to update the hot fix then monitory the status again, at same time that error ome times also can cause by virus infection some time please back up important files
    update your AV soft then scan the virus.
    The relate hot fix:
    The Service Host process may stop unexpectedly in Windows Server 2003
    http://support.microsoft.com/kb/932762/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to change domain name on Windows 2003 running Exchange 2007

    Hi all,
    I have a windows 2003 server running Exchange 2007.  I am wanting to rename the domain, however when I search the web for the process to perform a rename of the domain I see "The domain rename operation is not supported in Microsoft Exchange Server 2007". 
    How can a domain name be changed?  http://technet.microsoft.com/en-us/library/cc781575%28v=ws.10%29.aspx
    The server runs active directory, dns, dhcp, and Exchange 2007.
    This change is being inspired by the change with SSL certs where internal addresses like .local will no longer be supported in the third party certificate registrars.  Recently we renewed our cert and did not include the .local URL.  Now the internal
    systems are getting warnings about the cert.   I tried generating an internal self signed cert but it seems only one cert can be valid with exchange 2007 running on windows 2003.  Thus the internal cert replaced the external cert and allowed
    the internal systems to run without complaining about the cert but the external access was causing warnings.  I reversed back to the third party cert.  This cert has company.com and mail.company.com and autodiscovery.  I believe if I rename
    the server to server2.company.com the autodiscovery will allow the server2 to be mapped to company.com and the cert will be valid for internal clients.
    Do I have this correct?  Are there errors with what I have found so far?
    Any suggestions about how to solve this issue short of getting a new server? How can I rename the domain?

    Hi,
    As you mentioned, the domain rename is not supported in Microsoft Exchange Server 2007.
    About your question with certificate, we can change URLs to xxx.domain.com. More details about this workaround, please refer to:
    https://support.microsoft.com/kb/940726?wa=wsignin1.0
    Note: please make sure the same name with certificate.
    Additional, Microsoft do not recommended to install Exchange server on a DC. I suggest install Exchange server on a member server. More details to see:
    Installing Exchange on a domain controller is not recommended
    http://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.warninginstallexchangerolesondomaincontroller(v=exchg.150).aspx
    Best regards,
    Allen Wang

  • Change the User ID running the SunOne Directory Server 6.3 on Windows 2003

    Hi Experts,
    I have an install of SunOne Directory Server Enterprise edition 6.3 running on Windows 2003 server. It was installed using the Zip distribution and is running as a user ID in the Active Directory the server is part of. We are trying to change the user ID to a service account (not the current ID which belongs to a person), so that the Sun DS can run as a service within Windows 2003 server. Need help in doing this without having to re-install the Directory server. Has anyone done this and is it possible to do?

    Thank you very much for the insights and the responses sharmy28.
    Appreciate it very much.
    All I had to do was change the setting in this file only:
    Open the file dsee6/cacao_2/etc/cacao/instances/default/private/cacao.properties and change the below line with new id...
    # Define username and groupname for cacao process
    process.username=sunadmin
    process.groupname=sungroup
    As this is Windows 2003 and the installs are all default values, I had to reboot the server for the change to take effect.
    The file dsee6/cacao_2/usr/lib/cacao/lib/tools/scripts/globals.cfg does not exist. However the same file exists under the perl directory as globals.pl and the settings you specified are present there. In our case these were commented out and so I left them as is.
    Thanks once again for your responses which helped me solve the issue we had.
    Thanks.

Maybe you are looking for