Intermittent Ora-1017 When The SQL*Net Alias Uses A Service Name (Doc ID 1160553.1)

Last updated on SEPTEMBER 28, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
Checked for relevance on 04-Jun-2013

Symptoms


When the SQL*Net alias is based on a service name rather than on a SID, the connections to the database are failing intermittently with ORA-1017.



sqlplus scott/tiger@testbatch
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jul 27 20:14:35 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

ERROR:
ORA-01017: invalid username/password; logon denied


sqlplus scott/tiger@testbatch
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jul 27 20:15:08 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options



Note that this can also manifest itself as ORA-28000 "the account is locked" (when, for example, connection to a known schema like DBSNMP)
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms