Oracle Database Server Discovery Fails with an Error Message

Oracle Database Server Discovery Fails with an Error Message

WarningError: Failed. Oracle Server is down.

         Error Message: IO Error: The Network Adapter could not establish the connection
Solution 1: The Oracle server is down, please ensure that the server is up and running.
Solution 2: The Oracle server is not accessible from the Applications Manager machine. Verify the given host and port by executing the following command from the machine in which Applications Manager server is running:
Quote
telnet oracle_hostname oracle_portnumber

WarningError: Failed. The Instance Name (Service Name) mentioned is wrong. Please configure with proper values. Refer Troubleshooting

            Error Message: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor.
Solution 1: The Instance Name (Service Name) specified in Applications Manager is wrong. Try to connect to Oracle using SQLPlus and "Connect String/Service Name" should be given as Instance Name in Applications Manager when you are connecting through the SQLPlus.
  1. The instance name can also be found out from the <oracle-installation directory\network\admin\listener.ora>. In <listener.ora> file, you will have an entry <SID_NAME = orcl>, where orcl is the Instance name.
  2. The instance name can also be found out from the<oracle-installation directory\network\admin\tnsnames.ora>. In <tnsnames.ora> file, you will have an entry <SERVICE_NAME = orcl>, where orcl is the Instance name.
Solution 2: Check if the Oracle instance is running. Check if the Oracle server is running and accessible from the Applications Manager server.

Solution 3: Check if the Oracle listener is running. If the database is not registered with the listener, register it manually to allow connection.

WarningError: The user does not have proper privileges. Enter a user with DBA privileges.

Solution: A user with CONNECT and SELECT_CATALOG_ROLE roles is required for monitoring by Applications Manager. So configure a user with these permissions and try with that user in Applications Manager.

Warning
Error: ORA-28040: No matching authentication protocol

Solution: In the Oracle DB server installation directory, edit the sqlnet.ora file (present under <oracle home>\network\admin directory) and remove the entry SQLNET.ALLOWED_LOGON_VERSION=10 in that file or set to lower version. Then restart Oracle DB server and try to add it in Applications Manager.

Warning
Error: Io exception: Got minus one from a read call

Solution 1: Make sure you are connecting to the correct port, a wrong port can also give the error mentioned above. Also, check if the SID used to connect in tnsnames.ora and Listener.ora are correct.

Solution 2: It seems you have enabled ACL on the listener. You can follow these steps to avoid the error:
a. Modify $ORACLE_HOME/network/admin/sqlnet.ora file with following parameter: 
tcp.validnode_checking = no
b. If you don't want to disable this, you can put the machine names (provide Applications Manager hostname) as follows and restart the listener:
tcp.invited_nodes=(machine1, machine2)

Solution 3: Check the number of processes and shared pool size.
Show parameter SHARED_POOL_SIZE;
Show parameter Processes;
If the values are insufficient, increase the size using:

Alter system set SHARED_POOL_SIZE=<size the environment demands>M;
Alter system set PROCESSES=<Size the environment demands> SCOPE=SPFILE;

Solution 4: If you have enabled Oracle SSL option but missed to give the same while adding the monitor then this error will occur.
NotesNote: If none of the above solutions fix the problem, execute the file OracleDebug.bat under the <AppManager_Home>\bin\troubleshooting directory and send the result.

Warning
Error: Failed. Please verify if you have added certificates in correct path. Refer troubleshooting steps mentioned here.

            Error Message: IO Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

              Solution: Check if the SSL certificate/keystore file of the Oracle monitor is properly imported in Settings -> Tools -> Manage Certificates -> Trust certificates page. Imported certificates can be verified in Settings -> Tools -> Manage Certificates -> List certificates


