How to activate OEM in oracle 10G

Hi, I want to know how to activate oracle enterprise manager, not grid control. This is and old database in oracle 10g,
running in IBM server with OS AIX 5.3. It was unused, but now we need to execute some process in it, and I need a tool
to help with this process.
I got other databases in other server, but they are in clusters (RAC), with these DBs I don't have any problems,
when I go to ORACLE_HOME/bin I see emctl, but in the old db when I go to ORACLE_HOME/bin
I don't see emctl. My doubt is, how can I activate OEM in this DB? Do I need to download something?
Thanks for your help.
ANG

Hi mnazim;
I executed the command and I got this:
INFO: Repository successfully created
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig updateReposVars
SEVERE: File/directory /home/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
Could not complete the configuration. Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log
for more details.
I verified the aforementioned log and these are the last lines:
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Error executing /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil
/home/oracle/product/10.2.0/perl/lib:/home/oracle/product/10.2.0/perl/lib/site_perl:/home/oracle/product/10.2.0/sysman/admin/scripts:/home/oracle/product/10.2.0/bin:
%s_perlBin%/perl /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil.pl /home/oracle/product/10.2.0 IPTVLAB 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
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Failed to unlock mgmt_view account
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
     at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
     at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
     at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
     at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
     at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
This is the line in emca_2009-10-28_11-26-52-AM.log (another log) in same dir as previous.
SP2-0310: unable to open file "/home/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"
Thanks for your help.

