Emca -config dbcontrol db + Can't find file emoms.properties

HI,
Recently we upgradated the database from oracle 11.2.0 to 11.2.0.3 afte that i am unable to start the oem
now i am configuring the dbcontrol by the following command:
emca -config dbcontrol db
but getting the error
Please enter repository password:
Exception caught
Feb 13, 2013 12:04:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommandExitValue
CONFIG: stty: standard input: Invalid argument
stty: standard input: Invalid argument
Can't find file /orahome/oracle/product/11.2.0.3/db_1/youtele_pindb/sysman/config/emoms.properties
java.lang.IllegalStateException: Can't find file /orahome/oracle/product/11.2.0.3/db_1/youtele_pindb/sysman/config/emoms.properties
        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1154)
        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1127)
        at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:111)
        at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:507)
log4j:WARN No appenders could be found for logger (sec.rep.EmKeyUtil).
log4j:WARN Please initialize the log4j system properly.
Feb 13, 2013 12:04:54 PM oracle.sysman.emcp.util.DBControlUtil copyEmkeyToRepos
SEVERE: Error copying Em Key to Management Repository. The Em Key is not configured properly or is corrupted in the file system and does not exist in the Management Repository. To correct the problem:
1) Copy the emkey.ora file from another OMS or backup machine to the /orahome/oracle/product/11.2.0.3/db_1/sysman/config and run following commands:
i) /orahome/oracle/product/11.2.0.3/db_1/bin/emctl config emkey -emkeyfile /orahome/oracle/product/11.2.0.3/db_1/sysman/config/emkey.ora  -force
ii) /orahome/oracle/product/11.2.0.3/db_1/bin/emctl  config emkey -copy_to_repos
iii) Run EM Configuration Assistant again
2) If emkey.ora is not available from backup, run /orahome/oracle/product/11.2.0.3/db_1/bin/emca with -repos create optionAppreciated inputs on the above errors
Thanks

actually the above error provide with solutions also.

