ORA-12546: TNS:permission denied after moving to new server
NetBackup 184.108.40.206 on Solaris 10
Have an existing Solaris Cluster with several servers, four Oracle DB.
All backups run fine, using rman scripts. Policy call basic script which checks the server name, then updates the policy variable so it selects the child policy with the storage for direct backups via fiber. Has worked fine for many years.
Added new server, so I updated the scripts to include possibility of more server names. After cluster failover to new server, of the four DB, three run fine, archive and DB, the fourth gives me the ORA-12546: TNS:permission denied error when run from NB, or as root from the server. When run as oracle by running the script, it works fine.
I checked the externaljob.ora files, they are the same for all 4 DB.
Let me know what you want to see, essentially, the parent scripts work fine, the child jobs fail.
14:14:40.898  <4> bphdb: INF - Processing /ORASCORE/opt/app/oracle/rman/ORASCORE_arch_edl.sh
14:14:40.899  <4> bphdb: INF - Waiting for the child status
14:14:40.901  <4> bphdb: INF - Child executing /ORASCORE/opt/app/oracle/rman/ORASCORE_arch_edl.sh
14:14:46.900  <16> bphdb: ERR - Script exited with status = 1 <the requested operation was partially successful>
14:14:46.900  <16> bphdb: ERR - bphdb exit status = 6: the backup failed to back up the requested files
14:14:46.900  <4> bphdb: INF - EXIT STATUS 6: the backup failed to back up the requested files