Problem resolved. The solution is to undo reverse path filtering fix in
the recent release of Centos 6. Reference:
http://www.linuxquestions.org/questions/linux-networking-3/multicast-recv-not-working-on-centos-6-2-but-fine-on-cenos-5-7-a-4175412119/
George
On 06/11/2015 05:45 PM, Steve Emmerson wrote:
George,
The tcpdump(1) output indicates that UDP packets are being multicast
to address 224.0.1.3. The LDM configuration-file, however, doesn't
execute a program that listens to that address.
Incidentally, the "-x" (debug) option will likely result in too much
logging.
Regards,
Steve Emmerson
On Thu, Jun 11, 2015 at 10:57 AM, George Trojan
<george.trojan@xxxxxxxx <mailto:george.trojan@xxxxxxxx>> wrote:
It must be something stupid, but I am lost...
Installed ldm-6.12.14 on Centos 6.6. Novra box sends data:
# tcpdump -i eth1 -nn
16:37:34.094084 IP 10.0.9.54.38135 > 224.0.1.3.1203: UDP, length 4032
16:37:34.094286 IP 10.0.9.54 > 224.0.1.3 <http://224.0.1.3>: udp
16:37:34.094390 IP 10.0.9.54 > 224.0.1.3 <http://224.0.1.3>: udp
16:37:34.094539 IP 10.0.9.54.38135 > 224.0.1.3.1203: UDP, length 4032
16:37:34.094674 IP 10.0.9.54 > 224.0.1.3 <http://224.0.1.3>: udp
16:37:34.094825 IP 10.0.9.54 > 224.0.1.3 <http://224.0.1.3>: udp
^C
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:25:B3:E2:5E:4E
inet addr:10.0.5.12 Bcast:10.0.5.255 Mask:255.255.255.0
inet6 addr: fe80::225:b3ff:fee2:5e4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:151147 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:40382553 (38.5 MiB) TX bytes:734 (734.0 b)
In ldmd.conf I have:
# NMC
EXEC "noaaportIngester -x -b 8096 -m 224.0.1.1 -u 1"
# GOES
#EXEC "noaaportIngester -n -b 8096 -m 224.0.1.2 -u 2"
EXEC "dvbs_multicast -x -m 224.0.1.2"
EXEC "readnoaaport -m 224.0.1.2 -u 2"
After starting ldm the only entries in the log files are:
# tail ldmd.log
Jun 11 16:42:20 dvb1-aawu ldmd[12831] NOTE: Starting Up (version:
6.12.14; built: Jun 10 2015 17:34:55)
Jun 11 16:42:20 dvb1-aawu ldmd[12831] NOTE: Using local address
0.0.0.0:388 <http://0.0.0.0:388>
Jun 11 16:42:20 dvb1-aawu dvbs_multicast[12834] DEBUG:
shmfifo_create(): Got semaphore: pid=12834, semid=393219
# tail nmc.log
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: Number 0
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: % -nan
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714] NOTE:
Full FIFO:
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: Number 0
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: % -nan
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714] NOTE:
Products:
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: Inserted 0
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714]
NOTE: Mean Rate 0/s
Jun 11 16:40:55 dvb1-aawu noaaportIngester[12714] NOTE:
----------------------------------------
Jun 11 16:42:20 dvb1-aawu noaaportIngester[12833] DEBUG: Mapping
2004615168
Output from strace:
12833 is noaaportIngester
# strace -p 12833
Process 12833 attached - interrupt to quit
futex(0x7fb9597bc9d0, FUTEX_WAIT, 12837, NULL
and, for dvb_multicast:
# strace -p 12834
Process 12834 attached - interrupt to quit
recvfrom(4,
Any hints what should I check? I have noaaport 1.7.1 with
ldm-6.9.8 getting data from the same Novra receiver.
George
_______________________________________________
noaaport mailing list
noaaport@xxxxxxxxxxxxxxxx <mailto:noaaport@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/