(0002901)
|
NickH
|
2016-03-22 02:17
|
|
miniupnpd appears in clearos-fast-updates but does not appear to be working.
1 - /etc/sysconfig/miniupnpd is not being updated with the correct interfaces but stays at default:
# On a ClearOS system with app-miniupnpd package installed, these values
# are updated automatically.
MINIUPNPD_WAN="-i lo"
MINIUPNPD_LANS="-a lo"
MINIUPNPD_URL="-w https://192.168.1.1:81" [^]
changing it by hand corrects the startup line.
2 - The firewall chains MINIUPNPD is not being created on installation. It looks like the script /etc/miniupnpd/iptables_init.sh is not being run until the system is rebooted or, perhaps after a firewall restart
3 - "service miniupnpd status -l" gives one error: "Mar 22 07:59:25 hostname.howitts.co.uk miniupnpd[6375]: could not open lease file: /var/lib/miniupnpd/upnp.leases". I don't know how critical this is.
4 - if you use "chkconfig miniupnpd on" the service fails to run even after fixing 1):
[root@hostname ~]# service miniupnpd status -l
Redirecting to /bin/systemctl status -l miniupnpd.service
? miniupnpd.service - UPnP device server.
Loaded: loaded (/usr/lib/systemd/system/miniupnpd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Tue 2016-03-22 08:13:31 GMT; 57s ago
Docs: man:miniupnpd(8)
Process: 1093 ExecStart=/usr/sbin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf $MINIUPNPD_WAN $MINIUPNPD_LANS $MINIUPNPD_URL (code=exited, status=1/FAILURE)
Mar 22 08:13:30 hostname.howitts.co.uk systemd[1]: miniupnpd.service: control process exited, code=exited status=1
Mar 22 08:13:30 hostname.howitts.co.uk systemd[1]: Failed to start UPnP device server..
Mar 22 08:13:30 hostname.howitts.co.uk systemd[1]: Unit miniupnpd.service entered failed state.
Mar 22 08:13:30 hostname.howitts.co.uk systemd[1]: miniupnpd.service failed.
Mar 22 08:13:31 hostname.howitts.co.uk systemd[1]: miniupnpd.service holdoff time over, scheduling restart.
Mar 22 08:13:31 hostname.howitts.co.uk systemd[1]: start request repeated too quickly for miniupnpd.service
Mar 22 08:13:31 hostname.howitts.co.uk systemd[1]: Failed to start UPnP device server..
Mar 22 08:13:31 hostname.howitts.co.uk systemd[1]: Unit miniupnpd.service entered failed state.
Mar 22 08:13:31 hostname.howitts.co.uk systemd[1]: miniupnpd.service failed.
Restarting it then fixes it although the lease file issue remains. |
|