Troubleshooting Global Data Services
Obtaining the Status of GDS Components
Use the GDSCTL status command to check the running state of Global Data Services components, including global service managers, services, and databases, with commands such as status gsm, status service, and status database.
Read More: Obtaining the Status of GDS Components
Viewing GDS Configuration Information
Use the GDSCTL config command to view static configuration details for GDS components, including GSMs, regions, GDS pools, databases, services, and invited nodes.
Read More: Viewing GDS Configuration Information
Networking Issues
Troubleshoot GDS networking failures by investigating listener and connectivity errors such as ORA-12514, ORA-12516, ORA-12541, and GSM-40167, checking service availability, local listeners, GSM processes, and VNCR hostname resolution.
Read More: Networking Issues
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
ORA-12514 may indicate that the global service is down or disabled, or that a GDS pool database is unavailable; verify that pool databases are running and that the affected service is enabled and started.
Read More: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
ORA-12516: TNS:listener could not find available handler with matching protocol stack
ORA-12516 commonly occurs when the GDS pool database’s local listener is unavailable, so verify that the listener is running and able to provide a matching connection handler.
Read More: ORA-12516: TNS:listener could not find available handler with matching protocol stack
ORA-12541: TNS:no listener
ORA-12541 may occur when all global service managers are down; verify that the configured GSM processes and their listeners are running.
Read More: ORA-12541: TNS:no listener
GSM-40167: VNCR entry is not resolvable on GSM host
GSM-40167 during GSM restart after an upgrade is commonly caused by short hostnames in the VNCR list; remove the corresponding invitednode entries for the short shard hostnames and retry the GSM startup.
Read More: GSM-40167: VNCR entry is not resolvable on GSM host
Resolving Database Registration Issues when Using add brokerconfig in GDS Environments
If a database remains unregistered after add brokerconfig, check GDSCTL status database for Registered: N, then assign the database to a region with modify database; when adding multiple standby databases, add and synchronize them one at a time to avoid ORA-45539.
Read More: Resolving Database Registration Issues when Using add brokerconfig in GDS Environments
Invalid Objects Related Issues
DBRU or individual patches can invalidate GSMADMIN_INTERNAL objects; first confirm that its cloud table contains no configuration data in the root and every PDB, then, if empty, recreate the schema using the Oracle-supplied scripts, recompile objects, validate that no invalid objects remain, and remove duplicate objects incorrectly created in SYS, contacting Oracle Support if problems persist.
Read More: Invalid Objects Related Issues
User and Password Management Issues
For GDS user and password problems, especially ORA-01045 involving GSMADMIN_INTERNAL, do not unlock the internal account or grant it privileges; instead investigate incorrect credentials, wallets, connection strings, scripts, or tools that attempt direct logins with this restricted user.
Read More: User and Password Management Issues
ORA-01045: user GSMADMIN_INTERNAL lacks CREATE SESSION privilege logon denied
GSMADMIN_INTERNAL is an internal-only account intentionally restricted from general database login, so ORA-01045 usually indicates a misconfigured component, script, wallet, or connection string; correct the underlying credential reference and avoid directly modifying the schema unless instructed by Oracle Support.
Read More: ORA-01045: user GSMADMIN_INTERNAL lacks CREATE SESSION privilege logon denied
Troubleshooting GDS Issues
General GDS troubleshooting covers catalog connectivity errors, database access when GSMs are unavailable, direct catalog access during GSM outages, and use of SYS_CONTEXT('USERENV', ...) values to identify sessions connected through global services.
Read More: Troubleshooting GDS Issues
GSM-45034: Connection to GDS catalog is not established
GSM-45034 indicates that a GSM cannot reach the GDS catalog, typically because the catalog database or listener is unavailable, the connect descriptor is incorrect or unreachable, or credentials are invalid; verify database and listener availability, connectivity, service configuration, and credentials.
Read More: GSM-45034: Connection to GDS catalog is not established
Connecting to GDS Configuration Databases When No Global Service Managers Are Running
Configure connection descriptors with failover address lists ordered as regional GSM listeners, buddy-region GSM listeners, and finally local or RAC SCAN listeners, ensuring clients use GSM whenever available and fall back to local database listeners only when all GSMs are down.
Read More: Connecting to GDS Configuration Databases When No Global Service Managers Are Running
Connecting to Catalog Databases When No Global Service Managers Are Running
When all GSMs are unavailable, connect to the GDS catalog directly through its local listener or RAC SCAN listener by placing those addresses in the final failover option, allowing administration and maintenance to continue without GSM processes.
Read More: Connecting to Catalog Databases When No Global Service Managers Are Running
Using SYS_CONTEXT Parameters in a GDS Environment
GDS global-service sessions expose distinctive USERENV context values that make a database pool appear as one logical database, including wildcard-style DB_UNIQUE_NAME and DB_DOMAIN values and GDS-generated values for INSTANCE, INSTANCE_NAME, and SERVICE_NAME.
Read More: Using SYS_CONTEXT Parameters in a GDS Environment
Troubleshooting GSM Issues
GSM troubleshooting addresses database task connection timeouts such as GSM-40148 with ORA-12170 and GSM initialization failures such as GSM-45054 or NET-40006, focusing on network reachability, listener availability, catalog connectivity, and configuration correctness.
Read More: Troubleshooting GSM Issues
GSM-40148: Database task failed with ORA-12170
GSM-40148 with ORA-12170 indicates a TNS connection timeout during broker configuration; test GSM addresses from database hosts, test primary and standby database addresses from every GSM host, verify DNS and firewall access, and ensure any required TNS aliases exist consistently in each GSM host’s tnsnames.ora.
Read More: GSM-40148: Database task failed with ORA-12170
GSM-45054: GSM error or NET-40006: unable to start GSM
GSM-45054 and NET-40006 commonly occur when GSM initialization cannot access the GDS catalog; verify that the catalog database and local listener are running and that the configured connection descriptor is correct and reachable.
Read More: GSM-45054: GSM error or NET-40006: unable to start GSM
GDS Logs and Tracing
GDS diagnostic procedures include locating GSM logs and trace files, enabling GDSCTL and GSM tracing, tracing catalog and pool databases, and collecting runtime evidence needed to isolate and resolve GDS failures.
Read More: GDS Logs and Tracing
Using Global Data Services Log and Trace Files
Use status gsm to identify GSM listener logs and trace files; when additional diagnostics are required, enable GDSCTL logging in gsm.ora, GSM tracing with set trace_level, and database event 10798 tracing on catalog and pool databases, then disable each diagnostic setting after collection.
Read More: Using Global Data Services Log and Trace Files
Advanced Global Data Services Troubleshooting
For advanced troubleshooting or Oracle Support investigations, collect OPatch inventory, scripted GDSCTL configuration and status output, validation results, GSM listener status, GSM alert and trace files, GDSCTL.log, network configuration files, and inventory data from GSM and catalog hosts.
Read More: Advanced Global Data Services Troubleshooting