Add Database To OEM tree
I recently installed Oracle 9i and made a database with the database configuration asisstant.How do i make that database appear in enterprise manager console. A dialog pops up "add databases to tree". It asks for hostname,sid,port number. I enter those and when i try to connect to the database it saya that it doesn't exist. What to do?
Thanks!
You need to have an OEM Repository.
Than you can select the "Nodes" - "Discover Nodes" - "Next" - Enter your machine's name - "Finish"
Aron
Similar Messages
-
Add database to OEM gridcontrol
Hello,
I see all other databases in OEM grid control. I have created a new instance on the server, then restarted the grid management agent emctl however the new database wasn't listed in the OEM databases page. Can someone please tell how can I register that database so that I can monitor it using grid control. Thanks.You can also manually add the database target in Grid Console.
It will ask you for the dbsnmp password, the host etc. and then discover
the database. -
HOw can i discover a database to admin, but without discover node ?
Regards
MDFHello,
Are you giving the SID for database correct ? What are you giving in the Net Service Name value ? Is you database is running. I mean listener service and database services are running or not. Hostname is the name of system on which your database is running. Port is default 1521. In net service name give a name of service from your TNSNAMES.ORA file and then try to connect.
Please update if this helps you... -
Monitoring oracle database from OEM 12c grid control
Hi,
I am using OEM 12c grid control to analysis various server's performance. The application database in oracle database v11g. Is there any problem if i add database on oem to monitor? To be more clear, If it creates any conflict between database's em and oem's em when i want to deploy em agent on database ? Is it necessary to remove database's EM before installing oem agent on it?Rakesh,
Please refer to the following links:
SOA and Middleware Management
http://www.oracle.com/technology/products/oem/prod_focus/soa_mgmt.html
New Oracle Enterprise Manager Management Pack for SOA and Middleware Management
http://blogs.oracle.com/oem/2009/06/new_oracle_enterprise_manager_1.html
ORACLE ENTERPRISE MANAGER 10g: ORACLE MANAGEMENT PACK PLUS FOR SOA
http://www.oracle.com/technology/products/oem/pdf/ds_soa_mgmt_pack.pdf
Regards,
Hussein -
Error while adding database in OEM
hi
when i trying to connect oem.When i am trying to add database to tree and to network i am
getting following error
oem error
Failed to parse tnsnames.ora file
Error :100--NLNV-NLNV String format Error
So please help me.Hi,
the connection string in tnsnames.ora file are having invalid syntax that why's oem is unable to parse it.
Make new entry in tnsnames.ora file with proper syntax or provide
information of hostname,port,sid in oem at the time of adding database into oem,after providing these details it will automatically create new connection string in tnsnames.ora file.
Thanks
Kuljeet Pal Singh -
Unable to add database (11g) in Oracle Failsafe (v3.4.2)
While trying to add Database in Oracle Failsfafe, I am receiving following errors:
FS-10376: Node1 : Starting configuration of resource DB_SID
FS-10378: Node1 : Preparing for configuration of resource DB_SID
FS-10380: Node1 : Configuring virtual server information for resource DB_SID
FS-10496: Generating the Oracle Net migration plan for DB_SID
** ERROR : FS-10094: Failed to retrieve Oracle Net listener (OracleOraDb11g_home1TNSListenerName) information from persistent cluster registry for group Cluster_group
18 09:15:12 ** ERROR : FS-10784: The Oracle Database resource provider failed to configure the virtual server for resource DB_SIDOracle Failsafe version: *3.4.2.3*
Oracle Databsae version:*11.2.0.3*
OS Version: Windows Server 2008 64-bit -
hi all
i have a self join table with following column as select statement
SELECT 1, LEVEL, a.product, ''exit'',a.techno
FROM bom_products a
CONNECT BY PRIOR a.techno = a.set_techno
START WITH a.set_techno IS NULL
that techno is pk
and set_techno is fk
and use
following code for view my tree:
DECLARE
htree ITEM;
b NUMBER;
a RECORDGROUP;
BEGIN
go_block('BLK_CHART');
htree := FIND_ITEM('BLK_CHART.T');
a := FIND_GROUP('a');
IF NOT ID_NULL(a) THEN
DELETE_GROUP(a);
END IF;
a := CREATE_GROUP_FROM_QUERY('a',
'SELECT 1, LEVEL, a.product, ''exit'',a.techno
FROM bom_products a
CONNECT BY PRIOR a.techno = a.set_techno
START WITH a.set_techno IS NULL and a.techno='''||:BLK.TECHNO||''''
b := POPULATE_GROUP(a);
FTREE.SET_TREE_PROPERTY(htree, FTREE.RECORD_GROUP, a);
END;
and no problem,
my issue is :
add child to my tree and record to my table
can any one help me to add node???????????????????WRITE THE FOLLOWING SCRIPT IN THE WHEN-BUTTON-PRESSED
INSERT INTO TABLE VALUES (NEW_DISPLAY_LABEL,NEW_VALUE);
COMMIT;
P_PARENT_NODE_VALUE:= ftree.get_tree_node_property('tree4',:system.trigger_node,ftree.node_value);
P_PARENT_NODE := Ftree.Find_Tree_Node('tree4',P_PARENT_NODE_VALUE,Ftree.FIND_NEXT, Ftree.NODE_value, Ftree.ROOT_NODE, Ftree.ROOT_NODE);
P_NEW_NODE := ftree.add_tree_node('tree4',P_PARENT_NODE,ftree.parent_offset,ftree.last_child,ftree.expanded_node,NEW_DISPLAY_LABEL,null,NEW_VALUE);
Message was edited by:
zakaoullah -
Bulk configuration of databases in OEM 11g
Hello,
I've got more then one databases , Is there any easy way to perform bulk configuration of databases into OEM 11g rather configuring one by one database?
such as editing any config files like targets.xml
thx,
KamHi Kam,
EMCLI is the tool to do bulk changes. I don't know exactly what you mean by bulk configuration but if you take a look at http://download.oracle.com/docs/cd/E11857_01/em.111/e16185.pdf
you'll get the picture.
Eric -
Not able to add Database in DBMGUI
Hi Experts,
I am facing a problem while I am trying to add database in Database Manager.
The error message dialog pops up "-4 Communication broken [not ok]".
xserver is running.
The log xserver_hostname.prt
2011-10-03 15:13:58 5497 ERR 11455 PIPE Could not write to 'teo110_PipeBase::eo110_WritePipe' pipe, rc = 32
2011-10-03 15:13:58 5497 12878 XSERVER 10 | End of data transmission
2011-10-03 15:13:58 5497 12858 SERVER Exiting pid 5497 exit code 1
2011-10-03 15:13:58 4983 12871 XSERVER poll interrupted, continuing
2011-10-04 07:29:28 4983 12908 XSERVER Accepting ...
2011-10-04 07:29:28 4983 12872 XSERVER Accepted connection, socket: 8 Id 11
2011-10-04 07:29:28 4983 12873 XSERVER 11 | Client node 'scrbsapdefrm601.crb.apmoller.net'
2011-10-04 07:29:28 10734 12874 XSERVER 11 | CONTROL CONNECT request(91) Ref -1 Peer Ref 0
2011-10-04 07:29:28 10734 12875 XSERVER 11 | Service CONTROL(4) DB Ref 5983092 Peer Ref 16384
2011-10-04 07:29:28 4983 12857 SERVER Forked child pid 10734
2011-10-04 07:29:28 0 0 Bad path '/sapdb/7606/pgm/dbmsrv'
2011-10-04 07:29:28 0 0 Wanted (UserId 23965, GroupId 683, Mode 106555 '-r-sr-sr-x')
2011-10-04 07:29:28 0 0 Got (UserId 23965, GroupId 683, Mode 100777 '-rwxrwxrwx')
2011-10-04 07:29:28 0 0 RTE_CallSdbStarter(): Wrong ownership for own program absolute path
2011-10-04 07:29:28 10734 12911 XSERVER Segment sizes, sd: 8, max: 16384
2011-10-04 07:29:28 10734 12876 XSERVER 11 | CONTROL CONNECT reply(92)
2011-10-04 07:29:28 10734 12877 XSERVER 11 | Entering data transmission
2011-10-04 07:29:28 10734 12912 XSERVER Request packet read ( 40 bytes ), Ref:8
2011-10-04 07:29:28 10734 11999 dump: act_send_len -558071632
2011-10-04 07:29:28 10734 11999 dump: max_send_len 48
2011-10-04 07:29:28 10734 11999 dump: protocol_id 255
2011-10-04 07:29:28 10734 11999 dump: mess_class 127
2011-10-04 07:29:28 10734 11999 dump: rte_flags 0
2011-10-04 07:29:28 10734 11999 dump: residual_packets 0
2011-10-04 07:29:28 10734 11999 dump: sender_ref 4692554
2011-10-04 07:29:28 10734 11999 dump: receiver_ref 0
2011-10-04 07:29:28 10734 11999 dump: rte_return_code 24
2011-10-04 07:29:28 10734 11999 dump: rh_new_swap_type 0
2011-10-04 07:29:28 10734 11999 dump: filler1 0
2011-10-04 07:29:28 10734 ERR 11455 PIPE Could not write to 'teo110_PipeBase::eo110_WritePipe' pipe, rc = 32
2011-10-04 07:29:28 10734 12878 XSERVER 11 | End of data transmission
2011-10-04 07:29:28 10734 12858 SERVER Exiting pid 10734 exit code 1
2011-10-04 07:29:28 4983 12871 XSERVER poll interrupted, continuing
Br,
Venky.> 2011-10-04 07:29:28 0 0 Bad path '/sapdb/7606/pgm/dbmsrv'
> 2011-10-04 07:29:28 0 0 Wanted (UserId 23965, GroupId 683, Mode 106555 '-r-sr-sr-x')
> 2011-10-04 07:29:28 0 0 Got (UserId 23965, GroupId 683, Mode 100777 '-rwxrwxrwx')
Your permissions for the database files are not correct.
Did you (or someone else) did a chmod -Rf 777 on the /sapdb directory?
Markus -
How to add child node in Tree table programmetically
Jdev Version 11.1.1.4.0.
I have created tree table programmetically in bean.
I have to add child node to tree table component on button click event on page.
Please let me know how to do this in bean.
Regards,
KiranHow are you creating the tree pro-grammatically?
If you are adding a new node to underlying data structure and refresh the tree - the tree will get updated with the new data.
Thanks,
Navaneeth -
How to add program to report tree
Hi ,
Can you please let me know how to add report to report tree..( No transaction code ,just only want to add report)
Thanks,,Hello Parnith,
There is the SE43N transaction (Area menu transaction update). Here you should be able to locate the corresponding area menu and insert your report in the report tree.
There is also the SERP transaction. This is for old report tree transactions.
Hope it helps you.
Regards,
Daniel. -
Unable to connect to the database through OEM
Hi,
ORACLE VERSION: 10.2.0.1.0
OPERATING SYSTEM:LINUX
I was unable to connect to my database through OEM.It is showing error like this in my OEM .
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
The below is the list of errors written in the trace file .
2009-07-13 14:55:18,351 [EMUI_14_55_18_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2009-07-13 14:55:20,893 [HttpRequestHandler-25640626] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,925 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,926 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:20,959 [HttpRequestHandler-23946437] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,990 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,991 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:42,047 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,030 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,062 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,063 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:51,096 [HttpRequestHandler-28346522] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:56:21,162 [HttpRequestHandler-32110028] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,193 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,194 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:56:21,227 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,258 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,259 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
Don't say password is correct, if password is correct then tell us what last changes you did. did you change SYSMAN password throught alter user ...identified ... ?
Regards,
Taj -
Creating a Physical Standby Database using OEM GC
This Paper is about the creation of a physical Stanby Database using OEM GC.
You will see that there is really nothing to it and using the Data Guard Broker, performing a switchover is as easy as 1,2,3,.
BTW, this works in both OEM GC 10.2.0.5 and 11.1
http://oemgc.wordpress.com/2010/07/19/creating-a-physical-standby-database-using-oem-gc/Thanks Rob for sharing this.
Regards
Rajesh -
Database not found/Error: ORA-16621: database name for ADD DATABASE must be
I am new to Data Guard and am trying to set up Data Guard Broker. I had created a configuration file with both my primary and standby databases and at one time I could show both databases. But now I can no longer show the standby database nor can I enable, disable or reinstate it. Here is what I have:
Primary Database: orcl10g
Standby Database: 10gSB
DGMGRL> show configuration
Configuration
Name: orcl10g
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
orcl10g - Primary database
10gSB - Physical standby database
Current status for "orcl10g":
SUCCESS
DGMGRL> show database verbose orcl10g
Database
Name: orcl10g
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
orcl10g
Properties:
InitialConnectIdentifier = 'orcl10g'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '10gSB, orcl10g'
LogFileNameConvert = '/oracle/oracle/product/10.2.0/oradata/orcl10g/redo01.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo01.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo02.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo02.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo03.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo03.log'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'remarkable.mammothnetworks.com'
SidName = 'orcl10g'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521))'
StandbyArchiveLocation = '/oracle/flash_recovery_area/orcl10g/archivelog'
AlternateLocation = ''
LogArchiveTrace = '1024'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "orcl10g":
SUCCESS
DGMGRL> show database verbose 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> remove database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> reinstate database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> enable database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> add database '10gSB' as
connect identifier is 10gSB
maintained as physical;Error: ORA-16621: database name for ADD DATABASE must be unique
Failed.
How can I get Data Guard to see the standby database correctly again?Thank you for the constructive feedback. I have been able to make progress on this issue.
I did check the Data Guard Log files as you suggested. I did not find anything when I checked them before but this time I found the following:
DG 2011-06-16-17:23:18 0 2 0 RSM detected log transport problem: log transport for database '10gSB' has the following error.
DG 2011-06-16-17:23:18 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16737: the redo transport service for standby database "10gSB" has an error
DG 2011-06-16-17:23:18 0 2 0 NSV1: Failed to connect to remote database 10gSB. Error is ORA-12514
DG 2011-06-16-17:23:18 0 2 0 RSM0: Failed to connect to remote database 10gSB. Error is ORA-12514
DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
I verified that I am able to connect to both the primary and standby databases via external connections:
-bash-3.2$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-JUN-2011 12:41:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 17-JUN-2011 01:40:30
Uptime 0 days 11 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521)))
Services Summary...
Service "10gSB" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "10gSB_DGB" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "10gSB_XPT" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl10g" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10gXDB" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10g_DGB" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10g_XPT" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
The command completed successfully
-bash-3.2$
-bash-3.2$
-bash-3.2$ sqlplus system/dbas4ever@orcl10g
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:41 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
-bash-3.2$ sqlplus system/dbas4ver@10gSB
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:59 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress <== I think this is normal since the database is in mount mode
Enter user-name:
I also checked the listener log file and did see and error associated with a known bug:
WARNING: Subscription for node down event still pending
So I added the following to the listener.ora file and bounced the listener:
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
That seems to have taken care of the error.
The following is my listener.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC = ( GLOBAL_DBNAME = 10gsb_DGMGRL.remarkable.mammothnetworks.com )
( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
( SID_NAME = 10gsb )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = orcl10g_DGMGRL.remarkable.mammothnetworks.com )
( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
( SID_NAME = orcl10g )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = orcl10g.remarkable.mammothnetworks.com )
( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
( SID_NAME = orcl10g )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = 10gsb.remarkable.mammothnetworks.com )
( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
( SID_NAME = 10gsb )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
I again tried connecting externally to the standby database:
-bash-3.2$ sqlplus system/dbas4ever@10gSB
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 13:09:00 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Enter user-name:
and see this in the listener.log file:
17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11357)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11358)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:10:24 * service_update * 10gSB * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25119)) * establish * orcl10g * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25120)) * establish * orcl10g * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=emagent)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25121)) * establish * orcl10g * 0
17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11420)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11422)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:11:24 * service_update * 10gSB * 0
I tried again to see the database in Data Guard Broker:
DGMGRL> show database 10gSB
Object "10gsb" was not found
however, I then was able to add the database in Data Guard Broker:
DGMGRL> add database 10gSB
as connect identifier is 10gSB
maintained as physical;Database "10gsb" added <== this is progress!!!
However the configuration shows the following:
DGMGRL> show database 10gSB
Database
Name: 10gsb
Role: PHYSICAL STANDBY
Enabled: NO
Intended State: OFFLINE
Instance(s):
10gSB
Current status for "10gsb":
DISABLED <=====
So I tried to enable the database:
DGMGRL> enable database 10gSB
Error: ORA-16626: failed to enable specified object
Failed.
and I tried to reinstate the database:
DGMGRL> reinstate database 10gSB
Reinstating database "10gsb", please wait...
Error: ORA-16653: failed to reinstate database
Failed.
Reinstatement of database "10gsb" failed
So I checked the configuration and now see two entries for the standby database but with case differences:
DGMGRL> show configuration
Configuration
Name: orcl10g
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
orcl10g - Primary database
10gSB - Physical standby database
10gsb - Physical standby database (disabled)
Current status for "orcl10g":
SUCCESS
Question: How do I get rid of 10gSB and enable 10gsb? -
Monitoring Physical standby database through OEM
HI ,
We are monitoring Physical standby database through OEM and we monitor from console using SYS user
As per our company policy we change our sys password every month so after change it we need to change SYS password from console also
so is any way we can change SYS password on console using command line utility? if yes then please give us the command
Thankswe monitor from console using SYS userYou have to monitor it using a SYSDBA user not necessarily SYS. So you can create a user e.g. SYS_MONITOR which has different policy than SYS. Although it is best to change that password on regular bases too, maybe every 3 months.
so is any way we can change SYS password on console using command line utility?I don't get your question. Are you asking if it is possible to change the monitoring username/password using some command line utility? If so, I haven't heard of such tool. But there could be a package like MGMT_TARGET which you can manipulate the credentials if you know how to use it.
Maybe you are looking for
-
Tab Condition - Free goods in PO
Hi All! I made all the settings to use "free goods" facility (tcode MBN1 - every time I buy one material I have to buy a second material, different from the first). The only problem I have is that in ME21N for the second material (the "free" one) the
-
Hi, Nobody has a solution to my earlier post ? In addition to it. I see that PC Suite hooks into the DELETE, SHIFT+DELETE and RIGHT-CLICK MENU commands to startup the ServiceLayer.exe windows service. How do I prevent this ? If no one can solve my pr
-
Hi, I am trying to post excise document through J1IS but am getting the following error: "Error in FI Document Create" Message No. 8I031 Kindly help Regards.
-
CS4 "You cannot open the application Adobe InDesign CS4 because it is not supported on this archit
Just installed CS4. Ai and Ps open fine. i get this prompt with InDesign. You cannot open the application Adobe InDesign CS4 because it is not supported on this architecture. any clues on how resolve this? thanks!
-
Canon 6D Question about focus confirmation for manual focus lenses
I am very interested in the 6D. I own the 5D2 and concerning IQ there won't be much difference. But the loud and shaky shutter of the 5D2, the silent mode of the 6D respectively, lower weight, better ISO and smaller size would make the 6D a better ca