WarningError: Failed. Authentication failed. Kindly verify the username and password provided.

           Refer KB for invalid username/password.
  1. Error Message 1: ORA-01017: invalid username/password; logon denied.
         Solution : Check if username/password provided is correct and check if it has changed in Oracle database in recent times.
  2. Error Message 2: ORA-04088:error during execution of trigger 'xxxxx 'ORA-01403:discoverPDB data found ORA-06512:at line15ORA-01017:invalid username/password

          Solution: A trigger is configured to fire on failed login attempts. When an incorrect login attempt occurs, the trigger execution is initiated. However, the user whose login attempt failed does not have the necessary permissions to execute the trigger, causing an error. The actual issue is an incorrect username/password.

  1. Error Message 3: -br-ORA-17503:ksfdopn:2 Failed to open  file+FILELOCATION. ORA-15173: entry ' ' does not exist in directory   
                 Solution: Oracle failed to open the password file due to a missing or inaccessible file entry.
      • Check if the password file exists and has proper permissions. If missing, recreate it.

      • Run the following query to check if the database is using password file authentication:

        • SHOW PARAMETER REMOTE_LOGIN_PASSWORDFILE;

        1. If it returns NONE, oracle does not use a password file, and you must use OS authentication (/ as sysdba).
        2. If it returns EXCLUSIVE or SHARED, then Oracle expects a valid password file.
WarningError : ORA-00257: archiver error. Connect internal only, until freed.

Cause: The archive log destination is full, preventing Oracle from writing archived redo logs. Normal users cannot connect until space is freed.

Solution: 

  1. Free space by deleting old archive logs or increasing db_recovery_file_dest_size. SYSDBA can connect to resolve the issue.

  2. Ref Oracle support KB

Error: ORA-00604: Error occurred at recursive SQL level 1. ORA-20605: MNGENGINE (Manage-Engine) You do not have permission to enter the database ORA-06512: at line 22

Cause: A recursive SQL error occurred due to a trigger, security policy, or system constraint. In this case, ORA-20605 indicates that the user does not have permission to access the database, likely enforced by a logon trigger.

Solution:

  1. Ensure the user has the necessary database access permissions.

  2. Also, follow the steps provided in the KB

 Error: ORA-01004:default username feature not supported; logon denied

Cause: Oracle requires a username for login, but none was provided. This happens when an application tries to connect without specifying a username.

Solution: Ensure the username is provided explicitly when connecting to the database.


Error: IO Error: Unsupported or unrecognized SSL message

Cause: This error occurs when the Oracle client tries to establish a TCPS (SSL/TLS) connection, but the server does not support or recognize the SSL handshake. It can be due to missing TCPS listener configuration, incorrect connection protocol, or SSL misconfiguration. 

Solution: 

  1. Ensure the listener is configured for TCPS (lsnrctl status), and check sqlnet.ora and listener.ora for correct SSL settings.

  2. Ref KB to add SSL enabled Oracle.


Error : ORA-01034: ORACLE not available / ORA-27101: Shared Memory Realm Does Not Exist

Cause:  This error occurs when trying to connect to a down database as a non SYSDBA USER. The Oracle database instance is not started, leading to connection failure.

Solution:

  1. Start the Oracle database

  2. Ensure ORACLE_SID and ORACLE_HOME are correctly set and check shared memory availability

  3. Ref Oracle support KB.


Error : Login timed out

     Cause : Applications Manager tries to connect to the Oracle DB within 60 seconds; if it fails, a timeout error occurs.

Solution:

             Check network connectivity, database availability, and listener status to ensure the connection completes within the timeout.

Share the below details along with the screenshots/reports mentioned on each step based on the error message user receives:

If the issue persists after following the above steps, collect and share the following details:
  1. Issue reported Oracle monitor → Edit monitor/Add monitor →Test credential result screenshot.

  2. Health and Availability history report

  3. OracleDebug script result

  4. Oracle version, SSL enabled

  5. Connect the Oracle DB Server and execute the below command and share the result

    1. lsnrctl status

                  New to ADSelfService Plus?