Reputation: 129
I managed to create and store credentials in an oracle wallet on a Unix system using mkstore
command line tool.
How can I achieve the same in Windows? Oracle Wallet manager seems to be a different thing that ask for certificate and certification authority and on command line mkstore
give me syntax error ...
'The syntax of command is incorrect.'
I have run as administrator and have the Oracle Runtime Client 12.2 installed.
Any idea or help?
Upvotes: 2
Views: 4309
Reputation: 1
I had the same issue Syntax error every time I tried to do anything with mkstore. Found that the person who built the server didn't set the ORACLE_HOME or TNS_ADMIN env variables but that didn't help. What did work was Markus F's suggestion to edit the mkstore.bat
:check_orahome if ("%ORACLE_HOME%") == () goto :no_orahome to
:check_orahome if ("%ORACLE_HOME%") == ("") goto :no_orahome
Thanks very much Markus you saved me hours.
Upvotes: 0
Reputation: 21
maybe this works for you too:
I've edit the file mkstore.bat and changed the following line
:check_orahome
if ("%ORACLE_HOME%") == () goto :no_orahome
to
:check_orahome
if ("%ORACLE_HOME%") == ("") goto :no_orahome
That helped me.
Upvotes: 2
Reputation: 805
There is a known issue with the mkstore.bat from version 12.2.0.1 - when you attempt to use it, it results in the error message: The syntax of command is incorrect.
Here are a couple of possible options to get you going:
For anyone interested, this is related to Bug 26827996. https://support.oracle.com/epmos/faces/DocumentDisplay?id=2406404.1
Upvotes: 4