HP-UX AAA Server A.07.01 Administrator's Guide
Table 28-4 External Service Failure Problems (continued)
TroubleshootingProblem
Connecting DB '<database>' with service
'example:1521/ora10g', user 'system'OCI_ERROR
Log MessageUnable to connect
to the Oracle
database server
(AAA_OCIServerAttach -1): ORA-12154: TNS:could not resolve
the connect identifier specified
OCI_ERROR(AAA_OCISessionBegin -1): ORA-24327: need
explicit attach before authenticating a user Failed to open
database connections for db_oci db id
The Oracle server and port that the HP-UX AAA Server is
trying to connect to cannot be resolved.
Cause
Specify the correct server and port specified in the DBID
structure of /etc/opt/aaa/sqlaccess.config.For more
Solution
information on using the SQL Access feature with Oracle, see
Chapter 17, SQL Access on page 221.If the
sqlaccess.config configuration is correct, the OCI client
is unable to resolve the database name. Ensure that the
tnsnames.ora file contains all the databases that your OCI
client can connect to. Also ensure that the TNS_ADMN path
variable is set to the location of tnsnames.ora.
For more details, see your vendor’s documentation.
Troubleshooting the HP-UX AAA Server 349