1836995 Members
1931 Online
110111 Solutions
New Discussion

symbolic link problem

 
SOLVED
Go to solution
Marco Mohrmann
Occasional Contributor

symbolic link problem

Hello,

I installed Oracle 8.1.7 and Oracle IAS on one machine. Both products need a configuration file (tnsnames.ora). I change the file for Oracle (owner oracle) and then link the file to IAS (owner ias) with the command "ln -s tnsnames.ora /ias_directory/tnsnames.ora". Before doing this, I change the umask for the user oracle to "000". The user ias can see the file as a linked file (with ls). When accessing the file with pg or more I get the error " tnsnames.ora: too many levels of symbolic links"

any idea what's going wrong?

Thanks

And have a nice weekend

Marco
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: symbolic link problem

Hi:

This error suggests a file that is linked to itself, or that you have a circular chain of links. I would trace the links, remove them, and start fresh using absolute paths to develop the linkages.

...JRF...
Bruce Regittko_1
Esteemed Contributor
Solution

Re: symbolic link problem

Hi,

Yes, you absolutely want to use an absolute path! The only time you can safely get away with a path not starting with / is if both the link and the target file are in the same directory.

--Bruce
www.stratech.com/training
Marco Mohrmann
Occasional Contributor

Re: symbolic link problem

Hi Bruce,

great, it's work fine

Thanks

Marco