miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MiniUpnpd not starting on OpenWrt (Ca

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
seanmcne



Joined: 09 Aug 2015
Posts: 4
Location: US

PostPosted: Sun Aug 09, 2015 8:50 pm    Post subject: MiniUpnpd not starting on OpenWrt (Ca Reply with quote

Anti Spam Smile
Back to top
View user's profile Send private message
seanmcne



Joined: 09 Aug 2015
Posts: 4
Location: US

PostPosted: Sun Aug 09, 2015 8:51 pm    Post subject: Reply with quote

Environment info:
- OpenWrt chaos_calmer 15.05 rc2
- Processor info: Cavium Octeon III V0.2

I installed the following packages:

http://downloads.openwrt.org/snapshots/trunk/octeon/generic/packages/base/libssp_4.6-linaro-1_octeon.ipk

http://downloads.openwrt.org/snapshots/trunk/octeon/generic/packages/routing/miniupnpd_1.9.20150609-1_octeon.ipk

http://downloads.openwrt.org/snapshots/trunk/octeon/generic/packages/luci/luci-app-upnp_git-15.213.51431-fa88550-1_all.ipk

After that the configuration was applied properly on the system, however miniupnpd never starts - I've tried starting it via the CLI and I've also attempted to start it via the UI (start/restart) but it never starts.

I've checked the log but there is nothing from miniupnpd. Anyone have any ideas on why it isn't starting or what I can do to discover what error may be silently happening?

Thx!
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Tue Aug 18, 2015 7:49 pm    Post subject: Reply with quote

have you tried to start it using CLI with -d flag ?
Code:
# miniupnpd -d

_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
seanmcne



Joined: 09 Aug 2015
Posts: 4
Location: US

PostPosted: Wed Aug 19, 2015 1:49 am    Post subject: Reply with quote

Thanks for the reply!

Here is what happens when I try to run it from the console, it will spit back the available commands indicating a syntax error:

root@Shield:/# ./etc/init.d/miniupnpd -d
Syntax: ./etc/init.d/miniupnpd [command]

Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Wed Aug 19, 2015 3:47 pm    Post subject: Reply with quote

seanmcne wrote:

root@Shield:/# ./etc/init.d/miniupnpd -d

/etc/init.d/miniupnpd is the init.d script, not the miniupnpd executable.
please try
Code:
root@Shield:/# miniupnpd -d

(or /sbin/miniupnpd or /usr/sbin/miniupnpd or whatever path the miniupnpd is installed !)
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
seanmcne



Joined: 09 Aug 2015
Posts: 4
Location: US

PostPosted: Thu Aug 20, 2015 3:45 am    Post subject: Reply with quote

Thanks! Really appreciate the reply.

Here is what I have tried (below) - the file is definitely under /usr/sbin/ but when I try to execute it the console reports that it's not found.

root@Shield:/# find . -iname *miniupnpd*
./etc/rc.d/S95miniupnpd
./etc/rc.d/K15miniupnpd
./etc/hotplug.d/iface/50-miniupnpd
./etc/init.d/miniupnpd
./tmp/etc/miniupnpd.conf
./usr/sbin/miniupnpd
./usr/lib/opkg/info/miniupnpd.control
./usr/lib/opkg/info/miniupnpd.list
./usr/lib/opkg/info/miniupnpd.conffiles
./usr/lib/opkg/info/miniupnpd.postinst
./usr/lib/opkg/info/miniupnpd.prerm
./usr/lib/opkg/info/miniupnpd.postinst-pkg
./usr/share/miniupnpd

root@Shield:/# ./usr/sbin/miniupnpd
-ash: ./usr/sbin/miniupnpd: not found

root@Shield:/#
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Mon Aug 24, 2015 7:48 am    Post subject: Reply with quote

# ls -la /usr/sbin/miniupnpd
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.