Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-12578: TNS:wallet open failed - Oracle wallet issue with 11gR2 on XP

862820May 18 2011 — edited Oct 29 2013
Hi,

I am having a strange problem with setting up of Wallet and configuring it with my local 11g R2 Database on the windows (XP) box.
The wallet gets created properly and I am able to login using the command "sqlplus /@<alias>". There is a valid entry for <alias> in the tnsnames.ora file.

However whenever I try to do any stuff like creation of a table etc, I get the error - "ORA-12578: TNS:wallet open failed". The same table creation etc works fine if I de-couple the wallet from my Database by setting "SQLNET.WALLET_OVERRIDE = FALSE" in the sqlnet.ora file.

I have checked for the correct entries in the wallet using the following command, everything seems to be just fine.

mkstore -wrl "<wallet location>" -listCredential

Not sure what could be the cause of this error? Appreciate help on this.

Thanks
Sachin

Edited by: 859817 on May 18, 2011 7:21 AM

Comments

Helios-GunesEROL
Hi;

Please check:
How To Prevent The Secure Password Store Wallet From Being Moved to Another Host [ID 1114599.1]

Regard
Helios
862820
Hi Helios,

Thanks for your reply. I couldn't find thread you mentioned. The closest match I could find was -

http://www.myoraclesupports.com/content/how-prevent-secure-password-store-wallet-being-moved-another-host

Tried the suggested stuff here, but the problem still seems to be same. (I added an entry to my windows host file also as suggested here)

Thanks
Sachin
Aman....
But that wasn't a thread but an article on the support web site. Are you sure you logged in to it and couldn't find the article actually?

Aman....
862820
Yep tried,

Do you have the link to that post/thread?

Thanks
Sachin
Aman....
Hmm, I have just checked and the document is there. Did you go to https://support.oracle.com (don't use that myoraclesupport website, it's a fake) and searched for it in the Knowledge Base?

Aman....
862820
Hey Aman....

Thanks. Unfortunately the info at the support site is exactly the same as what was present in the earlier link I mentioned and neither of them worked for my case :(

Still stuck with the issue. Wondering if it is the 11G R2 issues specifically....

Anyone got a clue....

Thanks
Sachin
862820
This issue didn't get solve and I had no other option but to downgrade the Database from 11G Release 2 to 11G Release 1. Once I put the R1, wallet was working fine.

Sachin
675403
Hi,
I had the same issue on my Window 7 laptop and saw your thread as I was attempting to troubleshoot it. I figured it out and I'd like to share how. I turned on the Sysinternals tool Process Monitor and tried startup again. After the failure I stopped collecting data in process monitor. I filtered the output to include lines with .sso or .p12 which are the extensions on my two Wallet files. It showed me that the issue was ACCESS DENIED to the NT_AUTHORITY\SYSTEM account when accessing those two files. SYSTEM is the account my local test Oracle instance runs under. I granted the rights to SYSTEM for those two files and now my database is working.
Joe
Texas
Hi Joe,


How did you grant SYSTEM (db user) the rights for those two files on OS level?
Azar
Is this following post may helpful for you?

http://mohamedazar.com/2012/03/25/how-to-configure-clients-to-use-external-password-stores/
Texas
Thanks a lot.

Though, my wallet is working when I connect via sqlplus.

Where I'm having issues is, I want to use it for DataPump export job ... that is where I got the error:
ORA-12578: TNS:wallet open failed


Any hint on that?

Thanks for your response.
Azar
Can you paste your sqlnet.ora file here?
Texas
Here it is:

WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)(METHOD_DATA =
(DIRECTORY = /oracle/product/11.2.0/ddw7/network/admin)))

SQLNET.WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
Azar
Change TRUE to FALSE and try, Usually this parameter is useful for who want connect particular schema from client machine, you can configure this parameter in client machine and configure which schema you want to connect without schema name and password.

I don't think so If this parameter is enabled in server, you can able to take export or connect other schema in database

SQLNET.WALLET_OVERRIDE = FALSE
Texas
I tried that earlier, it ain't working.


UDE-01017: operation generated ORACLE error 1017
ORA-01017: invalid username/password; logon denied
Texas
Another point, I am using the wallet on the server for export job but all sqlplus connection using it was successfull.
Azar
what is your expdp command?
Texas
expdp /@ddw7 SCHEMAS=SO_DL,SO_IL ESTIMATE_ONLY=y NOLOGFILE=y


but when I do:

sqlplus /@ddw7, it works perfectly without prompting for anything ..
Azar
Not sure ,Without supply username and password datapump is support.
Texas
Thanks for your time though.
ote

Hi,

give the Windows SYSTEM account read permissions to the files ewallet.p12 and cwallet.sso. Expdp and  impdp are working with the SYSTEM account and need to read these files.

Greets

OTE

1 - 21
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 26 2013
Added on May 18 2011
21 comments
43,131 views