[SOLVED] apinger and miniupnpd not work!

Started by macafee, May 04, 2015, 06:31:57 PM

Previous topic - Next topic
May 04, 2015, 06:31:57 PM Last Edit: May 06, 2015, 06:53:34 AM by franco
Versions    OPNsense 15.1.10-amd64
FreeBSD 10.1-RELEASE-p9
OpenSSL 1.0.1m 19 Mar 2015

The apinger(Gateway Monitoring Daemon) not worked after upgrade to the new version. But I can restart it manually. There is the error log:
May 5 00:24:50    opnsense: /status_services.php: The command '/bin/pgrep -nF '/var/run/apinger.pid'' returned exit code '1', the output was ''

The miniupnpd(UPnP Service) not worked too. But I cant restart it. There is no erros in system logs. Why?

Fixed the command output: the output is expected, so it is now muted. I can't pinpoint the other issue. Have you restarted the box?

After update the kernel, the box auto restart!

May 05, 2015, 04:32:53 AM #3 Last Edit: May 05, 2015, 05:09:28 AM by netrixtardis
for miniupnpd I found the following info under
Status: System logs: Routing

May 4 21:30:41    miniupnpd[60148]: Failed to init redirection engine. EXITING
May 4 21:30:41    miniupnpd[60148]: DIOCGETSTATUS: Operation not supported by device


No amount of restarting the service brings it back up.

edit:  submitted issue #166 for miniupnp  https://github.com/opnsense/core/issues/166


You probably need a reinstall of the miniupnp package, because of kernel dependencies.
Can you try to reinstall upnp by running the following in a shell (via ssh or console)?

pkg install -f miniupnpd

And then try to start it again.

this did infact resolve my issue.  issue on GH has been closed.

Thanks,