Add database to OEM
HOw can i discover a database to admin, but without discover node ?
Regards
MDF
Hello,
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...
Similar Messages
-
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 -
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. -
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 -
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 -
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. -
Trying to add database 9i to cluster 11.2.0.1 gives errors
Hello,
Versions:
S.O: Solaris SPARC 64bit
database: 9.2.0.8
cluster: 11.2.0.1
I am trying to add and start a database 9.2.0.8 to a cluster 11.2.0.1.
The add database works fine: srvctl add database -d orcl -o /u01/app/oracle/product/9.2.0/dbhome_5 -p '/u01/app/oracle/product/9.2.0/dbhome_5/dbs/spfileorcl.ora';
The add instance also: srvctl add instance -d orcl -i orcl1 -n node1
But when I try to start the instance with srvctl start instance -d orcl -i oracl1 I get the following errors:
PRCR-1013 : Failed to start resource ora.orcl.db
PRCR-1064 : Failed to start resource ora.orc.db on node node1
CRS-5011: Check of resource "orcl" failed: details at "(:CLSN00007:)" in "/u01/app/11.2.0/grid/log/node1/agent/crsd/oraagent_oracle/oraagent_oracle.log"
CRS-2674: Start of 'ora.orcl.db' on 'node1' failed
GIM-00090: OS-dependent operation:open failed with status: 2
GIM-00091: OS failure message: No such file or directory
GIM-00092: OS failure occurred at: sskgmsmr_7
the log says:
2011-08-20 17:20:34.810: [ AGFW][11] Command: start for resource: ora.orcl.db 1 1 completed with status: SUCCESS
2011-08-20 17:20:34.811: [ AGFW][7] Executing command: check for resource: ora.orcl.db 1 1
2011-08-20 17:20:34.811: [ora.orcl.db][7] [check] Gimh::check OH /u01/app/oracle/product/9.2.0/dbhome_5 SID orcl1
2011-08-20 17:20:34.812: [ AGFW][9] Agent sending reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] GIMH: GIM-00104: Health check failed to connect to instance
GIM-00090: OS-dependent operation:open failed with status: 2
GIM-00091: OS failure message: No such file or directory
GIM-00092: OS failure occurred at: sskgmsmr_7
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] (:CLSN00007:)DbAgent::check failed gimh state 0
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] Exception type=2 string=CRS-5011: Check of resource "orcl"
failed: details at "(:CLSN00007:)" in "/u01/app/11.2.0/grid/log/vettel/agent/crsd/oraagent_oracle/oraagent_oracle.log"
2011-08-20 17:20:34.814: [ AGFW][9] Agent sending reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.814: [ AGFW][7] check for resource: ora.orcl.db 1 1 completed with status: FAILED
2011-08-20 17:20:34.815: [ AGFW][9] ora.orcl.db 1 1 state changed from: STARTING to: FAILED
2011-08-20 17:20:34.815: [ AGFW][7] Executing command: res_attr_modified for resource: ora.orcl.db 1 1
2011-08-20 17:20:34.815: [ AGFW][9] Agent sending last reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.816: [ora.orcl.db][7] [res_attr_modified] clsn_agent::modify {
2011-08-20 17:20:34.816: [ora.orcl.db][7] [res_attr_modified] clsn_agent::modify }
2011-08-20 17:20:34.816: [ AGFW][7] Command: res_attr_modified for resource: ora.orcl.db 1 1 completed with status: SUCCESS
2011-08-20 17:20:34.816: [ AGFW][9] config version updated to : 150 for ora.orcl.db 1 1
2011-08-20 17:20:34.816: [ AGFW][9] Agent sending last reply for: RESOURCE_MODIFY_ATTR[ora.orcl.db 1 1] ID 4355:924252
2011-08-20 17:20:35.829: [ AGFW][9] Agent received the message: RESOURCE_CLEAN[ora.orcl.db 1 1] ID 4100:924293
2011-08-20 17:20:35.829: [ AGFW][9] Preparing CLEAN command for: ora.orcl.db 1 1
2011-08-20 17:20:35.829: [ AGFW][9] ora.orcl.db 1 1 state changed from: FAILED to: CLEANING
2011-08-20 17:20:35.830: [ AGFW][7] Executing command: clean for resource: ora.orcl.db 1 1
output from srvctl config database -d orcl -a
Database unique name: orcl
Database name:
Oracle home: /u01/app/oracle/product/9.2.0/dbhome_5
Oracle user: oracle
Spfile: /u01/app/oracle/product/9.2.0/dbhome_5/dbs/spfileorcl.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: orcl
Database instances: orcl1
Disk Groups:
Services:
Database is enabled
Database is administrator managed
I tried to find a health check file for this database but none exists.
Can someone help me out? what file is it trying to find to give this error? "No such file or directory". How can I solve this issue?
Thank you.
Edited by: cibernauta on Aug 20, 2011 10:05 PMHello,
Then why to they say for example here the following:
The Oracle GSD (Global Service Daemon) process, ora.gsd, is typically offline. You must enable Oracle GSD manually if you plan to use an Oracle 9i Real Application Clusters database on the Oracle Clusterware 11g release 2 (11.2) cluster.
??? -
Hi Team,
I am very new to OEM Grid Control. We installed OEM 11g server and OEM 11g agent on different different machines, After the installation OEM directly talks to agent or do we need to add them into the OEM server?
If we want to add agent in OEM server, Can you please provide me a step by step process...
Is there any documentation to add agent into the server
Please do the needful
Regards
FrancisHi,
IStallaton is completed for both server and agent, But I need the steps after that, I mean after loggin into the OEM host, which steps we need to follow to add the agent
Can we get a method execution trace and SQL performance trace
2. Capture the method execution times using EM console - and identify the time taken to individual methods of the flow
3. Capture the DB SQL trace for the user session / all sessions at the time of the above report generation
4. Generate java method-trace and SQL trace
Can we do all these using OEM 11g Grid control. Please help me in resolving my questions. Please do the needful
Regards
sri
Edited by: Francis on Jan 9, 2012 2:28 AM -
How to integrate oracle 11GR2 Database with OEM 12C
Dear experts,
I have installed Oracle Enterprise Manager Cloud Control 12c Release 2 Plug-in Update 1 (12.1.0.2) on windows 2008 64-bit version.
how can I integrate my Oracle 11G R2 database with OEM.
Thanks.Refer the following documents for promoting (discovering/adding) target database to EM 12c.
Understanding Database Discovery in Enterprise Manager 12c Cloud Control (Note 1400463.1)
Cloud Control for Oracle Database Assistant: Setup of Cloud Control to Manage Database Targets (Search Helper) (Note 1569848.2)
Discovering, Promoting, and Adding Targets:
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/discovery.htm#CBAEGHBH
HTH
Mani
Maybe you are looking for
-
Dragging files from a mac to a pc
Hi there I've set up file sharing on the macs to allow windows samba file sharing. When I browse to the mac hard drive from my pc I can see all the accounts in Users and the folders. I can open them all e.t.c If I try to drag a folder from the mac to
-
Uninstall/install oracleXE express problems on windows vista business
Hi, I installed oracle express on windows vista.. no problem. Then I installed oracle application server... now oracle db web interface was not working (firewall was off). So I tried to uninstall/re-install oracle express.... but now it does not succ
-
I wrote a custom component: Here is the code for the UIComponent: package customcomponents; import javax.faces.component.*; import javax.faces.context.*; import java.util.Vector; import jsf.*; public class UIEventsTable extends UIComponentBase {
-
Can OSB dequeue AQ automaticlly ?
Hi, Database 10.2 OSB 10.1.3.1 I would like to automaticlly publish changes from databasae AQ to service in OSB. Is it possible to do it by creating JCA AQ adapter (deploy it t OSB as business/proxy process) that could listen/dequeue database AQ and
-
Spreadsheet not opening from the cloud
I have a number of Numbers, spreadsheets saved on the cloud. 2-3 of them will no longer open. I have tried duplicating and renaming but neither option helps. Does anyone know of any further options I can pursue?