OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] apinger and miniupnpd not work!
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] apinger and miniupnpd not work!  (Read 6212 times)

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
[SOLVED] apinger and miniupnpd not work!
« 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?
« Last Edit: May 06, 2015, 06:53:34 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: apinger and miniupnpd not work!
« Reply #1 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?
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: apinger and miniupnpd not work!
« Reply #2 on: May 05, 2015, 03:08:49 am »
After update the kernel, the box auto restart!
Logged

netrixtardis

  • Newbie
  • *
  • Posts: 11
  • Karma: 2
    • View Profile
Re: apinger and miniupnpd not work!
« Reply #3 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

« Last Edit: May 05, 2015, 05:09:28 am by netrixtardis »
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 165
    • View Profile
Re: apinger and miniupnpd not work!
« Reply #4 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.
Logged

netrixtardis

  • Newbie
  • *
  • Posts: 11
  • Karma: 2
    • View Profile
Re: apinger and miniupnpd not work!
« Reply #5 on: May 06, 2015, 02:48:31 am »
this did infact resolve my issue.  issue on GH has been closed.

Thanks,
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] apinger and miniupnpd not work!
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2