Steps to troubleshoot common issues faced during Oracle data collection and asset import are required.
Refer to the following table for guidelines to troubleshoot common issues that are faced during Oracle data collection and asset import.
Error message | Troubleshooting steps |
---|---|
ORA-12505: TNS listener does not currently know of SID given in connect descriptor |
./sqlplus <UserName>/<Password>@"(DESCRIPTION=(FAILOVER=ON)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=192.68.10.10)(PORT=1521)))(CONNECT_DATA=(SID=orcl)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=5)(DELAY=10))))" |
ORA-12541 TNS no listener |
|
The parameter is incorrect=0D=0A. Scope is server <server name>
|
On Windows target computer The Oracle services running on the machine must have the admin privileges on CCS user. Make sure that the permission on Oracle Home folder and other Oracle files such as data files and control files are present for user which is used for data collection. On UNIX target computer To check whether Oracle process is running and to check its Oracle Home and SID name: Linux:
###ps -eo "pid,args" | grep pmon | grep -v "grep" | while read Instances; do instanceID=$(echo $Instances | egrep -o '\b([0-9]+)\b'); instanceName=$(echo $Instances | awk -F" " '{print $2}'); OraHome=$( ls -llad /proc/$instanceID/exe | awk -F"->" '{print$2}'); echo $instanceName=$OraHome; done ###ps -eo pid,command | grep tnslsnr | grep -v \"grep\" | awk -F' ' '{print$1":"$2":"$3}' Solaris: ###ps -eo "pid,args" | grep pmon | grep -v "grep" ###pwdx <PID of pmon service> | awk -F" " '{print $2}' ###ps -eo pid,args | grep tnslsnr | grep -v "grep" | awk -F' ' '{print$1":"$2":"$3}' |
Failed to read Window's Registry information during Oracle data collection on Windows. |
We use API ::RegConnectRegistry to connect to remote registry. RegConnectRegistry requires the Remote Registry service to be running on the remote computer. By default, this service is configured to be started manually. To configure the Remote Registry service to start automatically, run Services.msc, and change the Startup Type of the service to Automatic.
|
Oracle asset import fails |
##ps -eaf | grep pmon
##ls -lad /proc/<instance pid>/exe
##ps -eaf | grep tnslsnr
Run the following commands to see the listeners which are currently running and if they are using TNS_ADMIN:
pargs –e <pid of listener> | grep TNS_ADMIN
|
Oracle Data collection fails with Error:Platform = not Supported in the logs |
If an Oracle asset is added manually, make sure that the following asset type properties are updated properly.
|