- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using spray RPC: Program not registered
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 04:54 AM
12-14-2016 04:54 AM
Hi
I am using /usr/sbin/spray command to check if packets are being dropped from one hp-ux server to the other, but I am getting the following error:
spray: cannot clnt_create 10.1.20.240:netpath: RPC: Program not registered
I have checked and found an article that says I need to uncomment lines related to spray on file /etc/inetd.conf and refresh inet, so I did, but unfortunately nothing changed.
Can you help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 07:06 AM
12-14-2016 07:06 AM
Re: using spray RPC: Program not registered
> I am using /usr/sbin/spray command [...]
How, exactly? As usual, showing actual commands with their actual
output can be more helpful than vague descriptions or interpretations.
Why, exactly? Is there some actual problem which you are trying to
solve?
> I have checked and found an article [...]
Great, but its location is a secret?
> [...] that says I need to uncomment lines related to spray on file
> /etc/inetd.conf and refresh inet, so I did, [...]
What, exactly, did you do where, exactly? (I assume that there could
be two systems involved here.)
> Can you help[?]
I know nothing about "spray", except what I found here:
http://h20566.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c02270489&lang=en-us&cc=us
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c02264864&lang=en-us&cc=us
but that suggests that specifying a "-t <nettype>" option on the "spray"
command might be useful. (What's in your "/etc/netconfig" file?) But
whether "spray" will do anything to help with your actual problem
(whatever that might be) is another question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 11:12 PM
12-14-2016 11:12 PM
Re: using spray RPC: Program not registered
I am using spray like this:
spray -c 100 -d 20 -l 2048 10.1.20.240 spray: cannot clnt_create 10.1.20.240:netpath: RPC: Program not registered
The purpose of running this command is to check if from one server to another there is packets being dropped, because there is intermittent loss of connectivity from one server (aplication) to the other (database server). The error is:
Start BCH cleanup ... UnRegister BCH Instance ... SQL error in file 'BCHInstance.pc': Last SQL statement: at or near line number: 0 SQL return code : -3114 SQL error message : ORA-03114: not connected to ORACLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2016 09:19 AM
12-15-2016 09:19 AM
Re: using spray RPC: Program not registered
> I am using spray like this:
Ok. I still know nothing, but it appears that "RPC: Program not
registered" is what you get when the appropriate daemon is not running
(and, hence, not registered); in this case, rpc.sprayd. Around here:
dyi# spray -c 100 -d 20 -l 2048 localhost
spray: cannot clnt_create localhost:netpath: RPC: Program not registered
dyi# /usr/lib/netsvc/spray/rpc.sprayd
dyi# spray -c 100 -d 20 -l 2048 localhost
sending 100 packets of length 2048 to localhost ...
no packets dropped by localhost
12283 packets/sec, 25156614 bytes/sec
So, you might try that on your target system. Possibly interesting:
dyi# ps -ex | grep spray
12350 ? 0:00 /usr/lib/netsvc/spray/rpc.sprayd
dyi# rpcinfo | grep spray
100012 1 udp 0.0.0.0.197.246 sprayd superuser
100012 1 tcp 0.0.0.0.210.221 sprayd superuser
100012 1 ticlts \000\000\020\372 sprayd superuser
100012 1 ticotsord \000\000\020\375 sprayd superuser
100012 1 ticots \000\000\021\000 sprayd superuser
(Compare results before and after starting rpc.sprayd.)
Whether this will tell you anything about your ORA-03114 error is
another question, of course.
> [...] there is intermittent loss of connectivity from one server
> (aplication) to the other (database server).
I also know nothing about Oracle, but from what I've read in the past
few minutes, that may be one possible cause of an ORA-03114 error, but
it's not the only one (and it may not be the most likely one).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2016 10:32 PM
12-15-2016 10:32 PM
Re: using spray RPC: Program not registered
Hi
I am still getting the error:
/usr/lib/netsvc/spray/rpc.sprayd host2[154]/ #spray -c 100 -d 20 -l 2048 localhost sending 100 packets of length 2048 to localhost ... 13 packets (13.000%) dropped by localhost 6465 packets/sec, 13241379 bytes/sec host2[155]/ #ps -ex | grep spray 5590 ? 0:00 /usr/lib/netsvc/spray/rpc.sprayd 5593 pts/0 0:00 grep spray host2[156]/ #rpcinfo | grep spray 100012 1 udp 0.0.0.0.204.27 sprayd superuser 100012 1 tcp 0.0.0.0.196.244 sprayd superuser 100012 1 ticlts \000\000\020E sprayd superuser 100012 1 ticotsord \000\000\020H sprayd superuser 100012 1 ticots \000\000\020K sprayd superuser host2[157]/ #spray -c 100 -d 20 -l 2048 10.1.20.240 spray: cannot clnt_create 10.1.20.240:netpath: RPC: Program not registered host2[158]/ #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2016 12:19 AM
12-16-2016 12:19 AM
Solution> host2[157]/ #spray -c 100 -d 20 -l 2048 10.1.20.240
> spray: cannot clnt_create 10.1.20.240:netpath: RPC: Program not registered
Ok. Did you start rpc.sprayd on the system at 10.1.20.240?
man rpcinfo
rpcinfo -p 10.1.20.240
This stuff isn't magic. I know nothing, but, as I read it, "spray"
on one (source) system talks to rpc.sprayd on the other (target) system.
If that's true, then rpc.sprayd must be registered and running on the
other (target) system. (I did my test to "localhost", so my target
system was the same as my source system, so it was easy for me to start
rpc.sprayd on my target system. You'll need to work a little harder.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2016 12:23 AM
12-16-2016 12:23 AM
Re: using spray RPC: Program not registered
my apologies, its working now.