Issues with source binding to port

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
Seenon
Posts: 2
Joined: Thu Nov 06, 2014 9:03 am

Issues with source binding to port

Post by Seenon »

Hey all,

I am trying to solve an issue with my network analyzer seeming not "listening" on the port I have assigned. All files seem to be getting generated but no data is coming in - we have troubleshot at the network side and verified everything is working on that end. The only odd behavior I am seeing is that the port I am binding to for the netflow connection does not get listed within netstat when I run the command.


Running a Ps -ef | grep nna I am getting -


[root@nagiosna var]# ps -ef | grep nna
nna 4019 1 0 13:22 ? 00:00:00 /usr/local/bin/nfcapd -I 2 -l /usr/local/nagiosna/var/Juniper/flows -p 8888 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/Juniper/8888.pid -D -e -w -z
nna 4020 4019 0 13:22 ? 00:00:00 /usr/local/bin/nfcapd -I 2 -l /usr/local/nagiosna/var/Juniper/flows -p 8888 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/Juniper/8888.pid -D -e -w -z

Yet when I run a netstat -ltn or -atn I am not seeing the port listed in listening - wondering if I could have some permissions issues - selinux and iptables are both not running.
Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LIST


any help would be greatly appreciated.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issues with source binding to port

Post by lmiltchev »

You should be checking UDP ports not TCP...

Try running:

Code: Select all

netstat -aun
Be sure to check out our Knowledgebase for helpful articles and solutions!
Seenon
Posts: 2
Joined: Thu Nov 06, 2014 9:03 am

Re: Issues with source binding to port

Post by Seenon »

Thanks -- I see it now - feel a bit on the slow side - turns out its my network guy not setting things up correctly.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Issues with source binding to port

Post by tmcdonald »

These things happen, no doubt about it. Are we clear to close the thread?
Former Nagios employee
Locked