This discussion is archived
3 Replies Latest reply: Jun 11, 2012 9:55 AM by 938072 RSS

"sqlplus: free(): invalid pointer:" when trying to connect to SSL listener

938072 Newbie
Currently Being Moderated
Hi,

I'm trying to get an SSL connection configured with my Oracle 11.2.0.1 database and I am getting the following error after entering the password (and when I try to just tnsping the connection):

NOTE: I cut out a big chunk of the trace dump. If you'd like to see the entire dump, please let me know.

[po@la4 oracle]$ sqlplus cots_usr@LA2_COTS_SSL

SQL*Plus: Release 11.2.0.1.0 Production on Mon Jun 4 11:55:03 2012

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Enter password:
*** glibc detected *** sqlplus: free(): invalid pointer: 0x000000001ef6d490 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3b34e70d7f]
/lib64/libc.so.6(cfree+0x4b)[0x3b34e711db]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nzumfree+0x74)[0x2adbcffd190c]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztiFIC_Free_Identity_Contents+0x42)[0x2adbcfe3224c]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztiDI_Destroy_Identity+0x37)[0x2adbcfe321e5]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztiFIL_Free_Identity_List+0x3c)[0x2adbcfe32182]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztnFPC_Free_Persona_Contents+0x41)[0x2adbcfe329ad]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztnDAP_Destroy_A_Persona+0x37)[0x2adbcfe32947]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztnFPL_Free_Persona_List+0x3c)[0x2adbcfe328e6]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztwFWC_Free_Wallet_Contents+0x6d)[0x2adbcfe331e3]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztwCloseWallet+0x43)[0x2adbcfe33103]
....
7fffc9fa9000-7fffc9fac000 r-xp 7fffc9fa9000 00:00 0 [vdso]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall]
[po@la4 oracle]$

-----
TNSPING results in the same...
[po@la4 oracle]$ tnsping LA2_COTS_SSL

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 04-JUN-2012 12:08:27

Copyright (c) 1997, 2009, Oracle. All rights reserved.

Used parameter files:
/opt/oracle/11g_client/WALLETS/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCPS)(HOST = la2.po.org)(PORT = 2484)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = la2.po.org_cots)))
*** glibc detected *** tnsping: free(): invalid pointer: 0x0000000011a1f0a0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3b34e70d7f]
/lib64/libc.so.6(cfree+0x4b)[0x3b34e711db]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nzumfree+0x74)[0x2b829cd5a90c]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztiFIC_Free_Identity_Contents+0x42)[0x2b829cbbb24c]
/opt/oracle/11g_client/product/11_2/lib/libnnz11.so(nztiDI_Destroy_Identity+0x37)[0x2b829cbbb1e5]
...

-----

However, the non-SSL connection works fine:

[po@la4 oracle]$ tnsping LA2_COTS

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 04-JUN-2012 12:10:26

Copyright (c) 1997, 2009, Oracle. All rights reserved.

Used parameter files:
/opt/oracle/11g_client/WALLETS/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = la2.po.org)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = la2.po.org_cots)))
OK (10 msec)

-- AND I can connect using sqlplus as well.

-----
MY TNSNAMES.ORA file:

# NON-SSL Connector for DB running on LA2 server
LA2_COTS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = la2.po.org)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = la2.po.org_cots)
)
)

# SSL Connector for DB running on LA2 server
LA2_COTS_SSL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCPS)(HOST = la2.po.org)(PORT = 2484))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = la2.po.org_cots)
)
)

-----
MY SQLNET.ORA file

[po@la4 WALLETS]$ cat sqlnet.ora
BEQUEATH_DETACH=YES
NAMES.DIRECTORY_PATH=(TNSNAMES)
SQLNET.EXPIRE_TIME=10

SQLNET.AUTHENTICATION_SERVICES = (beq,tcps)
SQLNET.OUTBOUNT_CONNECTION_TIMEOUT = 3

SSL_CLIENT_AUTHENTICATION = true
SSL_VERSION = 3.0
SSL_CIPHER_SUITES = (SSL_RSA_WITH_3DES_EDE_CDC_SHA, SSL_RSA_WITH_RC4_128_SHA)

WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /home/po/certs)
)
)

-----

Does anyone have any ideas as to what the problem may be?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points