FAQ  •  Register  •  Login

Still cannot bind...

<<

el-lobo

Serviio newbie

Posts: 12

Joined: Thu Feb 17, 2011 8:54 pm

Post Mon May 02, 2011 6:39 pm

Still cannot bind...

I still have a problem with the serviio service:
Here is a part of my log:

2011-05-02 20:29:54,734 ERROR [DiscoverySSDPMessageListener] Cannot open multicast socket,will try again
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForListening(MultiCastUtils.java:44)
at org.serviio.upnp.discovery.DiscoverySSDPMessageListener.run(DiscoverySSDPMessageListener.java:79)
at java.lang.Thread.run(Unknown Source)
2011-05-02 20:29:55,734 ERROR [DiscoverySSDPMessageListener] Cannot open multicast socket,will try again
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForListening(MultiCastUtils.java:44)
at org.serviio.upnp.discovery.DiscoverySSDPMessageListener.run(DiscoverySSDPMessageListener.java:79)
at java.lang.Thread.run(Unknown Source)
2011-05-02 20:29:56,750 ERROR [DiscoverySSDPMessageListener] Cannot open multicast socket,will try again
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at java.net.MulticastSocket.<init>(Unknown Source)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForListening(MultiCastUtils.java:44)
at org.serviio.upnp.discovery.DiscoverySSDPMessageListener.run(DiscoverySSDPMessageListener.java:79)
at java.lang.Thread.run(Unknown Source)

As you see, there is a new entry every second "cannot open multicast socket" and "adress already in use"
The log file is getting bigger and bigger every second, but serviio is working with my LE40B750 TV Set!
It is doing a good job, but the issue with the log file slows down my CPU and uses a much of disk space.
I dont know, what the error mean, thought, there is another thing using the same IP Adress, but every one has its own, fixed, IP Adress in my network.
Also checked the Firewall, but also everything is okay...
I have this problem since the first day I tried SERVIIO a couple of versions before and I already posted about the problem, but no one seems to have a solution.

Maybe some one can help me now?

Sorry for my english!

Regards from Germany!
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Mon May 02, 2011 6:46 pm

Re: Still cannot bind...

Can you post what else is running on your network. You might have somethig else that is acting as a DLNA Server at the same time and using the same settings.

One such example is Windows Media center, it can act like a DLNA server.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Cerberus

User avatar

DLNA master

Posts: 4116

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon May 02, 2011 6:54 pm

Re: Still cannot bind...

the issue with the log file slows down my CPU and uses a much of disk space.


That isnt even possible the logging has NO effect of you cpu at all and with 6 full log files (max number there will ever be ) it will only total out at about 5mb for all 6 files.


now to your actual issue.

it seems something is blocking UDP 1900 port, or you have not entered the proper IP into Bound IP address field in the console.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

el-lobo

Serviio newbie

Posts: 12

Joined: Thu Feb 17, 2011 8:54 pm

Post Mon May 02, 2011 8:23 pm

Re: Still cannot bind...

Thanks for your reply.
But I checked that all..
I have the UDP Port 1900 open in my router and there are no other devices running in my network.
I also checked the services in the management console under Windows XP and there is also nothing else running as a DLNA server (AFAIK!)
The serviio console did also found my SAMSUNG B series TV and a green light is on it, so everything seems to be okay.
But I still have that damn log entries.. every second a new entry.
Is there a tool available to check my network? I think something is blocking my UDP port 1900 but I dont know what.
Maybe I can scan it with something?

Thanks again!
<<

Cerberus

User avatar

DLNA master

Posts: 4116

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon May 02, 2011 8:50 pm

Re: Still cannot bind...

el-lobo wrote:Thanks for your reply.
But I checked that all..
I have the UDP Port 1900 open in my router and there are no other devices running in my network.
I also checked the services in the management console under Windows XP and there is also nothing else running as a DLNA server (AFAIK!)
The serviio console did also found my SAMSUNG B series TV and a green light is on it, so everything seems to be okay.
But I still have that damn log entries.. every second a new entry.
Is there a tool available to check my network? I think something is blocking my UDP port 1900 but I dont know what.
Maybe I can scan it with something?

Thanks again!


do you have UPNP enabled on your router ???
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17095

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon May 02, 2011 10:12 pm

Re: Still cannot bind...

el-lobo wrote:I have the UDP Port 1900 open in my router and there are no other devices running in my network.

Router doesn't make any difference, this is a problem with a local service blocking the port.

try this:

  Code:
netstat -a -b -p UDP


and look for port 1900
<<

el-lobo

Serviio newbie

Posts: 12

Joined: Thu Feb 17, 2011 8:54 pm

Post Tue May 03, 2011 4:23 pm

Re: Still cannot bind...

Okay, thanks again, this is comming after entering the netstat command:
I deleted my computername with +++ 8-)

Aktive Verbindungen

Proto Lokale Adresse Remoteadresse Status PID
UDP +++_notebook:isakmp *:* 1348
[lsass.exe]

UDP +++_notebook:4500 *:* 1348
[lsass.exe]

UDP +++_notebook:microsoft-ds *:* 4
[System]

UDP +++_notebook:1900 *:* 1040
c:\winxp\system32\WS2_32.dll
c:\winxp\system32\ssdpsrv.dll
C:\WINXP\system32\ADVAPI32.dll
C:\WINXP\system32\kernel32.dll
[svchost.exe]

UDP +++_notebook:ntp *:* 1800
c:\winxp\system32\WS2_32.dll
c:\winxp\system32\w32time.dll
ntdll.dll
C:\WINXP\system32\kernel32.dll
[svchost.exe]

UDP +++_notebook:1900 *:* 1040
c:\winxp\system32\WS2_32.dll
c:\winxp\system32\ssdpsrv.dll
C:\WINXP\system32\ADVAPI32.dll
C:\WINXP\system32\kernel32.dll
[svchost.exe]

UDP +++_notebook:netbios-ns *:* 4
[System]

UDP +++_notebook:ntp *:* 1800
c:\winxp\system32\WS2_32.dll
c:\winxp\system32\w32time.dll
ntdll.dll
-- unbekannte Komponente(n) --
[svchost.exe]

UDP +++_notebook:netbios-dgm *:* 4
[System]

hope, this helps?
<<

sunchar

User avatar

Serviio lover

Posts: 50

Joined: Thu May 19, 2011 2:49 pm

Location: León. México

Post Sat May 21, 2011 4:43 am

Re: Still cannot bind...

It seems that winsock 2 are using UDP 1900 and as UDP provides no guarantee of delivery this services still sending packets, same that are logged in serviio. Check if you need this service running or stop it temporarily and check again to see if log file stills growing.

Hope this helps.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 8 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.