Message Oracle NNL-00018 - warning: could not contact default name server

ERRORwarning: could not contact default name server
CAUSEThe control program was unable to contact its default name server during startup. There are a number of possible causes for this error. The control programs SQLNET.ORA file must exist in the correct system-specific location, and must be readable by the control program. The file must contain a names.preferred_servers entry with valid name server addresses. The first server in the preferred-server list must be running, and there must be network connectivity between the control program and that server.
ACTIONCheck to see that all of the above are true. If the control program is still unable to contact its default server, turn on tracing and restart the control program. If the error persists, contact Worldwide Customer Support.