Ask the Expert

ORA-12514 error after changing port for LISTENER.ORA and TNSNAMES.ORA

Actually I'm using the default port 1521 in my LISTENER.ORA and TNSNAMES.ORA files. I want to change it to something else. I changed it in both Listener.ora and TNSnames.ora then restarted the instance. Now, when I try to connect to the database, I get the ORA-12514 error.

    Requires Free Membership to View

The ORA-12514 indicates that the listener could not resolve SERVICE_NAME given in connect descriptor. Basically, it means that the service name you denoted in the CONNECT_DATA set of parameters, in your TNSNAMES.ORA file could not be found in your Listener's configuration. You need to either verify that this entry is correct in your TNSNAMES.ORA file or your LISTENER.ORA file.

This was first published in September 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: