upnp : libupnp.so.3 is missing

Bug #214660 reported by LorDa
This bug report is a duplicate of:  Bug #201624: [hardy] amule upnp needs libupnp2. Edit Remove
4
Affects Status Importance Assigned to Milestone
amule (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: amule

Hello,
There seems to be a bug with upnp.

Plaftorm : Ubuntu Hardy
Version of package : 2.2.0~svn20080218-0ubuntu3

I can get the log after waiting a looong time... If i desactivate Upnp in the amule.conf file it's OK.

For example, Upnp is OK with Transmission Bittorent Client.

----------------------
Here's the log :

2008-04-09 17:21:49: MuleUDPSocket.cpp(78): Created Server UDP-Socket at port 24665
2008-04-09 17:21:49: MuleUDPSocket.cpp(78): Created Client UDP-Socket at port 24672
2008-04-09 17:21:49: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-04-09 17:21:49: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.2.
2008-04-09 17:21:49: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
2008-04-09 17:21:49: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.0.2:49152.
2008-04-09 17:22:22: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-04-09 17:22:22: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-04-09 17:22:22: UPnP.cpp(1718): Universal Plug and Play: Successfully subscribed to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.0.1:6666/wipconn.
2008-04-09 17:22:22: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-04-09 17:22:22: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:Layer3Forwarding:1'. Ignoring.
2008-04-09 17:22:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:22:52: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:23:22: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:23:52: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:24:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionType"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:24:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PossibleConnectionTypes"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:25:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionStatus"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:25:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("Uptime"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:26:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("LastConnectionError"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:26:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("RSIPAvailable"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:27:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("NATEnabled"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:27:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ExternalIPAddress"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:28:22: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:28:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingLeaseDuration"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:29:22: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:29:52: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).

----------------------
libupnp.so.3 is missing :
arnaud@PC-Desktop:/usr/lib$ whereis libupnp.so.3
libupnp.so: /usr/lib/libupnp.so.2

So I tried to make a symlink libupnp.so.3 --> libupnp.so.2 but it's not better :

----------------------
Here's the log with the symlink :

2008-04-09 17:47:59: MuleUDPSocket.cpp(78): Created Server UDP-Socket at port 24665
2008-04-09 17:47:59: MuleUDPSocket.cpp(78): Created Client UDP-Socket at port 24672
2008-04-09 17:47:59: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-04-09 17:47:59: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.2.
2008-04-09 17:47:59: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.3.
2008-04-09 17:47:59: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.0.2:49152.
2008-04-09 17:48:32: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-04-09 17:48:32: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-04-09 17:48:32: UPnP.cpp(1718): Universal Plug and Play: Successfully subscribed to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.0.1:6666/wipconn.
2008-04-09 17:48:32: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-04-09 17:48:32: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:Layer3Forwarding:1'. Ignoring.
2008-04-09 17:48:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:49:02: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:49:32: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:50:02: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:50:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionType"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:51:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PossibleConnectionTypes"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:51:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionStatus"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:52:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("Uptime"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:52:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("LastConnectionError"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:53:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("RSIPAvailable"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:53:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("NATEnabled"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:54:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ExternalIPAddress"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:54:32: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:55:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingLeaseDuration"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_RESPONSE (-113).
2008-04-09 17:55:32: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: Unknown Error (-207).
2008-04-09 17:56:02: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: Unknown Error (-207).

----------------------
Thanks for your support :)
Best regards,
Arnaud W.

Revision history for this message
sheepdestroyer@gmail.com (sheepdestroyer-gmail) wrote :

i have a similar bug since more than 1 week (don't know exactly since when but wasworking fine before) :
2008-05-05 20:21:39: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-05-05 20:21:39: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.2.
2008-05-05 20:21:39: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
2008-05-05 20:21:39: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.22:50000.
2008-05-05 20:21:42: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
...
...
2008-05-05 20:26:35: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_ADVERTISEMENT_ALIVE): Error retrieving device description from http://192.168.1.1:49152/gatedesc.xml: Unknown Error.
2008-05-05 20:26:36: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_ADVERTISEMENT_ALIVE): Error retrieving device description from http://192.168.1.1:49152/gatedesc.xml: Unknown Error.
2008-05-05 20:27:05: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_ADVERTISEMENT_ALIVE): Error retrieving device description from http://192.168.1.1:49152/gatedesc.xml: Unknown Error.
2008-05-05 20:27:06: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_ADVERTISEMENT_ALIVE): Error retrieving device description from
...
...
and so on

i'm on hardy & 2.2.0~svn20080218-0ubuntu4

Changed in amule:
assignee: nobody → festor90
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amule - 2.2.0~svn20080525-0ubuntu1

---------------
amule (2.2.0~svn20080525-0ubuntu1) intrepid; urgency=low

  * New svn snapshot from 20080525 tarball, renamed debian/
    to debian-upstream/. LP: #234807
  * From Mantis Bug Tracker:
    - Fixed 0001313: broken log view
    - Fixed 0001296: 100% of CPU used by amuleweb
    - Fixed 0001289: amule fails to build on non glibc systems (e.g. uclibc)
    - Fixed 0001267: Shared files priority don't get updated on amulegui
    - Fixed 0001266: aMule SVN fails when enabling GeoIP with
      LDFLAGS="--as-needed" [PATCH]
    - Other minor fixes
  * debian/copyright
    - Upstream SVN repository doesn't seem to be public, note in
      debian/copyright the URL this tarball was obtained
      from. (from debian package)
  * debian/patches:
    - fixed_spanish_translation.diff
      Removed, fixed upstream.
    - configure_ignore_gdlib-config_garbage.diff
      Updated regard to changes in the upstream.
  * debian/control:
    - Require libupnp3 for uPnP support (LP: #201624) (LP: #214660)
    - Removed old XS-VCS-Bzr link, added Vcs-Git and Vcs-Browser
      (from debian package)
  * debian/TODO:
    - Added new task

 -- Festor Wailon Dacoba <email address hidden> Fri, 25 May 2008 19:26:26 +0200

Changed in amule:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.