Today a coworker ask me about the next error;
ora12c@motaf-1:~$ tnsping cloud.buey.com TNS Ping Utility for Solaris: Version 22.214.171.124.0 - Production on 10-APR-2017 10:28:02 Copyright (c) 1997, 2014, Oracle. All rights reserved. Used parameter files: TNS-03505: Failed to resolve name
In this case the problem was Oracle cann’t find the tnsnames.ora, it was moved to another path and TNS_ADMIN had not value. Set TNS_ADMIN enviroment variable solved the problem.
HTH – Antonio NAVARRO