Page 2 of 3
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 5:37 am
by danieloo
this is a patch which only applies to the 1.2 version of the oracle_serverspace wizard
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 9:09 am
by naveenreddyv
do you mean 11.2?
I am using 11.2 version and 64 bit OS
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 9:13 am
by danieloo
No sorry, i mean the oracle serverspace plugin version 1.2
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 9:42 am
by naveenreddyv
Sorry, I was not able to find the serverspace plugin in our nagios plugin list....
what can I do to resolve this issue?
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 9:46 am
by danieloo
ahh your problem is voor the query.. the patch isn't for that one..
You will have to manually edit the command arguments and add the Servicename like this:
-connect IPAddress:1521/service_name
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 10:37 am
by danieloo
sorry for the previous confusion, here is the patch for oracle_query wizard.
Place it in de correct directory usually; /usr/local/nagiosxi/html/includes/configwizards/oracle_query
and execute the next command
patch oracle_query.inc.php < oracle_query.inc.php.txt
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Feb 27, 2013 11:34 am
by slansing
Thank you for the file! I hope it helps him out.
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Thu Feb 28, 2013 6:09 am
by danieloo
I have created patches for all three oralce plugins..
Nicholas Scott will apply them to the wizards and make them available.
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Thu Feb 28, 2013 10:28 am
by lmiltchev
naveenreddyv,
Is your issue resolved? Have you tried the patch posted by danieloo?
Re: error"TNS:listener was not given the SERVICE_NAME"
Posted: Wed Mar 06, 2013 2:02 am
by naveenreddyv
sorry for the delay in response...
Please find the below response after running the patch
patching file oracle_query.inc.php
Hunk #1 FAILED at 46.
Hunk #2 FAILED at 88.
Hunk #3 FAILED at 127.
Hunk #4 FAILED at 157.
Hunk #5 FAILED at 177.
Hunk #6 FAILED at 216.
Hunk #7 FAILED at 301.
Hunk #8 FAILED at 338.
Hunk #9 FAILED at 364.
Hunk #10 FAILED at 399.
Hunk #11 FAILED at 429.
Hunk #12 FAILED at 456.
Hunk #13 FAILED at 491.
13 out of 13 hunks FAILED -- saving rejects to file oracle_query.inc.php.rej
Thanks,
Naveen Reddy