Similar Messages

  • 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');

  • ./emca -config dbcontrol db -repos create

    Hi,
    i would like to configure the EM and i get the following message
    Jul 20, 2010 10:37:19 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_10-36-36-AM.log.
    Jul 20, 2010 10:37:20 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jul 20, 2010 10:37:23 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jul 20, 2010 10:37:23 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jul 20, 2010 10:37:23 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_create_<date>.log for more details.
    Jul 20, 2010 10:37:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_10-36-36-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_10-36-36-AM.log for more details.
    Can anybody help me
    Thanks

    aix014:oradb1 43> ./emca -config dbcontrol db -repos recreate
    STARTED EMCA at Jul 20, 2010 12:51:53 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: db1
    Database Control is already configured for the database db1
    You have chosen to configure Database Control for managing the database db1
    This will remove the existing configuration and the default settings and perform a fresh configuration
    Do you wish to continue? [yes(Y)/no(N)]: y
    Listener port number: 1563
    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 ................ /oracle/db1/102_64
    Database hostname ................ aix014
    Listener port number ................ 1563
    Database SID ................ db1
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jul 20, 2010 12:52:22 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_12-51-53-PM.log.
    Jul 20, 2010 12:52:24 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/db1/102_64/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=aix014)(PORT=1563)))(CONNECT_DATA=(SERVICE_NAME=db1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_2010-07-20_12-52-27-PM.log
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_<date>.log for more details.
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_12-51-53-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_12-51-53-PM.log for more details.
    aix014:oradb1 44> more /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_2010-07-20_12-52-27-PM.log
    [20-07-2010 12:52:27] Enter SYS user's password :
    [20-07-2010 12:52:27]
    [20-07-2010 12:52:27] Enter repository user password :
    [20-07-2010 12:52:27]
    [20-07-2010 12:52:27] Getting temporary tablespace from database...
    [20-07-2010 12:52:27] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=aix014)(PORT=156
    3)))(CONNECT_DATA=(SERVICE_NAME=db1))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    lsnrctl status seem as follow
    aix014:oradb1 45> lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:54:55
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=db1.WORLD))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
    Start Date 19-JUL-2010 14:40:24
    Uptime 0 days 22 hr. 14 min. 30 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /oracle/db1/102_64/network/admin/listener.ora
    Listener Log File /oracle/db1/102_64/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=db1.WORLD)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=db1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.8.167)(PORT=1563)))
    Services Summary...
    Service "db1" has 2 instance(s).
    Instance "db1", status UNKNOWN, has 1 handler(s) for this service...
    Instance "db1", status READY, has 1 handler(s) for this service...
    Service "db1_XPT" has 1 instance(s).
    Instance "db1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_<date>.log:
    aix014:oradb1 43> more emca_repos_drop_2010-07-20_12-52-27-PM.log
    [20-07-2010 12:52:27] Enter SYS user's password :
    [20-07-2010 12:52:27]
    [20-07-2010 12:52:27] Enter repository user password :
    [20-07-2010 12:52:27]
    [20-07-2010 12:52:27] Getting temporary tablespace from database...
    [20-07-2010 12:52:27] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=aix01
    4)(PORT=1563)))(CONNECT_DATA=(SERVICE_NAME=db1))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    more emca_2010-07-20_12-51-53-PM.log
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/db1/102_64/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=aix01
    4)(PORT=1563)))(CONNECT_DATA=(SERVICE_NAME=db1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_rep
    os_drop_2010-07-20_12-52-27-PM.log
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_<date>.log for more details.
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_12-51-53-PM.log for more details.
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:183)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
    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)
    ...skipping...
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/db1/102_64/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=aix014)(
    PORT=1563)))(CONNECT_DATA=(SERVICE_NAME=db1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_dro
    p_2010-07-20_12-52-27-PM.log
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_repos_drop_<date>.log for more details.
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /oracle/db1/102_64/cfgtoollogs/emca/db1/emca_2010-07-20_12-51-53-PM.log for more details.
    Jul 20, 2010 12:52:27 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:183)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
    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)

  • SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'

    I'm trying to get Tiles to work with Struts on my server. I'm running a local instance of Tomcat v5.5. Development environment is Eclipse. I"ve looked everywhere on the web and can't find any solutions that work. I've been working on this for several days now. It shouldn't be this hard...
    I appreciate any help or suggestions people might have. I would really like to get beyond the configuration $#!^ and start coding.
    Thanks in advance!!!
    Jim
    Here are snippets from the pertinent files:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         admin</display-name>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>
                   org.apache.struts.action.ActionServlet
              </servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>          
         </servlet-mapping>
         <jsp-config>
              <taglib>
                   <taglib-uri>struts-bean</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-logic</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-html</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-tiles</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
              </taglib>
              <!-- The following tag library info was added for JSTL libraries. -->
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x-rt.tld</taglib-location>
              </taglib>
         </jsp-config>
    </web-app>
    struts-config.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "/WEB-INF/dtds/struts-config_1_2.dtd">
    <struts-config>
         <!-- ============================================ Data Source Configuration -->
         <data-sources />
         <!-- ================================================ Form Bean Definitions -->
         <form-beans>
         </form-beans>
         <!-- ========================================= Global Exception Definitions -->
         <global-exceptions />
         <!-- =========================================== Global Forward Definitions -->
         <global-forwards />
         <!-- =========================================== Action Mapping Definitions -->
         <action-mappings>          
              <action path="/foobar" forward="/createAccount.jsp" />
         </action-mappings>
         <!--
         ============================================= Controller Configuration
         <controller contentType="text/html; charset=UTF-8" />
         ======================================== Message Resources Definitions
         <message-resources
              parameter="com.xilinx.web.registration.struts.res.ApplicationResources" />
         =============================================== Plug Ins Configuration -->
         <!--======================================================= Tiles plugin -->
         <!--
              This plugin initialize Tiles definition factory. This later can takes some
              parameters explained here after. The plugin first read parameters from
              web.xml, thenoverload them with parameters defined here. All parameters
              are optional.
              The plugin should be declared in each struts-config file.
              - definitions-config: (optional)
              Specify configuration file names. There can be several comma
              separated file names (default: ?? )
              - moduleAware: (optional - struts1.1)
              Specify if the Tiles definition factory is module aware. If true
              (default), there will be one factory for each Struts module.
              If false, there will be one common factory for all module. In this
              later case, it is still needed to declare one plugin per module.
              The factory will be initialized with parameters found in the first
              initialized plugin (generally the one associated with the default
              module).
              true : One factory per module. (default)
              false : one single shared factory for all modules
              - definitions-parser-validate: (optional)
              Specify if xml parser should validate the Tiles configuration file.
              true : validate. DTD should be specified in file header (default)
              false : no validation
              Paths found in Tiles definitions are relative to the main context.
         -->
              <plug-in className="org.apache.struts.tiles.TilesPlugin" >
              <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
              <set-property property="definitions-debug" value="2" />
              <set-property property="definitions-parser-details" value="2" />
              <set-property property="definitions-parser-validate" value="true" />
              </plug-in>
         <!-- =================================================== Validator plugin
         <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
              <set-property property="pathnames"
                   value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
         </plug-in>
         -->
    </struts-config>
    tiles-defs.xml (in the WEB-INF directory as are the other xml files...):
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"     
                                                 "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
         <definition name="Tiles.register" page="/tiles/template.jsp">
              <put name="header" value="/tiles/header.jsp" />          
              <put name="body" value="/register.jsp" />
              <put name="footer" value="/tiles/footer.jsp" />
         </definition>
    </tiles-definitions>
    Console output when starting the server:
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Jul 7, 2006 11:36:41 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.xmlDefinition.I18nFactorySet initFactory
    SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    SEVERE: Can't create Tiles definition factory for module ''.
    Jul 7, 2006 11:36:43 AM org.apache.struts.action.ActionServlet init
    SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: null : Can't find file '/WEB-INF/tiles-defs.xml'
         at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet action as unavailable
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /admin threw load() exception
    javax.servlet.UnavailableException: null : Can't find file '/WEB-INF/tiles-defs.xml'
    I have the following jars in my Web App Libraries (WEB-INF/lib):
    standard.jar
    commons-fileupload.jar
    antlr.jar
    struts.jar
    commons-beanutils.jar
    commons-logging.jar
    commons-validator.jar
    myswl-connector-java-3.1.12-bin.jar
    struts-el.jar
    jstl.jar
    commons-digester.jar
    Struts is version: 1.2.9.
    JRE / JDK: 1.5.0_06 (Program files shows I have JRE 1.5.0_05 in the tree as well)
    Note: Struts will work if I comment out the tiles plug-in in the struts-config.xml file.

    you don�t call o files-defs.xml in jsp?

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

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

  • 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

  • Emca -config dbcontrol db  -repos create problem

    Hello,
    I have created database on Windows Server 2008, 11g R2 64 bit. Everything went good, but it didn't create the EM console.
    I drop the repository console and tried to create it again, but, I got this error:
    C:\Windows\system32>emca -config dbcontrol db -repos create -SID SPKDB -PORT 1521 -ORACLE_HOME C:\Or
    acle\Ora11g\dbhome_1
    STARTED EMCA at 2011.02.03 16:21:15
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database insta
    nce unavailable.
    at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
    at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1272)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    Listener is UP.
    Database service is up.
    Did anybody have the same problem?
    Regards,
    E.

    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-VEL-2011 16:47:43
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server12)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 03-VEL-2011 14:01:56
    Uptime 0 days 2 hr. 45 min. 51 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\Ora11g\dbhome_1\NETWORK\ADMIN\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\server12\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server12)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server12)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
    Service "spkdb" has 1 instance(s).
    Instance "spkdb", status READY, has 1 handler(s) for this service...
    Service "spkdbXDB" has 1 instance(s).
    Instance "spkdb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Windows\system32>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-VEL-2011 16:48:01
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server12)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "spkdb" has 1 instance(s).
    Instance "spkdb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:47 refused:0 state:ready
    LOCAL SERVER
    Service "spkdbXDB" has 1 instance(s).
    Instance "spkdb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:278 refused:0 current:3 max:1022 state:ready
    DISPATCHER <machine: SERVER12, pid: 2244>
    (ADDRESS=(PROTOCOL=tcp)(HOST=server12)(PORT=58758))
    The command completed successfully
    C:\Windows\system32>

  • Can not find file must locate each song one at a time need to restore my whole library

    can not find file, must locate each song one at a time need to restore my whole library

    Hello BadSteve,
    It sounds like iTunes seems to have lost track of all your music and you must locate each file individually. I would recommend at this point that you check for 3rd party plugins to see if there are any causing an issue:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/ts3430
    If the issue persists after removing the plugins, I would next try recreating your iTunes library:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I am trying to install itunes 10.5.1 but it can't find file IXP609.TMP where can i get this

    i am trying to install itunes 10.5.1 but it can't find file IXP609.TMP so stopping the upgrade.   how do i upgrade itunes?  I tried uninstalling but it can't find another file 389 so I can neither uninstall nor reinstall.  Any thoughts please?

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • I get itunes can't find file when I tried to play a TV show I had purchased that was supposed to be in the cloud. There are several of these, including an entire season. In the store it shows that I purchased these shows when I checked them.

    I get itunes can't find file when I tried to play a TV show I had purchased. I then checked and had this problem with an entire TV season I had purchesed. The shows were supposed to be in the cloud. I went to the itunes store, went to the tv shows and they showed that I had purchesed them. They do not show up when I click on purchesed in the store.

    Try this...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • 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

  • Execute "emca -config dbcontrol db -repos create" exception

    Hi,
    I want to recreate OEM configuration, so I execute the above command.
    The following is the exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: HTTPClient/ProtocolNo
    tSuppException
    at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.<clinit>(Agen
    tTargetInstaller.java:235)
    at oracle.sysman.emcp.target.TargetManager.getAgentTargetInstaller(Targe
    tManager.java:1008)
    at oracle.sysman.emcp.target.TargetManager.getLocalHost(TargetManager.ja
    va:1033)
    at oracle.sysman.emcp.ParamsManager.getLocalHost(ParamsManager.java:1037
    at oracle.sysman.emcp.ParamsManager.getHost(ParamsManager.java:3020)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChe
    cks.java:118)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.
    java:163)
    at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.jav
    a:582)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAss
    istant.java:1272)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.jav
    a:574)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    How to fix the problem?
    thank a lot

    Hi,
    I want to recreate OEM configuration, so I execute the above command.If you already have create the repository, then maybe you could check / try to drop the repository before firing the "-repos create" command?
    emca -config dbcontrol db -repos recreateor
    emca -repos drop
    emca -config dbcontrol db -repos createPS: not a good idea to do this in a production database during working hours, since your DB will go in quiesce mode while dropping the repository.
    HTH,
    Thierry

  • Emca -config dbcontrol db -repos create  TAKE LONG TIME

    hi,
    i want to create Enterprise Manager by the following command:
    emca -config dbcontrol db -repos create
    this work take long time ,how could i decrease time of creation enterprise manager?

    user498843 wrote:
    if i have some active session the emca will hang.
    Metalink says the database going to QUISEC mode.and thats better u havent any active session.
    then could i kill all active session or open database in resetlog.
    which is better?
    Do not open resetlog! What makes you think that has anything at all to do with this?
    >
    my memory is:
    total used free shared buffers cached
    Mem: 3951 3924 27 0 2 2670
    -/+ buffers/cache: 1252 2699
    Swap: 8191 2333 5858
    Edited by: user498843 on Oct 28, 2009 1:27 AM

Maybe you are looking for