General Error

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
cptgunther
Posts: 9
Joined: Sun Jan 31, 2016 2:34 am

General Error

Post by cptgunther »

I recently upgraded my server, and installed the latest version of UMS. My previous server was running Version 4.4, my new server is running 6.0, and since the upgrade, I have not been able to get UMS to run. UMS fails to stream any content, and also if I run the ums-web-interface plugin (v 2.0 on that plugin), I get constant java errors on that plugin. The current setup is thus:

Dell PowerEdge 2950 Server
Centos 6.7 OS
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
UMS 6.0

The error coming from ums-web-interface is this:

Code: Select all

ERROR 08:34:38.516 [nioEventLoopGroup-3-4] java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
com.corundumstudio.socketio.handler.SocketIOException: java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
	at com.corundumstudio.socketio.annotation.OnEventScanner$2.onData(OnEventScanner.java:104) ~[ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.namespace.Namespace.onEvent(Namespace.java:134) ~[ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.PacketListener.onPacket(PacketListener.java:103) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:92) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:36) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:187) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.transport.WebSocketTransport.channelRead(WebSocketTransport.java:94) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.transport.PollingTransport.channelRead(PollingTransport.java:109) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.AuthorizeHandler.channelRead(AuthorizeHandler.java:115) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:182) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [ums-web-interface-2.0.0-a3.jar:na]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_80]
Caused by: java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
	at org.qantic.umsplugin.services.Services.onGetPrototypeHandler(Services.java:67) ~[ums-web-interface-2.0.0-a3.jar:na]
	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_80]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_80]
	at com.corundumstudio.socketio.annotation.OnEventScanner$2.onData(OnEventScanner.java:102) ~[ums-web-interface-2.0.0-a3.jar:na]
	... 44 common frames omitted
And the general rendering errors are this:

Code: Select all

09:34:45 INFO  Starting Universal Media Server 6.0.0-b2
09:34:45 INFO  Based on PS3 Media Server by shagrath, copyright 2008-2014
09:34:45 INFO  http://www.universalmediaserver.com
09:34:45 INFO  
09:34:45 INFO  Build: 3b8ae4c12 (2016-01-06)
09:34:45 INFO  Java: Java HotSpot(TM) Server VM 1.7.0_80 32-bit by Oracle Corporation
09:34:45 INFO  OS: Linux 32-bit 2.6.32-573.12.1.el6.centos.plus.x86_64
09:34:45 INFO  Encoding: UTF-8
09:34:45 INFO  Memory: 682 MB
09:34:45 INFO  Language: English (United States)
09:34:45 INFO  
09:34:45 INFO  Working directory: /home/ums/bin/ums
09:34:45 INFO  Temporary directory: /tmp/UMS-ums
09:34:45 INFO  Logging configuration file: /home/ums/bin/ums/logback.xml
09:34:45 INFO  Logfile: /home/ums/.config/UMS/debug.log
09:34:45 INFO  
09:34:45 INFO  Profile directory: /home/ums/.config/UMS
09:34:45 INFO  Profile directory permissions: drwx
09:34:45 INFO  Profile configuration file: /home/ums/.config/UMS/UMS.conf
09:34:45 INFO  Profile configuration file permissions: -rw-
09:34:45 INFO  Profile name: server.bloodjack.org
09:34:45 INFO  
09:34:45 INFO  Web configuration file: /home/ums/.config/UMS/WEB.conf
09:34:45 INFO  Web configuration file permissions: -rw-
09:34:45 INFO  
09:34:46 INFO  Checking shared folder: /mediafiles/Video
09:34:46 INFO  Checking shared folder: /mediafiles/Music
09:34:46 WARN  Error loading libzen: Unable to load library 'zen': Native library (linux-x86/libzen.so) not found in resource path ([file:/home/ums/bin/ums/update.jar, file:/home/ums/bin/ums/ums.jar])
09:34:46 INFO  Loading MediaInfo library
09:34:46 ERROR Error loading MediaInfo library: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/home/ums/bin/ums/update.jar, file:/home/ums/bin/ums/ums.jar])
09:34:46 INFO  Make sure you have libmediainfo and libzen installed
09:34:46 INFO  The server will now use the less accurate FFmpeg parsing method
09:34:46 INFO  Loading renderer configurations from /home/ums/bin/ums/renderers
09:34:47 INFO  Enabled 121 configurations, listed in order of loading priority:
09:34:47 INFO  :   Panasonic AS600
09:34:47 INFO  :   Panasonic AS650
09:34:47 INFO  :   Panasonic BDT220
09:34:47 INFO  :   Panasonic BDT360
09:34:47 INFO  :   Panasonic ET60
09:34:47 INFO  :   Panasonic Home Theater (SC-BTT)
09:34:47 INFO  :   Panasonic S60
09:34:47 INFO  :   Panasonic VT60
09:34:47 INFO  :   Sony Blu-ray (2013)
09:34:47 INFO  :   Xperia Z3
09:34:47 INFO  :   Chromecast
09:34:47 INFO  :   Hisense K680
09:34:47 INFO  :   LG LCD TV (2014)
09:34:47 INFO  :   LG LM660
09:34:47 INFO  :   LG LS5700
09:34:47 INFO  :   LG UB820V
09:34:47 INFO  :   LG WebOS TV
09:34:47 INFO  :   Panasonic TV
09:34:47 INFO  :   Samsung BD-C6800
09:34:47 INFO  :   Samsung D6400
09:34:47 INFO  :   Samsung D7000
09:34:47 INFO  :   Samsung EH5300
09:34:47 INFO  :   Samsung EH6070
09:34:47 INFO  :   Samsung ES6100
09:34:47 INFO  :   Samsung ES6575
09:34:47 INFO  :   Samsung ES8000
09:34:47 INFO  :   Samsung ES8005
09:34:47 INFO  :   Samsung F5100
09:34:47 INFO  :   Samsung F5505
09:34:47 INFO  :   Samsung F5900
09:34:47 INFO  :   Samsung H4500
09:34:47 INFO  :   Samsung H6203
09:34:47 INFO  :   Samsung H6400
09:34:47 INFO  :   Samsung H6500
09:34:47 INFO  :   Samsung HT-E3 Series
09:34:47 INFO  :   Samsung HT-F4
09:34:47 INFO  :   Samsung HU7000
09:34:47 INFO  :   Samsung HU9000
09:34:47 INFO  :   Samsung J55xx Series
09:34:47 INFO  :   Samsung JU6400
09:34:47 INFO  :   VLC for iOS
09:34:47 INFO  :   Xbox One
09:34:47 INFO  :   AirPlayer
09:34:47 INFO  :   Android
09:34:47 INFO  :   AnyCast
09:34:47 INFO  :   Apple iPad / iPhone
09:34:47 INFO  :   Azur BD
09:34:47 INFO  :   BRAVIA KDL-xxNX800
09:34:47 INFO  :   D-Link DSM-510
09:34:47 INFO  :   DirecTV
09:34:47 INFO  :   Freebox
09:34:47 INFO  :   Freecom MusicPal
09:34:47 INFO  :   Hama IR320
09:34:47 INFO  :   KalemSoft Media Player
09:34:47 INFO  :   Kodi
09:34:47 INFO  :   LG LA6200
09:34:47 INFO  :   LG LA644V
09:34:47 INFO  :   LG LM620
09:34:47 INFO  :   LG Smart TV Upgrader
09:34:47 INFO  :   Logitech Squeezebox
09:34:47 INFO  :   Miracast M806
09:34:47 INFO  :   Netgear NeoTV
09:34:47 INFO  :   Netgem N7700
09:34:47 INFO  :   Nokia N900
09:34:47 INFO  :   Onkyo TX-NR717
09:34:47 INFO  :   OPPO BDP
09:34:47 INFO  :   OPPO BDP-83
09:34:47 INFO  :   Panasonic BDT
09:34:47 INFO  :   Panasonic TX-L32V10E
09:34:47 INFO  :   Panasonic U30Z
09:34:47 INFO  :   Philips Aurea
09:34:47 INFO  :   Philips TV
09:34:47 INFO  :   Pioneer Kuro
09:34:47 INFO  :   PlayStation 3
09:34:47 INFO  :   PlayStation 4
09:34:47 INFO  :   PlayStation Vita
09:34:47 INFO  :   Popcorn Hour
09:34:47 INFO  :   Realtek
09:34:47 INFO  :   Roku 3 (NSP 3)
09:34:47 INFO  :   Roku 3 (NSP 5)
09:34:47 INFO  :   Samsung C/D Series
09:34:47 INFO  :   Samsung C6600
09:34:47 INFO  :   Samsung E+ Series
09:34:47 INFO  :   Samsung Galaxy S5
09:34:47 INFO  :   Samsung Mobile
09:34:47 INFO  :   Samsung SMT-G7400
09:34:47 INFO  :   Samsung WiseLink
09:34:47 INFO  :   Sharp Aquos
09:34:47 INFO  :   Showtime 3
09:34:47 INFO  :   Showtime 4
09:34:47 INFO  :   Sony Blu-ray
09:34:47 INFO  :   Sony Bravia 4500
09:34:47 INFO  :   Sony Bravia 5500
09:34:47 INFO  :   Sony Bravia BX305
09:34:47 INFO  :   Sony Bravia EX
09:34:47 INFO  :   Sony Bravia EX620
09:34:47 INFO  :   Sony Bravia HX
09:34:47 INFO  :   Sony Bravia HX75
09:34:47 INFO  :   Sony Bravia NX70x
09:34:47 INFO  :   Sony Bravia W
09:34:47 INFO  :   Sony Bravia XBR
09:34:47 INFO  :   Sony Home Theatre System
09:34:47 INFO  :   Sony SMP-N100
09:34:47 INFO  :   Sony STR-DA5800ES
09:34:47 INFO  :   Sony Xperia Z/ZL/ZQ/Z1/Z2
09:34:47 INFO  :   Streamium
09:34:47 INFO  :   Technisat S1+
09:34:47 INFO  :   Telefunken TV
09:34:47 INFO  :   Telstra T-Box
09:34:47 INFO  :   Thomson U3 Series
09:34:47 INFO  :   Unknown renderer
09:34:47 INFO  :   VideoWeb TV
09:34:47 INFO  :   Vizio Smart TV
09:34:47 INFO  :   WD TV Live
09:34:47 INFO  :   WMP
09:34:47 INFO  :   XBMC
09:34:47 INFO  :   Xbox 360
09:34:47 INFO  :   Yamaha R-N500
09:34:47 INFO  :   Yamaha RX-A1010
09:34:47 INFO  :   Yamaha RX-V3900
09:34:47 INFO  :   Yamaha RX-V671
09:34:47 INFO  Checking the fontconfig cache in the background, this can take two minutes or so.
09:34:47 INFO  Searching for plugins in /home/ums/bin/ums/plugins
09:34:47 INFO  No plugins found
09:34:47 INFO  Registering transcoding engine: FFmpeg Audio
09:34:47 INFO  Registering transcoding engine: MEncoder
09:34:47 INFO  Registering transcoding engine: FFmpeg
09:34:47 INFO  Registering transcoding engine: VLC
09:34:47 INFO  Registering transcoding engine: FFmpeg Web Video
09:34:47 INFO  Registering transcoding engine: MEncoder Web
09:34:47 INFO  Registering transcoding engine: VLC Web Video
09:34:47 INFO  Registering transcoding engine: tsMuxeR
09:34:47 INFO  Registering transcoding engine: Audio High Fidelity
09:34:47 INFO  Registering transcoding engine: VLC Web Audio (Legacy)
09:34:47 INFO  Registering transcoding engine: VLC Web Video (Legacy)
09:34:47 INFO  Registering transcoding engine: dcraw Thumbnailer
09:34:47 INFO  Using address /192.168.1.10 found on network interface: name:eth0 (eth0)
09:34:47 INFO  Created socket: /192.168.1.10:5001
09:34:47 INFO  Process /home/ums/bin/ums/linux/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
09:34:47 INFO  WEB interface is available at: http://192.168.1.10:9001
09:34:47 INFO  Using the following UUID configured in UMS.conf: c110acdc-daf7-483e-ae74-e5cf9484ed80
09:34:47 INFO  Universal Media Server is now available for renderers to find
09:34:47 INFO  No IP filter specified, access granted to /192.168.1.10
09:34:49 INFO  No IP filter specified, access granted to /192.168.1.30
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: DAFUPnP, Cache-Control: no-cache, Pragma: no-cache
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: Microsoft-Windows/10.0 UPnP/1.0, Cache-Control: no-cache, Pragma: no-cache
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: Microsoft-Windows/10.0 UPnP/1.0, Cache-Control: no-cache, Pragma: no-cache
09:34:49 INFO  No IP filter specified, access granted to /192.168.1.66
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: DAFUPnP, Cache-Control: no-cache, Pragma: no-cache
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: Microsoft-Windows/10.0 UPnP/1.0, Cache-Control: no-cache, Pragma: no-cache
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50
09:34:49 INFO  Media renderer was not recognized. Possible identifying HTTP headers:User-Agent: Microsoft-Windows/10.0 UPnP/1.0, Cache-Control: no-cache, Pragma: no-cache
09:35:39 INFO  No IP filter specified, access granted to /192.168.1.81
09:37:03 INFO  Checking shared folder: /mediafiles/Video
09:37:03 INFO  Checking shared folder: /mediafiles/Music
09:37:29 ERROR External input stream instance is null... stopping process
09:37:29 ERROR There is no inputstream to return for Battlestar Galactica - [0x01] Battlestar Galactica (2003) Part 1
Anyone have any ideas what I can do to fix this? I always prefered using UMS over other renedrers, but I may have to fall back to using Plex or MediaTomb if I can't get this running..
ums_dbg.zip
Debug files
(48.87 KiB) Downloaded 435 times
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: General Error

Post by Nadahar »

I'm not familiar with 4.4.0, but current UMS needs mediainfo and libzen to be installed. These lines are a hint:

Code: Select all

09:34:46 WARN  Error loading libzen: Unable to load library 'zen': Native library (linux-x86/libzen.so) not found in resource path ([file:/home/ums/bin/ums/update.jar, file:/home/ums/bin/ums/ums.jar])
09:34:46 INFO  Loading MediaInfo library
09:34:46 ERROR Error loading MediaInfo library: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/home/ums/bin/ums/update.jar, file:/home/ums/bin/ums/ums.jar])
09:34:46 INFO  Make sure you have libmediainfo and libzen installed
On Centos that's as easy as below if I'm not mistaken:

Code: Select all

yum install mediainfo
When it comes the to ums-web-interface I have no knowledge of this, but I'm guessing it's not up to date. There is a webinterface integrated with UMS now, default on port 9001.

There might be more issues here, but try to install mediainfo and remove the plugin and post new debug files if the problems persist.
cptgunther
Posts: 9
Joined: Sun Jan 31, 2016 2:34 am

Re: General Error

Post by cptgunther »

Mediainfo was installed already

Code: Select all

[root@server ~]# yum install mediainfo
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftpmirror.your.org
 * centosplus: ftpmirror.your.org
 * contrib: ftpmirror.your.org
 * epel: mirror.steadfast.net
 * extras: ftpmirror.your.org
 * rpmforge: mirror.team-cymru.org
 * rpmfusion-free-updates: mirror.nexcess.net
 * rpmfusion-nonfree-updates: mirror.nexcess.net
 * updates: ftpmirror.your.org
Package mediainfo-0.7.80-1.el6.x86_64 already installed and latest version
Nothing to do
[root@server ~]# locate mediainfo
/usr/bin/dvd+rw-mediainfo
/usr/bin/mediainfo
/usr/lib/plexmediaserver/libmediainfo.so.0
/usr/lib64/libmediainfo.so.0
/usr/lib64/libmediainfo.so.0.7.80
/usr/share/doc/libmediainfo-0.7.80
/usr/share/doc/mediainfo-0.7.80
/usr/share/doc/libmediainfo-0.7.80/History.txt
/usr/share/doc/libmediainfo-0.7.80/License.html
/usr/share/doc/libmediainfo-0.7.80/ReadMe.txt
/usr/share/doc/mediainfo-0.7.80/History_CLI.txt
/usr/share/doc/mediainfo-0.7.80/License.html
/usr/share/doc/mediainfo-0.7.80/ReadMe_CLI_Linux.txt
libzen was also already installed before I reported this (I had already seen those errors and tried to fix them) Could it be because they are the 64 bit versions and UMS can't use the 64 bit files?
cptgunther
Posts: 9
Joined: Sun Jan 31, 2016 2:34 am

Re: General Error

Post by cptgunther »

I just created a symlink from the /usr/lib64/ files to /usr/lib and restarted, still get errors stating that it cannot find those libraries in the resource path. That is the resource path it is trying to use?
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: General Error

Post by Nadahar »

cptgunther wrote:I just created a symlink from the /usr/lib64/ files to /usr/lib and restarted, still get errors stating that it cannot find those libraries in the resource path. That is the resource path it is trying to use?
It's extremely unclear to me how the paths are resolved. Libzen is loaded by this command:

Code: Select all

				// We need to load dependencies first, because we know where our native libs are (e.g. Java Web Start Cache).
				// If we do not, the system will look for dependencies, but only in the library path.
				NativeLibrary.getInstance("zen");
The Javadoc for NativeLibrary is:

Code: Select all

com.sun.jna.NativeLibrary


Provides management of native library resources. One instance of this class corresponds to a single loaded native library. May also be used to map to the current process (see NativeLibrary.getProcess()). 

 Library Search Paths A search for a given library will scan the following locations: 
1.jna.library.path User-customizable path 
2.jna.platform.library.path Platform-specific paths 
3.On OSX, ~/Library/Frameworks, /Library/Frameworks, and /System/Library/Frameworks will be searched for a framework with a name corresponding to that requested. Absolute paths to frameworks are also accepted, either ending at the framework name (sans ".framework") or the full path to the framework shared library (e.g. CoreServices.framework/CoreServices). 
4.Context class loader classpath. Deployed native libraries may be installed on the classpath under ${os-prefix}/LIBRARY_FILENAME, where ${os-prefix} is the OS/Arch prefix returned by Platform.getNativeLibraryResourcePrefix(). If bundled in a jar file, the resource will be extracted to jna.tmpdir for loading, and later removed (but only if jna.nounpack is false or not set). 
You may set the system property jna.debug_load=true to make JNA print the steps of its library search to the console.
I'm guessing that step 2 "Plaform-specific paths" is what's at play here, but I haven't figured out what they are.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: General Error

Post by Nadahar »

It seems you can specify the library path when launching Java with the argument

Code: Select all

-Djna.library.path=
That's probably done inside UMS.sh on Linux.
cptgunther
Posts: 9
Joined: Sun Jan 31, 2016 2:34 am

[PARTIALLY SOLVED] Re: General Error

Post by cptgunther »

[SOLVED] Found out the Java SE was 32 bit, installed 64 bit and now rendering is working. Still getting errors on ums-web-interface (which allows you to do configuration, where the web interface on port 9001 allows viewing of media or viewing configs/logs)
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: General Error

Post by Nadahar »

The soltion was to install a 64 bit JVM.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: General Error

Post by Nadahar »

About ums-web-interface, who's the author/where do you find it?

Edit: Forget it, I found it. Any problems with this plugin must be adressed to the plugin author.

I cloned the plugin, at it seems to be built specificly against UMS 5.2.1. You'd probably have to use that version for it to work properly.
Post Reply