We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to connect to an OCI (Oracle cloud) environment with the wallet getting the following error: ORA-28759: failure to open file
ORA-28759: failure to open file
The text was updated successfully, but these errors were encountered:
Solution: This is in the wallet's sqlnet.ora file.
sqlnet.ora
Old: WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="?/network/admin")))
WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="?/network/admin")))
New (fix): WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="$TNS_ADMIN")))
WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="$TNS_ADMIN")))
Sorry, something went wrong.
#13 Document how to fix sqlnet.ora error message
6db15b6
Fixed. Did not automatically update the sqlnet.ora file in case user wanted other changes. Could do this in the future.
Could automate using sed:
sed
sed -i .bak "s|?/network/admin|\$TNS_ADMIN|g" $TNS_ADMIN/sqlnet.ora
owe you guys a dollar for this one
martindsouza
No branches or pull requests
When trying to connect to an OCI (Oracle cloud) environment with the wallet getting the following error:
ORA-28759: failure to open file
The text was updated successfully, but these errors were encountered: