I've installed an Avamar Oracle client for Linux on a RedHat server but I'm unable to browse the databases in order to create a dataset or to initiate on demand backup from GUI.
Avamar 5.x
Linux file client is register, I can start file backups.
From logs:
2011-11-18 16:16:56 avagent Info <7452>: Registration of client /clients/xxx with MCS avamarun:28001 successful.
2011-11-18 16:16:56 avagent Info <5928>: Registration of plugin 1001 Unix successful.
2011-11-18 16:16:56 avagent Info <5928>: Registration of plugin 1002 Oracle successful.
2011-11-18 16:16:56 avagent Info <5619>: Registration of client and plugins complete.
2011-11-18 16:49:56 avagent Info <8467>: Starting log file maintenance in "/usr/local/avamar/var" and "/usr/local/avamar/var/clientlogs"
There are a number of known causes of this issue. Most often the cause is configuration related. Refer to the details of known causes below:
1. tnsname.ora is not correctly configured. After finding a "HOST = " entry, avoracle searches for a line containing the SERVICE_NAME keyword. Until it finds this new keyword, all other entries, other "HOST = " entries are ignored. See example of incorrectly configured entry below:
We had the same issue and in our case the /etc/oratab file was missing from the oracle client machine, we had to engage DBA team to have the file created which resolved the problem.
5uR68oOE7d12317
48 Posts
1160
0
Posted January 5th, 2012 05:00
There are a number of known causes of this issue. Most often the cause is configuration related. Refer to the details of known causes below:
1. tnsname.ora is not correctly configured. After finding a "HOST = " entry, avoracle searches for a line containing the SERVICE_NAME keyword. Until it finds this new keyword, all other entries, other "HOST = " entries are ignored. See example of incorrectly configured entry below:
My_DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MyHost.com)(PORT = 1111))
)
(CONNECT_DATA =
(SID = My_DB)
)
)
2. If you are running 9i and 10 database on the same server you need separate tnsnames.ora file for each path.
3. avoracle browses $ORACLE_HOME/network/admin. By default, tnsnames.ora is not in this path and you will see this type of issue.
Fix
1. This issue can be resolved by adding SERVICE_NAME key word to the tnsname.ora file, e.g:
My_DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MyHost.com)(PORT = 1111))
)
(CONNECT_DATA =
(SID = My_DB)
(SERVICE_NAME = My_DB)
)
)
2. Create a separate tnsnames.ora file.
3. Make sure tnsname.ora is in the $ORACLE_HOME/network/admin path.