1827068 Members
3972 Online
109713 Solutions
New Discussion

port locked?

 
SOLVED
Go to solution
Francis Hwang
Occasional Advisor

port locked?

When I issue "netstat -a" it displays one line every 12 or more seconds. Something is wrong on this HP-UX 11.0 box. Network response, ping, telnet, ftp all seem ok. Except some users login from RF device have to wait 30 second to get connected. But once connected, all work fine. Do anyone has any clue?
cdhill
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: port locked?

What is an RF device?

live free or die
harry
Live Free or Die
Francis Hwang
Occasional Advisor

Re: port locked?

RF stands for Radio Frequency. Typical use is wireless bar code scanner for inventory purpose.
cdhill
John Jimenez_2
Occasional Advisor

Re: port locked?

Francis,

I had this problems plus lockups when I used a 3com card with aironet (cisco) antanas. At that time I had only 3 people using them. I swapped them over to cisco and that worked great. I guess my problem had to with compatibility. Is you RF card and antaneas made by the same company. If not try another vendors card. Also if you are using encrypten instead of clear text I guess it could be authenticating. But, as long as you work fine one you are on the network, Is sounds like a small price to pay for
Do not worry about where you are at in your life right now, as long as you moved a little in the right direction from yesterday to today, and am moving in the right direction today for tomorrow.
Krishna Prasad
Trusted Contributor

Re: port locked?

Can you do a traceroute from your box to one of you RF devices? This is of course if they have an IP. I know some RF devices get there IP from a base station or some other device.

If the gun it self doens't have an IP try doing the trace route between your host and the RF/BASE station.

This might help you determine which connection is having trouble.
Positive Results requires Positive Thinking
harry d brown jr
Honored Contributor

Re: port locked?

Yup, that's what I consider RF. I just wasn't sure if RF had taken on a new meaning.

live free or die
harry
Live Free or Die
Francis Hwang
Occasional Advisor

Re: port locked?

John & Ron,

Thanks for your response. Routing is not a problem since they sit on the same switch. And there is another server in the same subnet running without any problem. I can reboot this server and that may clean up everything. But I want to keep the problem there so I can find out what's wrong. The netstat -a delay leads me toward problem of the port/socket hangs. But I don't know how to analyze this kind of situation. Any help will be greatly appreciated!

Francis
cdhill
Ron Kinner
Honored Contributor
Solution

Re: port locked?

Compare the response time of netstat -a with netstat -an. Do you see a much faster response with the -an option? If you do then you have a DNS problem and the delay you are seeing is the timeout when it queries the DNS for the hostname associated with the ip address.

Try using nslookup to find the name of a device (at ip a.b.c.d) on your network by typing:
nslookup a.b.c.d

Do you get a result? How long did it take? About as long as your time between lines on netstat -a? Per the 10.2 man you should have files: /etc/resolv.conf where the DNS server is defined and /etc/nsswitch.conf where it defines the order of query (DNS then /etc/hosts or NIS).

You can also type nslookup by itself and I think it should tell you where it will try to get the info from first. Get out of interactive mode with exit. I don't use DNS on my systems so it just goes to /etc/hosts and pulls out the name really fast.

Ron
Francis Hwang
Occasional Advisor

Re: port locked?

Ron,

You got it!
netstat -na came right back. I checked DNS boot file and found there was no forwarders entry. Changed boot file and restarted the DNS server. Everything works fine now. Great help! Thanks!

Francis
cdhill