UMS on linux (manjaro) crash / breaks off
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
UMS on linux (manjaro) crash / breaks off
Hello UMS-community,
I'd use various UMS versions a long time with various linux distributions.
Since 1 month the UMS server crashed after a short time.
I tested with various versions from 10.21.1, 11.4.0, 13.3.0, 13.8.1 and 14.0.2 - overall the same. After a short time the server go down.
For the supporter to know:
All the years I use a option in UMS.sh to use a separate directory to find and store all files (database, UMS.conf, and so on):
This is written on line 6, after the "DIRNAME"-option.
What ist the problem?
I'd use various UMS versions a long time with various linux distributions.
Since 1 month the UMS server crashed after a short time.
I tested with various versions from 10.21.1, 11.4.0, 13.3.0, 13.8.1 and 14.0.2 - overall the same. After a short time the server go down.
For the supporter to know:
All the years I use a option in UMS.sh to use a separate directory to find and store all files (database, UMS.conf, and so on):
Code: Select all
UMS_PROFILE="/opt/ums-etc/UMS.conf"
export UMS_PROFILE
What ist the problem?
- Attachments
-
- hs_err_pid49622.V.14.0.2.crash.20240630_21.05.zip
- error-log V.14.0.2
- (79.2 KiB) Downloaded 197 times
-
- debug.log.TRACE.crash.V.14.0.2.20240630_21.05.zip
- debug.log V.14.0.2
- (233.15 KiB) Downloaded 395 times
Re: UMS on linux (manjaro) crash / breaks off
I had a quick look at those logs but did not see any errors or anything that looks odd, at least from UMS's perspective.
I know next to nothing about Linux though so the pid logs made no sense to me. Maybe @Boss has an idea?
It would be helpful if you could post your full logs (see the section in red above) so it includes all your configuration settings too.
I know next to nothing about Linux though so the pid logs made no sense to me. Maybe @Boss has an idea?
It would be helpful if you could post your full logs (see the section in red above) so it includes all your configuration settings too.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: UMS on linux (manjaro) crash / breaks off
Hello @mik_s,
many thanks for the support for my not alldayly problem with linux system.
My linux is manjaro with kernel 6.8.12-3 and kde 5 plasma 6 desktop with wayland.
Tonight I started only UMS version V.14.0.2. After setting log_level=TRACE I started the UMS server with the graphical java UI. Then I touch the button "Server restart". After the crash I zipped the ordinary logfile and the core-dump (hs_err_pid...) from the UMS application folder. These core-dump where written whenever a crash occurs and shows many details about the system and environment.
I hope @Boss or other linux experts have a idea about the reason for the crashs.
many thanks for the support for my not alldayly problem with linux system.
My linux is manjaro with kernel 6.8.12-3 and kde 5 plasma 6 desktop with wayland.
Tonight I started only UMS version V.14.0.2. After setting log_level=TRACE I started the UMS server with the graphical java UI. Then I touch the button "Server restart". After the crash I zipped the ordinary logfile and the core-dump (hs_err_pid...) from the UMS application folder. These core-dump where written whenever a crash occurs and shows many details about the system and environment.
I hope @Boss or other linux experts have a idea about the reason for the crashs.
- Attachments
-
- hs_err_pid20219.log.crash.V.14.0.2.20240702_00.07.zip
- (70.28 KiB) Downloaded 430 times
-
- debug.log.crash.V.14.0.2.20240702_00.07.zip
- (259.69 KiB) Downloaded 340 times
Re: UMS on linux (manjaro) crash / breaks off
Do you know if UMS is using your system java or java which came with UMS?
If you are not sure, paste the text from the file UMS.sh from your UMS folder.
If you are not sure, paste the text from the file UMS.sh from your UMS folder.
Re: UMS on linux (manjaro) crash / breaks off
The following code are from UMS.sh and should be related to java:
The core dump file - they are written from java to the UMS-bin-folder started with many infos about java.
So I think that UMS use the java-vm from within the UMS-tree.
Besides that the software center shows that OpenJDK 17 ist not installed rather Version 21 ist installed.
If I test in the shell with
no output where written.
Code: Select all
# Setup the JVM
if [ -z "$JAVA" ]; then
if [ -z "$JAVA_HOME" ]; then
JAVA="java"
else
JAVA="$JAVA_HOME/bin/java"
fi
fi
# Use our JVM if it exists
if [ -f jre17/bin/java ]; then
JAVA="jre17/bin/java"
fi
# Setup the classpath
# since we always cd to the working dir, these a) can be unqualified and b) *must*
# be unqualified: https://code.google.com/p/ps3mediaserver/issues/detail?id=1122
PMS_JARS="update.jar:ums.jar"
So I think that UMS use the java-vm from within the UMS-tree.
Besides that the software center shows that OpenJDK 17 ist not installed rather Version 21 ist installed.
Code: Select all
DEBUG 2024-07-02 00:06:06.736 [main] Reading log_level: "TRACE" (default: "DEBUG")
DEBUG 2024-07-02 00:06:06.796 [main] LogBack started with configuration file: /opt/ums-14.0.2/logback.xml
DEBUG 2024-07-02 00:06:06.796 [main] Reading logging_filter_logs_tab: "ALL" (default: "INFO")
DEBUG 2024-07-02 00:06:06.800 [main] Starting services
DEBUG 2024-07-02 00:06:06.801 [main] Starting ProcessManager
DEBUG 2024-07-02 00:06:06.801 [Process Terminator] ProcessTerminator is starting
TRACE 2024-07-02 00:06:06.801 [Process Terminator] ProcessTerminator is waiting for new tickets
DEBUG 2024-07-02 00:06:06.801 [main] Starting SleepManager
DEBUG 2024-07-02 00:06:06.801 [main] SleepManager doesn't support current platform
DEBUG 2024-07-02 00:06:06.807 [main] Tue Jul 02 00:06:06 CEST 2024
DEBUG 2024-07-02 00:06:06.823 [main] Writing PID: 20219
TRACE 2024-07-02 00:06:06.824 [System Information Logger] Starting gathering of system information
INFO 2024-07-02 00:06:06.834 [main] Getting gui configuration file : /opt/ums-etc/GUI.conf
INFO 2024-07-02 00:06:06.929 [System Information Logger] System information:
OS: GNU/Linux Manjaro Linux unknown (unknown) build 6.8.12-3-MANJARO 64-bit
JVM: OpenJDK 64-Bit Server VM 17.0.11 (64-bit) by BellSoft
Language: German
Encoding: UTF-8
CPU: AMD Ryzen 7 5700X 8-Core Processor with 8 cores (16 virtual cores) (Zen 3)
Physical Memory: 31.3 GiB
Free Memory: 27.9 GiB
Maximum JVM Memory: 1.3 GiB
Used network interfaces:
Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (Motherboard (one of many)), speed 1048 Mb/s
TRACE 2024-07-02 00:06:06.929 [System Information Logger] Done logging system information, shutting down thread
DEBUG 2024-07-02 00:06:07.184 [main]
Code: Select all
echo "$JAVA"
echo "$JAVA_HOME"
Re: UMS on linux (manjaro) crash / breaks off
If you comment out the following like this:
# Use our JVM if it exists
#if [ -f jre17/bin/java ]; then
# JAVA="jre17/bin/java"
#fi
UMS should use your system Java.
That would be the first thing I would try.
# Use our JVM if it exists
#if [ -f jre17/bin/java ]; then
# JAVA="jre17/bin/java"
#fi
UMS should use your system Java.
That would be the first thing I would try.
Re: UMS on linux (manjaro) crash / breaks off
Hello @Boss,
many thanks for the first help.
Now UMS not crashes or break off, but it have a network problem.
Today it's a little late and so I test today in the evening. I give response if I find out more.
many thanks for the first help.
Now UMS not crashes or break off, but it have a network problem.
Today it's a little late and so I test today in the evening. I give response if I find out more.
Re: UMS on linux (manjaro) crash / breaks off
I configured on the graphical ui the network new and now it is all right and the smart-tv can access to UMS and play the video.
Now I may looking for the sorting config, because these is not as before - it's not straight alphabetical.
Why this is so I looking today evening.
Now I may looking for the sorting config, because these is not as before - it's not straight alphabetical.
Why this is so I looking today evening.
Re: UMS on linux (manjaro) crash / breaks off
I normally edit UMS.conf directly to change settings.
But through the UMS GUI: UMS-IP:9001/settings
Then goto:
Navigation Settings
File sorting/naming
File order
There you can configure UMS to sort to different criteria.
In UMS's default setting, it should be on "Alphanumeric"
If not, change that setting to "Alphanumeric"
The next setting is: Ignore articles "a" and "the" while sorting,
This ignores "a" and "the" when sorting.
EG: A file named "a good day" will come after a file named "badlands"
If you do not want the sorting like that and want to include the "a" and "and" in the sorting order, untick that option.
Cheers
But through the UMS GUI: UMS-IP:9001/settings
Then goto:
Navigation Settings
File sorting/naming
File order
There you can configure UMS to sort to different criteria.
In UMS's default setting, it should be on "Alphanumeric"
If not, change that setting to "Alphanumeric"
The next setting is: Ignore articles "a" and "the" while sorting,
This ignores "a" and "the" when sorting.
EG: A file named "a good day" will come after a file named "badlands"
If you do not want the sorting like that and want to include the "a" and "and" in the sorting order, untick that option.
Cheers