Similar Messages

  • How to delete client from oracle 10g ASM

    Hi,
    I would like to know how to delete client from oracle 10g ASM, while configuring Dataguard in same windows os i have by mistake created the standby in ASM.
    However later i have corrected the datafile destination. My Primary database is in ASM and the standby in disk.
    Could anyone please tell me how do i delete the client from ASM. On view from asmcmd it shows db_unknown and from v$asm_client
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    Thanks and regards,
    shaan

    Hi Deepak,
    Pls see the result from the view, i wanted to delete stby
    SQL> select * from v$asm_client;
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    2 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    regards,
    shaan

  • How to export AWM in Oracle 10g

    Hi All,
    Im doing export of my Analytical Workspace with option tables=AW$TEST, this command failed and thrown EXP-00055: CALLDETAIL_TEST.AW$TEST is marked not exportable, i checked NOEXP$ table and i can find my AW name in it, according to table definition i cann't perform export of those objects listed in NOEXP$ table right, I want to know from you pals how can i export AW and then import it ?
    Need your feedback asap.
    Thanking you pals in advance
    Hassan khan

    Abhii wrote:
    How to store image in Oracle 10g?
    any example ?http://www.google.co.in/search?rlz=1C1GGLS_enIN321IN321&sourceid=chrome&ie=UTF-8&q=How+to+store+image+in+Oracle
    HTH
    Aman....

  • How to use iframes in oracle 10g

    I have to load two jsp pages in a single html . I have done that thru iframes. But i have to dynamically load the second jsp page in the frame 2 , when the user clicks upon certain details in the frame 1 jsp page. I have wriiten the code of document.iframe in format trigger attribute. It doesn't work. Is there any other way to achieve this. I want to load the frame 2 jsp page dynamically , according to the input i get from frame 1 jsp page.

    Hi,
    >>Anybody know how to use profiler in oracle 10g
    What do you mean "profiler". About Resource Limits/Create Profiles ?
    >>i couldn't able to install the enterprise manager console.
    What OS ?
    >>because i need to trace the execution of a stored procedure.waiting the reply.
    Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
    Cheers

  • How to Send mail in oracle 10g

    I am new in oracle developer.....we are using oracle 10g developer...how to send mail through oracle 10g on a button click.pease help me.
    Thanks in advance

    This question have been asked many times on this forum, see if you get help from following:
    https://forums.oracle.com/message/5395438#5395438
    Search results: https://forums.oracle.com/thread/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=form+email
    Check this out as well:
    http://nzchaudhry.wordpress.com/2013/05/31/send-report-via-email-attachment-in-oracle-forms-10g/
    You can find init.ora or initSID.ora file under $ORACLE_HOME/dbs on linux and on Windows under $ORACLE_HOME/database. Otherwise you can create it using "create pfile from spfile" command
    Aneel

  • How to Use Profiler in ORACLE 10g

    Hi all,
    Anybody know how to use profiler in oracle 10g and also i couldn't able to install the enterprise manager console.is there any tools available for that.because i need to trace the execution of a stored procedure.waiting the reply.
    Sathish

    Hi,
    >>Anybody know how to use profiler in oracle 10g
    What do you mean "profiler". About Resource Limits/Create Profiles ?
    >>i couldn't able to install the enterprise manager console.
    What OS ?
    >>because i need to trace the execution of a stored procedure.waiting the reply.
    Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
    Cheers

  • How to recreate datafile in oracle 10g.

    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PM

    898085 wrote:
    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PMDid u mean create or recreate?
    if datafie is deleted then you may add it into existing tablespace.
    Try this : -
    1.)sqlplus sys/xx as sysdba
    2.)alter tablespace <tablespace_name> add datafile <datafile_name> size <give size>;
    HTH:-)

  • How to Configure Webutil in Oracle 10g Developer Suit

    Dear All,
    How to Configure Webutil in Oracle 10g Developer Suit.
    Please give me the step by step solution.
    Thanks and Regards,
    Fazil

    This is a very frequently asked question. Searching the Forum or the Forms Help system would have given you your answer! Search Forms Help on "Configure WebUtil" and read the configuration guide and checklist articles.
    Craig...

  • How to install and configure Oracle 10g Express Edition on Fedora 11?

    Hi everyone!
    I have recently installed Oracle 10g XE on my Laptop Gateway T-1625, which has Fedora 11.
    I followed the install instructions on [http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm] , and configured the server as explained, but something is wrong... When I try to go to the database home page http://127.0.0.1:8080/apex, I get "Failed to Connect" on Firefox 3.5b4... I don't think it's because of the Firefox version because it's proved to be very stable (for a beta).
    I've search for similar issues on GNU/Linux and I found this thread in these forums: [ http://forums.oracle.com/forums/thread.jspa?threadID=915218&tstart=0] , but the solution is for Ubuntu 9.04, and if it's possible I would like to know a specific solution for Fedora 11.
    I also tried to see the oracle server status with:
    # /etc/init.d/oracle-xe status
    And I got this....
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2009 22:10:31
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=talos)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    I hope someone can help me out and guide me on the right direction. Thanks a lot!

    Hi again!
    After your last post I realized that the dba group and the oracle user already existed.
    #groupadd dba
    groupadd: group dba exists
    #useradd oracle -d /home/oracle -s /bin/bash -g dba
    useradd: user oracle existsHowever, I finally assigned a password for that account and changed the ownership of the /usr/lib/oracle/xe
    with the commands you suggested:
    passwd oracle
    chown -R oracle:dba /usr/lib/oracle/xeAfter this, I can log in as the oracle user but the SELinux showed a warning and the /usr/lib/oracle/xe
    is treated as the oracle home, and no .bashrc file is located on this home. This is the SELinux warning:
    SELinux is preventing gdm-session-wor (xdm_t) "write" to /usr/lib/oracle/xe (lib_t).
    Details:
    SELinux denied access requested by gdm-session-wor. /usr/lib/oracle/xe may
    be a mislabeled. /usr/lib/oracle/xe default SELinux type is user_home_dir_t, but its
    current type is lib_t. Changing this file back to the default type, may fix your problem.
    File contexts can be assigned to a file in the following ways.
      * Files created in a directory receive the file context of the parent
        directory by default.
      * The SELinux policy might override the default label inherited from the parent directory
    by specifying a process running in context A which creates a file in a directory
    labeled B will instead create the file with label C.
        An example of this would be the dhcp client running with the dhclient_t type and
    creates a file in the directory /etc. This file would normally receive the etc_t type due
    to parental inheritance but instead the file is labeled with the net_conf_t type
    because the SELinux policy specifies this.
      * Users can change the file context on a file using tools such as chcon, or restorecon.
    This file could have been mislabeled either by user error, or if an normally confined
    application was run under the wrong domain.
    However, this might also indicate a bug in SELinux because the file should not have
    been labeled with this type.
    If you believe this is a bug, please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
    against this package.
    Allowing Acces:
    You can restore the default system context to this file by executing the restorecon command.
    restorecon '/usr/lib/oracle/xe', if this file is a directory, you can recursively restore using
    restorecon -R '/usr/lib/oracle/xe'.
    Fix command:
    restorecon '/usr/lib/oracle/xe'I suppose the command #useradd oracle -d /home/oracle -s /bin/bash -g dba is where I can define the user's home, but if this user already exists how can I modify its settings?
    is SELinux preventing the .bashrc file to be created? or what could be causing this?.
    I hope you know how much I appreciate your help and want to thank you for your time.

  • How to know whether my oracle 10g instalation in unicode supported or not

    Hi
    i am new to oracle. I have installed Oracle 10g client and server.
    I want to know whether the database created can store unicode data/arabic data.
    Please guide me how can i find whether unicode support is on for my db or not.
    The outputs of some of the queries run by me are as follows:
    SQL> HOST ECHO $NLS_LANG;
    $NLS_LANG
    SQL> HOST ECHO %NLS_LANG%;
    %NLS_LANG%
    SQL> @.[%NLS_LANG%];
    SP2-0310: unable to open file ".[AMERICAN_AMERICA.WE8MSWIN1252]"
    SQL> select cust_eng_name,cust_arb_name from custmast;
    select cust_eng_name,cust_arb_name from custmast
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Please reply me asap.

    user10817093 wrote:
    1. Yeh that is the thing I want. What are the other steps that i need to do with my Oracle Client/Server for unicode support.
    Where i am getting trouble is the Oracle Client/Server unicode support.
    And how to decide what character set will suite me best.1. If your application is going to be a "true" Unicode application, you can set the NLS_LANG registry/environment setting on your clients to ".UTF8" to enable true Unicode support.
    2. Your database needs to support Unicode, too.
    The recommended database character set for this in 10g is "AL32UTF8".
    If you currently have a single-byte database character set (WE8MSWIN1252), you need to decide how to get this done.
    If you can simply create a new database using the "AL32UTF8" character set, this would be the easiest way.
    There are several documents available (e.g. on Oracle MetaLink) that describe in detail how to convert the character set of an existing database. Depending on your data this can be a tedious task involving several steps, so may be creating a new database and exporting/importing the data might be the simplest choice if you need to migrate some existing data.
    The recommended national character set is "AL16UTF16", by the way, but that shouldn't matter that much once you have a Unicode enabled database using "AL32UTF8" as database character set.
    2. How to set/retrive the "Database Character Set" and "National Character Set". This has already been answered partly. Retrieve:
    Database Character Set:
    SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';National Character Set:
    SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_NCHAR_CHARACTERSET';In most of the cases you can't just simply set/alter the character sets, as outlined above.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • OEM in Oracle 10g

    Hi All,
    I have installed oracle 10g on HP-UX 11.23 Itanium server. I have created two databases with different OS User. both databases are running very fine. But problem is that OEM for one of them is working and for other database OEM is not working. Both databases are in archival mode.
    Please reply me as early as possible.
    Regards,
    Nirav Patel

    hi
    some problem i was face yesterday..
    u want to manage 2nd db through OEM but ur not able to do so.
    first what is ur db name 1st and 2nd...
    and what is way u use to access OEM if u use OEM through webbrowser then what URL u give...
    if u give http:/"host-name":5500/em/console --- this is for ur first db..
    5500 is a oracle port to access db through OEM..
    then u find out ur 2nd db port. for u do this cmd.
    u go cmd prompt
    cmd>set oracle_sid = "2nd db name"
    cmd>emctl status dbconsole
    after enter this cmd. u will get URL AND PORT FOR UR 2nd database..
    good luck
    mohdi Jr.dba

  • How to use help in oracle 10g XE

    Hello,
    I just wanted to know how to use help in sql command line in oracle 10g XE
    regards,
    Sreekanth.

    Hi thankyou very much for the answer, that web-page is very good but....
    I was hoping for answer that would walk me through the help command used in the SQL PLUS like: "help create"
    after i have read few manuals i came to know we can use @hlpbld.sql for building help tables it asks me for entering value 1 and 2, after that it exits the prompt and when i re-login i dont see "help command" working...
    any comments ot procedure to do this...

  • How to create dblink between oracle 10G and mysql

    I want to create dblink between oracle 10G and mysql
    I create it in ECC6.0 using DBCO transaction tcode,which database type can choose?Microsoft sql server?Because there have no mysql item.
    I choosed MSS  so that I can test it, but it failed,there is an error that 'ORA-12569:TNS:packet checksun failure'.
    I configured the oracle tnsnames.ora file like this:
         CW.WORLD =
               (DESCRIPTION =
                    (ADDRESS_LIST =
                          (ADDRESS =
                                  (COMMUNITY = SAP,WORLD)
                                  (PROTOCOL = TCP)
                                  (HOST = XX.XX.XX.XX)
                                  (PORT = XXXX)
                   (CONNECT_DATA =
                        (SID = XXX )
                   (HS = ok )
    When I tnsping CW,it will fail,like this " TNS-12569:TNS:packet checksum failure"
    How can I do.

    I want to know if this possible?

  • How to debug BPEL in Oracle 10G / Oracle 11G

    Hi All,
    How can we debug BPEL in Oracle 10G / Oracle 11G .
    We are working on RosettaNet conversion in BPEL. We would like to debug BPEL
    Appreciate your help.
    Regards
    Vijay

    Hi
    I need to debug BPEL code in same manner how we debug Java Code ( Line by Line ) .
    We are working with Java CAPS and Glassfish ESB for last 5 yrs. In NetBeans we debug BPEL in the same manner how debug Plain Java CODE.
    Have a look at below link
    http://wiki.open-esb.java.net/Wiki.jsp?page=TestingAndDebuggingBPELProcesses
    I am looking for same sort of options to debug BPEL using Jdeveloper.
    Regards
    Vijay

  • How to Restore datas in Oracle 10g using hot backup?

    I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
    Now backup files are stored in physical location..
    How to restore the datas to original location..
    Can any one give the url or command for recovery in ora 10g for hot backup
    Thanks

    Please do not dump all of your work in this forum, and expect volunteers to do it for free!!!
    Dear Great Senior DBA Sybrand Bakker
    What are Oracle Discussion Forums?
    Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
    oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
    There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
    Obeasley oracle doubts are mostly related to practical issue only……
    Pls try to learn the word meaning of “volunteers”

Maybe you are looking for

  • Creating a Cube using pure OLAP DML

    This should be quite simple, but neither reading OLAP_*.pdf nor googling helped me, so maybe you can give me a hint where to look: I want to create dimensions, populate them, create a cube, and finally populate it, using just OLAP DML (i.e. no DBMS_A

  • NF750-G55

    Hello, My Specs: Summary       Operating System          MS Windows 7 Ultimate 64-bit       CPU          AMD Phenom II X4 955   34 °C          Deneb 45nm Technology       RAM          4.0GB Single-Channel DDR3 @ 733MHz (9-9-9-20)       Motherboard   

  • Cross System object lock

    We have implemented Charm in Solman 7.0 Ehp1. I have activated 'cross system object lock' both globally (report tmwflow/config_services) and in satellite System (tcode- /n/tmwflow/cmsconf). am able to change the same table again which i had edited ea

  • Wheres my Unix OWB 10 G

    Hi all, I am possibly one of the few using OWB on Solaris. When can we expect to see the Unix OWB 10G ??? No good having only the Dev Client for 10G. I want to upgrade my server components, although, Im not going to use the upgrade script, the versio

  • What does this code do? Causing xtra space below Flash

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="538" height="146" id="FlashID4" title="debt solutions"> I have spaces below every SWF file. But when I remove this - it goes away. (Shows up in FireFox) What will happen with this de