OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: Krom on March 15, 2015, 09:33:28 pm

Title: [SOLVED] IGMP proxy service fails to start.
Post by: Krom on March 15, 2015, 09:33:28 pm
Hello, I decided to try out turning one of my spare computers into a router and OPNsense seemed like a good distribution to start with.  However I am having an issue with multicast routing which is necessary for my ISP provided television streams...

When attempting to start or configure the IGMP proxy service, the webui will report that it successfully started, but the service will not be running.  The system log records the following error message:
Code: [Select]
OPNsense opnsense: /status_services.php: The command '/usr/local/sbin/igmpproxy -d4 -c /tmp/igmpproxy.conf' returned exit code '1', the output was 'igmpproxy: illegal option -- 4'
A workaround I have found is to log in to the shell at the console and execute the following command:
Code: [Select]
/usr/local/sbin/igmpproxy /tmp/igmpproxy.conf &Doing so will successfully start the service and it will continue running from then.  Although any attempt to modify the service configuration, restart it from the webui, or rebooting the system will cause it to fail again requiring another manual start.

I'm not sure what the '-d4' or '-c' command line arguments applied by the webui are supposed to do, but either one will cause the service to fail if you try them at the shell.  The service will start with the -d and -v command line arguments though.
Title: Re: IGMP proxy service fails to start.
Post by: AdSchellevis on March 16, 2015, 05:58:16 pm
Hi,

Thanks for reporting this issue, I've corrected the code to execute the standard rc script for this process. The following release should include the corrected version.
(checked into github : https://github.com/opnsense/core/commit/2e506e47b497548bad04067fe3625a34f79aaa7b )

Apparently the old command line parameters where there to set the logging to the (current) defaults. (warning / syslog)

Cheers,

Ad
Title: Re: IGMP proxy service fails to start.
Post by: Krom on March 17, 2015, 12:46:26 am
I figured it would be a quick fix, thanks.