Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

ORA-16541: database is not enabled

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 02 Nov, 2021
  • 0 Comments
  • 1 Min Read

ORA-16541: database is not enabled

ORA-16541: DATABASE IS NOT ENABLED

ORA-16541: database is not enabled Getting error in DG broker service. Its seems like their is miskate in configuration of DB Broker Service and we need to reconfigure it.

Oracle Error Details

1
2
3
4
5
6
/data/app/Oracle\dbhomeXE\bin>oerr ora 16541
16541, 00000, “member is not enabled”
// *Cause: The member specified in the command was not enabled.
// *Action: Select an enabled member and reissue the command.
 
Error
1
2
DGMGRL> SHOW CONFIGURATION
ORA-16541: database is not enabled

Solution

Check from the other server if its not working from one primary server then check it from Standby Server or Vice Versa.

1. Try remove configuration from primary if its not work do it from standby:

— Primary

1
2
DGMGRL> REMOVE CONFIGURATION;
Error: ORA-16541: database is not enabled

–Standby

1
2
DGMGRL> REMOVE CONFIGURATION
Removed configuration

2. Create configuration again from Primary side:

1
2
DGMGRL> CREATE CONFIGURATION ‘ORCL_DGCONF’ AS PRIMARY DATABASE IS ‘ORCL’ CONNECT IDENTIFIER IS ‘ORCL1.oracle.com’;
Configuration “ORCL_DGCONF” created with primary database “ORCL”

Advertisements

3. Check and verify configuration by enabling it.

1
2
DGMGRL> ENABLE CONFIGURATION;
Enabled..

4. Add standby database service in DG BRoker configuration.

1
2
DGMGRL> ADD DATABASE ORCL_STBY AS CONNECT IDENTIFIER IS ‘ORCL2.oracle.com’ MAINTAINED AS PHYSICAL;
Database “ORCL_STBY” added.

5. Enable standby service

1
2
DGMGRL> ENABLE DATABASE ORCL_STBY
Enabled.

6. Verified configuraitons:

1
2
3
4
5
6
7
8
9
10
11
12
13
DGMGRL> show configuration;
 
Configuration – ORCL_DGCONF
 
Protection Mode: MaxAvailability
Databases:
ORCL – Primary database
ORCL_STBY – Physical standby database
 
Fast-Start Failover: DISABLED
 
Configuration Status:
SUCCESS