How to fix the Oracle error NNL-00024: warning: no preferred name servers in SQLNET.ORA?

In this post, you’ll learn more about the Oracle ErrorNNL-00024: warning: no preferred name servers in SQLNET.ORA with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

NNL-00024: warning: no preferred name servers in SQLNET.ORA

Reason for the Error NNL-00024: warning: no preferred name servers in SQLNET.ORA

Cause: The control program was unable to find any preferred name servers in SQLNET.ORA, and will therefore not connect to a default server.

How to fix the Error NNL-00024: warning: no preferred name servers in SQLNET.ORA ?

You can fix this error in Oracle by following the below steps

Action: Make sure that the SQLNET.ORA file contains a valid names.preferred_servers entry.

Tags :

Leave Your Comment