troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
194 stars 86 forks source link

when I run pimd on ubuntu it throws an error "Another multicast routing application is already running." #195

Closed shockingchen closed 2 years ago

shockingchen commented 2 years ago

root@ubuntu:/etc# pimd pimd: 15:07:53.765 Ignoring ens38, same subnet as ens33 pimd: 15:07:53.765 Another multicast routing application is already running. root@ubuntu:/etc# cat /proc/version Linux version 4.15.0-29-generic (buildd@lgw01-amd64-057) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018

whar is the root cause? thank you.

troglobit commented 2 years ago
  1. What version of pimd are you using?
  2. The multicast routing stack only allows one routing daemon at a time (except if you use policy routing/tables)
  3. The root cause is that you probably have another multicast routing daemon running, e.g. smcrouted, mrouted, or more likely another pimd instance in the background
shockingchen commented 2 years ago

hi,it seems I did not install the mrouted,smcrouted,how can I find the Another multicast routing application? which port is listening by the pimd?

pimd version 2.3.2

root@ubuntu:/etc# pimd -v pimd version 2.3.2 root@ubuntu:/etc# pimd -d debug level 0xffffffff (dvmrp_detail,dvmrp_prunes,dvmrp_routes,dvmrp_neighbors,dvmrp_timers,igmp_proto,igmp_timers,igmp_members,trace,timeout,packets,interfaces,kernel,cache,rsrr,pim_detail,pim_hello,pim_register,pim_join_prune,pim_bootstrap,pim_asserts,pim_cand_rp,pim_routes,pim_timers,pim_rpf) 15:32:28.626 pimd version 2.3.2 starting ... 15:32:28.626 Got 262144 byte send buffer size in 0 iterations 15:32:28.626 Got 262144 byte recv buffer size in 0 iterations 15:32:28.626 Got 262144 byte send buffer size in 0 iterations 15:32:28.626 Got 262144 byte recv buffer size in 0 iterations 15:32:28.626 Getting vifs from kernel 15:32:28.626 Installing ens33 (192.168.138.131 on subnet 192.168.138) as vif #0-2 - rate 0 15:32:28.626 Ignoring ens38, same subnet as ens33 15:32:28.626 Getting vifs from /etc/pimd.conf 15:32:28.626 Local Cand-BSR address 192.168.138.131, priority 5 15:32:28.626 Local Cand-RP address 192.168.138.131, priority 20, interval 30 sec 15:32:28.626 spt-threshold packets 0 interval 100 15:32:28.626 Local static RP: 169.254.0.1, group 232.0.0.0/8 15:32:28.626 IGMP query interval : 12 sec 15:32:28.626 IGMP querier timeout : 41 sec 15:32:28.626 Another multicast routing application is already running. root@ubuntu:/etc# smcrouted

Command 'smcrouted' not found, did you mean:

command 'smcroute' from deb smcroute

Try: apt install

root@ubuntu:/etc# mrouted mrouted: command not found

troglobit commented 2 years ago

If you've installed pimd as a .deb packlage from Ubuntu then it's likely already running in the background. Check your ps output, e.g.

ps fax |grep pimd
shockingchen commented 2 years ago

thank you,it seems can be started. I did not do anything change,just reboot the linux today?

troglobit commented 2 years ago

OK, not a bug then, so closing this issue report.