I have a bash script that connects to an oracle 10g database.
In a first step it takes some variables from a \"config\" file with the following command
I solved this problem on my mac machine by changing the shell to 'sh' from 'bash'. Everything just worked smooth then.
Thanks to the original reporter of the problem who explained with a good hint.
This worked for me: connect user/"password" I think if the password contains special characters like '@' we need to use "" for the password.
Daft question, but are you sure you are using the bash
shell on both unix servers ?
I'd try replacing
export USR_PASS="$USRID/$USRID_PASS@myDatabase"
with export USR_PASS="${USRID}/${USRID_PASS}@myDatabase"
to make sure the variables get interpreted correctly
As a final, exotic though, does the password contain any characters other than basic alpha-numeric and punctuation. Because 10g isn't case sensitive, a lowercase password gets converted to uppercase, which can cause odd effects with things like accented characters
The message is pretty clear:
This indicates there isn't really anything wrong with your client configuration.
So, that leaves you with
Possibilites: