Unrecognized Windows Sockets error: 87: socket
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Unrecognized Windows Sockets error: 87: socket
Hello,
I was using normally UMS and yesterday I installed Android Studio and some Java SDK and since then UMS stopped working.
I tried several times to uninstall/reinstall UMS but it didn't work. Below my UMS log when initializing. Can anybody please help. Thanks in advance.
LOG:
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration Base path set to file:///C:/ProgramData/UMS/UMS.conf
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration FileName set to UMS.conf
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration Base path set to C:\ProgramData\UMS
DEBUG 2016-07-30 08:59:16.500 [main] net.pms.configuration.PmsConfiguration Default logfile folder set to: C:\ProgramData\UMS
DEBUG 2016-07-30 08:59:16.656 [main] net.pms.logging.LoggingConfig LogBack started with configuration file: C:\Program Files (x86)\Universal Media Server\logback.xml
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Forcing debug level to TRACE
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Forcing unbuffered verbose logging
INFO 2016-07-30 08:59:16.674 [main] net.pms.logging.LoggingConfig Buffered logging turned OFF
INFO 2016-07-30 08:59:16.674 [main] net.pms.logging.LoggingConfig Verbose file logging pattern enforced
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Sat Jul 30 08:59:16 BRT 2016
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS PID file not found, cannot check for running process
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS Writing PID: 8020
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Starting Universal Media Server 6.4.0
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS http://www.universalmediaserver.com
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Build: 77c31598a (2016-06-26)
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_101 64-bit by Oracle Corporation
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS OS: Windows 7 64-bit 6.1
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Encoding: UTF-8
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Memory: 1138 MB
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Language: Portuguese (Brazil)
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Working directory: C:\Program Files (x86)\Universal Media Server
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Temporary directory: C:\Users\shin\AppData\Local\Temp\UMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Logging configuration file: C:\Program Files (x86)\Universal Media Server\logback.xml
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Logfile: C:\ProgramData\UMS\debug.log
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile directory: C:\ProgramData\UMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile directory permissions: drwx
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile configuration file: C:\ProgramData\UMS\UMS.conf
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile configuration file permissions: -rwx
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile name: shin-PC
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
DEBUG 2016-07-30 08:59:16.705 [main] net.pms.configuration.ConfigurationReader Reading web_conf: "C:\ProgramData\UMS\WEB.conf" (previous: null, default: "C:\ProgramData\UMS\WEB.conf")
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Web configuration file: C:\ProgramData\UMS\WEB.conf
WARN 2016-07-30 08:59:16.705 [main] net.pms.PMS Web configuration file not found: File "C:\ProgramData\UMS\WEB.conf" not found
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
TRACE 2016-07-30 08:59:16.720 [main] net.pms.configuration.NameFilter Could not read name filter: File "C:\ProgramData\UMS\UMS.deny" not found
DEBUG 2016-07-30 08:59:16.720 [main] net.pms.dlna.DLNAMediaDatabase Using database URL: jdbc:h2:C:\ProgramData\UMS\database\medias
INFO 2016-07-30 08:59:16.720 [main] net.pms.dlna.DLNAMediaDatabase Using database located at: C:\ProgramData\UMS\database
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.dlna.DLNAMediaDatabase Database file count: 0
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.dlna.DLNAMediaDatabase Database version: 6
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Starting check of database tables
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Checking if database table "TABLES" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Database table "TABLES" found
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Checking if database table "MUSIC_BRAINZ_RELEASES" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Database table "MUSIC_BRAINZ_RELEASES" found
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Table version for database table "MUSIC_BRAINZ_RELEASES" is 1
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Checking if database table "COVER_ART_ARCHIVE" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Database table "COVER_ART_ARCHIVE" found
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Table version for database table "COVER_ART_ARCHIVE" is 1
DEBUG 2016-07-30 08:59:16.923 [main] net.pms.configuration.ConfigurationReader Reading run_wizard: false (default: true)
ERROR 2016-07-30 08:59:18.081 [main] net.pms.PMS A serious error occurred during Universal Media Server initialization: Unrecognized Windows Sockets error: 87: socket
TRACE 2016-07-30 08:59:18.096 [main] net.pms.PMS
java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.serverSocket(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
at java.nio.channels.ServerSocketChannel.open(Unknown Source)
at sun.net.httpserver.ServerImpl.<init>(Unknown Source)
at sun.net.httpserver.HttpServerImpl.<init>(Unknown Source)
at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(Unknown Source)
at com.sun.net.httpserver.HttpServer.create(Unknown Source)
at net.pms.remote.RemoteWeb.<init>(RemoteWeb.java:85)
at net.pms.PMS.init(PMS.java:594)
at net.pms.PMS.createInstance(PMS.java:1086)
at net.pms.PMS.main(PMS.java:1246)
I was using normally UMS and yesterday I installed Android Studio and some Java SDK and since then UMS stopped working.
I tried several times to uninstall/reinstall UMS but it didn't work. Below my UMS log when initializing. Can anybody please help. Thanks in advance.
LOG:
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration Base path set to file:///C:/ProgramData/UMS/UMS.conf
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration FileName set to UMS.conf
DEBUG 2016-07-30 08:59:16.469 [main] org.apache.commons.configuration.PropertiesConfiguration Base path set to C:\ProgramData\UMS
DEBUG 2016-07-30 08:59:16.500 [main] net.pms.configuration.PmsConfiguration Default logfile folder set to: C:\ProgramData\UMS
DEBUG 2016-07-30 08:59:16.656 [main] net.pms.logging.LoggingConfig LogBack started with configuration file: C:\Program Files (x86)\Universal Media Server\logback.xml
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Forcing debug level to TRACE
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Forcing unbuffered verbose logging
INFO 2016-07-30 08:59:16.674 [main] net.pms.logging.LoggingConfig Buffered logging turned OFF
INFO 2016-07-30 08:59:16.674 [main] net.pms.logging.LoggingConfig Verbose file logging pattern enforced
DEBUG 2016-07-30 08:59:16.674 [main] net.pms.PMS Sat Jul 30 08:59:16 BRT 2016
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS PID file not found, cannot check for running process
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS Writing PID: 8020
DEBUG 2016-07-30 08:59:16.689 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Starting Universal Media Server 6.4.0
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS http://www.universalmediaserver.com
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Build: 77c31598a (2016-06-26)
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_101 64-bit by Oracle Corporation
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS OS: Windows 7 64-bit 6.1
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Encoding: UTF-8
INFO 2016-07-30 08:59:16.689 [main] net.pms.PMS Memory: 1138 MB
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Language: Portuguese (Brazil)
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Working directory: C:\Program Files (x86)\Universal Media Server
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Temporary directory: C:\Users\shin\AppData\Local\Temp\UMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Logging configuration file: C:\Program Files (x86)\Universal Media Server\logback.xml
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Logfile: C:\ProgramData\UMS\debug.log
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile directory: C:\ProgramData\UMS
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile directory permissions: drwx
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile configuration file: C:\ProgramData\UMS\UMS.conf
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile configuration file permissions: -rwx
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Profile name: shin-PC
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
DEBUG 2016-07-30 08:59:16.705 [main] net.pms.configuration.ConfigurationReader Reading web_conf: "C:\ProgramData\UMS\WEB.conf" (previous: null, default: "C:\ProgramData\UMS\WEB.conf")
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS Web configuration file: C:\ProgramData\UMS\WEB.conf
WARN 2016-07-30 08:59:16.705 [main] net.pms.PMS Web configuration file not found: File "C:\ProgramData\UMS\WEB.conf" not found
INFO 2016-07-30 08:59:16.705 [main] net.pms.PMS
TRACE 2016-07-30 08:59:16.720 [main] net.pms.configuration.NameFilter Could not read name filter: File "C:\ProgramData\UMS\UMS.deny" not found
DEBUG 2016-07-30 08:59:16.720 [main] net.pms.dlna.DLNAMediaDatabase Using database URL: jdbc:h2:C:\ProgramData\UMS\database\medias
INFO 2016-07-30 08:59:16.720 [main] net.pms.dlna.DLNAMediaDatabase Using database located at: C:\ProgramData\UMS\database
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.dlna.DLNAMediaDatabase Database file count: 0
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.dlna.DLNAMediaDatabase Database version: 6
DEBUG 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Starting check of database tables
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Checking if database table "TABLES" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Database table "TABLES" found
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Checking if database table "MUSIC_BRAINZ_RELEASES" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Database table "MUSIC_BRAINZ_RELEASES" found
TRACE 2016-07-30 08:59:16.908 [main] net.pms.database.Tables Table version for database table "MUSIC_BRAINZ_RELEASES" is 1
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Checking if database table "COVER_ART_ARCHIVE" in schema "PUBLIC" exists
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Database table "COVER_ART_ARCHIVE" found
TRACE 2016-07-30 08:59:16.923 [main] net.pms.database.Tables Table version for database table "COVER_ART_ARCHIVE" is 1
DEBUG 2016-07-30 08:59:16.923 [main] net.pms.configuration.ConfigurationReader Reading run_wizard: false (default: true)
ERROR 2016-07-30 08:59:18.081 [main] net.pms.PMS A serious error occurred during Universal Media Server initialization: Unrecognized Windows Sockets error: 87: socket
TRACE 2016-07-30 08:59:18.096 [main] net.pms.PMS
java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.serverSocket(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
at java.nio.channels.ServerSocketChannel.open(Unknown Source)
at sun.net.httpserver.ServerImpl.<init>(Unknown Source)
at sun.net.httpserver.HttpServerImpl.<init>(Unknown Source)
at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(Unknown Source)
at com.sun.net.httpserver.HttpServer.create(Unknown Source)
at net.pms.remote.RemoteWeb.<init>(RemoteWeb.java:85)
at net.pms.PMS.init(PMS.java:594)
at net.pms.PMS.createInstance(PMS.java:1086)
at net.pms.PMS.main(PMS.java:1246)
Re: Unrecognized Windows Sockets error: 87: socket
Add a different port to UMS.conf. say.
Code: Select all
web_port =9002