OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: macafee on May 04, 2015, 06:31:57 pm

Title: [SOLVED] apinger and miniupnpd not work!
Post by: macafee on May 04, 2015, 06:31:57 pm
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?
Title: Re: apinger and miniupnpd not work!
Post by: franco on May 04, 2015, 08:19:31 pm
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?
Title: Re: apinger and miniupnpd not work!
Post by: macafee on May 05, 2015, 03:08:49 am
After update the kernel, the box auto restart!
Title: Re: apinger and miniupnpd not work!
Post by: netrixtardis on May 05, 2015, 04:32:53 am
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

Title: Re: apinger and miniupnpd not work!
Post by: AdSchellevis on May 05, 2015, 10:14:23 pm
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.
Title: Re: apinger and miniupnpd not work!
Post by: netrixtardis on May 06, 2015, 02:48:31 am
this did infact resolve my issue.  issue on GH has been closed.

Thanks,