How to recreate this file: emd.properties for EMCTL [message #466344] |
Mon, 19 July 2010 02:26 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
Sir/ Ma'am,
I cannot start our Enterprise Manager services for our newly created db. I'm encountering this error:
"$ emctl start dbconsole
Unable to locate file /appl1/home/oracle/10.2/xxx-dbs_abcd/sysman/config/emd.properties : No such file or directory"
I've been executing this command for a no. of times at the ORACLE_HOME directory:
$ ./emca -config dbcontrol db -repos create
.. but still I cannot start EMCTL dbconsole.
Thanks for your help.
|
|
|
|
Re: How to recreate this file: emd.properties for EMCTL [message #466356 is a reply to message #466349] |
Mon, 19 July 2010 03:28 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
hi, tnx for your prompt reply.
I've been recreating the OEM dbconsole...
it goes like this in the alertlog:
----------------------------------
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.CHECK_HA_RESOURCES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Mon Jul 19 14:45:49 2010
Errors in file /appl1/home/oracle/10.2/admin/arcs/bdump/arcs_mmon_22346.trc:
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.POST_INSTANCE_UP' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
and in it's emca log:
---------------------
Jul 19, 2010 3:26:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Unable to locate file /appl1/home/oracle/10.2/bir-dbs_arcs/sysman/config/emd.properties : No such file or directory
...
Jul 19, 2010 3:26:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /appl1/home/oracle/10.2/bin/emctl stop dbconsole
Jul 19, 2010 3:26:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Jul 19, 2010 3:26:54 PM oracle.sysman.emcp.target.TargetManager listTargets
CONFIG: Failed to get targets from home: /appl1/home/oracle/10.2/bir-dbs_arcs of type: oracle_database
oracle.sysman.emSDK.conf.TargetListException: No targets.xml file at /appl1/home/oracle/10.2/bir-dbs_arcs/sysman/emd/targets
.xml
...
Jul 19, 2010 3:26:54 PM oracle.sysman.emcp.util.PlatformInterface executeSgastop
CONFIG: Invalid arguments. OH: /appl1/home/oracle/10.2 host: bir-dbs sid: arcs port: null
...
Thanks again.
|
|
|
|
|
|
|
|
Re: How to recreate this file: emd.properties for EMCTL [message #466576 is a reply to message #466344] |
Tue, 20 July 2010 03:35 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
The ARCS is only one of the db that is running in a multi-instance server. I noticed that there were existing directories at the ORACLE_HOME that looks like this, re: bir-dbs_instance1,
bir-dbs_instance2 and so on.
According to our new recruit, he accidentally deleted this directory for 'arcs' instance-- "bir-dbs_arcs" which contains the configuration files of emca/emctl...
How can I re-create these files?
Btw, here again is the current alert_arcs.log:
"alert_arcs.log" [Read only] 80177 lines, 4248537 characters
------------------------------------------------------------
Tue Jul 20 16:17:10 2010
Errors in file /appl1/home/oracle/10.2/admin/arcs/bdump/arcs_mmon_22346.trc:
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.CHECK_HA_RESOURCES' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Tue Jul 20 16:22:11 2010
Errors in file /appl1/home/oracle/10.2/admin/arcs/bdump/arcs_mmon_22346.trc:
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.POST_INSTANCE_UP' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Dump file /appl1/home/oracle/10.2/admin/arcs/bdump/arcs_mmon_22346.trc
-----------------------------------------------------------------
*** SERVICE NAME:(SYS$BACKGROUND) 2010-07-19 12:40:22.897
*** SESSION ID:(54.1) 2010-07-19 12:40:22.897
Error executing stmt : BEGIN DBMS_AQADM.START_QUEUE('SYS$SERVICE_METRICS', TRUE, TRUE); END;
RLB SQL failed. ORA-24010: QUEUE SYS.SYS$SERVICE_METRICS does not exist
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 4877
ORA-06512: at "SYS.DBMS_AQADM", line 217
ORA-06512: at line 1
*** KEWROCISTMTEXEC - encountered error: (ORA-00942: table or view does not exist
)
*** SQLSTR: total-len=328, dump-len=240,
STR={select snap_interval, retention,most_recent_snap_time, most_recent_snap_id, status_flag, most_recent_purge_time,
most_recent_split_id, most_recent_split_time, mrct_snap_time_num, mrct_purge_time_num, snapint_num, retention_num, swrf_vers
ion}
*** kewrwdbi_1: Error=13509 encountered during run_once
*** 2010-07-19 12:40:22.901
ksedmp: internal or fatal error
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.POST_INSTANCE_UP' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
*** 2010-07-19 12:40:22.902
ksedmp: internal or fatal error
ORA-06550: line 1, column 19:
PLS-00201: identifier 'DBMS_HA_ALERTS_PRVT.CHECK_HA_RESOURCES' must be declared
ORA-06550: line 1, column 7:
I forgot to tell you that I logged as Oracle while executing "./emca -config dbcontrol db -repos recreate".
Thanks.
[Updated on: Tue, 20 July 2010 03:41] Report message to a moderator
|
|
|
|
|
|
Re: How to recreate this file: emd.properties for EMCTL [message #466797 is a reply to message #466787] |
Wed, 21 July 2010 03:15 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
I used only SYS and SYSMAN with same password in recreating the emca configurations. Why there's such an insufficient privilege error? Does it mean that SYS do not have the "default" privileges, re:
"Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST
=bir-dbs)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=arcs))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)"
-and-
"CONFIG: SQLEngine connecting with SID: arcs, oracleHome: /appl1/home/oracle/10.2
, and user: SYSMAN
Jul 21, 2010 4:36:02 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01017: invalid username/password; logon denied"
I cannot complete either recreating or dropping the old configurations.
Btw, do you know how to extract or the command to get the value of ecmtl.pid of a db instance, re:
"Cannot determine Oracle Enterprise Manager 10g Database Control process. /appl1/home/oracle/10.2/bir-dbs_arcs/emctl.pid does not exist."
Thanks for your support.
[Updated on: Wed, 21 July 2010 03:34] Report message to a moderator
|
|
|
|
|
|
Re: How to recreate this file: emd.properties for EMCTL [message #467302 is a reply to message #466895] |
Fri, 23 July 2010 04:13 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
Here it is:
$ hostname
bir-dbs
SQL> show parameter db_name
NAME TYPE VALUE
------------------------------------ ----------- ---------------
db_name string arcs
SQL> show parameter service_name
NAME TYPE VALUE
------------------------------------ ----------- ---------------
service_names string arcs
SQL> select * from global_name;
GLOBAL_NAME
----------------------------------------------------------------
ARCS
|
|
|