By javierruiz
When I try to connect with TOAD this appears: TNS_ADMIN environment variable is not defined EZCONNECT is not the first naming method in NAMES.DIRECTORY_PATH which may conflict with other naming methods specified.
Plus I do not know what to put on the service name section
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @javierruiz You’re probably better off asking in a Oracle forum, but when I searched a bit, it seems like you’re probably missing the Oracle path from $PATH: https://dba.stackexchange.com/questions/22739/oracle-11g-r2-standard-edition-installation-set-environment-variable-path-and
The TNS_ADMIN environment variable is used to specify the directory location for the tnsnames.ora file. The TNS_ADMIN environment variable can be defined in the following ways:
For UNIX users, the order in which Oracle searches locations for Oracle Net files like sqlnet.ora and tnsnames.ora are in this order:
$HOME for hidden files only (i.e., .sqlnet.ora and .tnsnames.ora)$TNS_ADMIN$HOME/etc or /var/opt/oracle (depends on platform)$ORACLE_HOME/network/adminDon’t hesitate to contact me if you have any trouble !
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.