MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.8k stars 494 forks source link

Airsonic | Fails to start upon fresh install #3318

Closed tenryou-17 closed 4 years ago

tenryou-17 commented 4 years ago

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Install Airsonic via Dietpi-Software

Expected behaviour

Actual behaviour

Extra details

The following is a list of other dietpi-services on the system:

The following is the status log for when the Airsonic service tries to start:

 ● airsonic.service - Airsonic Media Server (DietPi)                                                                  │          
          │    Loaded: loaded (/etc/systemd/system/airsonic.service; disabled; vendor preset: enabled)                           │          
          │    Active: failed (Result: exit-code) since Mon 2020-01-06 01:47:48 GMT; 3s ago                                      │          
          │   Process: 2095 ExecStart=/usr/bin/java -Xmx398m -Dairsonic.home=/mnt/dietpi_userdata/airsonic                       │          
          │ -Dserver.context-path=/airsonic -Dserver.port=8080 -jar /mnt/dietpi_userdata/airsonic/airsonic.war (code=exited,     │          
          │ status=1/FAILURE)                                                                                                    │          
          │  Main PID: 2095 (code=exited, status=1/FAILURE)                                                                      │          
          │                                                                                                                      │          
          │ Jan 06 01:47:48 DietPi systemd[1]: Started Airsonic Media Server (DietPi).                                           │          
          │ Jan 06 01:47:48 DietPi java[2095]: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar: invalid LOC header (bad         │          
          │ signature)                                                                                                           │          
          │ Jan 06 01:47:48 DietPi java[2095]: Error: Could not find or load main class                                          │          
          │ org.springframework.boot.loader.WarLauncher                                                                          │          
          │ Jan 06 01:47:48 DietPi systemd[1]: airsonic.service: Main process exited, code=exited, status=1/FAILURE              │          
          │ Jan 06 01:47:48 DietPi systemd[1]: airsonic.service: Unit entered failed state.  
Joulinar commented 4 years ago

@tenryou-17

I tried it on my VM and a fresh installation was working fine. Could be that there is something corrupt on your JAVA installation

pls can you past the following as well

journalctl -u airsonic
java -version
javac -version
MichaIng commented 4 years ago

@tenryou-17 Many thanks for your report.

/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar: invalid LOC header (bad signature)

From what I found this file must be corrupt. Please try to reinstall it and check dmesg for file system errors, in case those were the initial reason:

apt install --reinstall openjdk-8-jre-headless
dmesg
tenryou-17 commented 4 years ago

@Joulinar Here is the response line-by-line:

--No entries--
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-1~deb9u1-b09)
OpenJDK Client VM (build 25.232-b09, mixed mode)
/usr/lib/jvm/java-8-openjdk-armf/jre/lib/rt.jar: invalid LOC header (bad signature)
Error: Could not find or load main class com.sun.tools.javac.Main

@MichaIng Java was reinstalled with no issues. Here is the output of dmesg (apologies for the length):

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.14.66+ (root@loki) (
gcc version 4.9.2 (Debian 4.9.2-10+deb8u1)) #1 SMP
PREEMPT Thu Aug 23 05:59:33 UTC 2018
[    0.000000] CPU: ARMv7 Processor [410fc073] revi
sion 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: pat
ching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data ca
che, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Hardkernel O
droid XU4
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0xb6800000
[    0.000000] Samsung CPU ID: 0xe5422001
[    0.000000] On node 0 totalpages: 518656
[    0.000000] free_area_init_node: node 0, pgdat c
0d8e980, node_mem_map eee25000
[    0.000000]   Normal zone: 1728 pages used for m
emmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO ba
tch:31
[    0.000000]   HighMem zone: 322048 pages, LIFO b
atch:31
[    0.000000] Running under secure firmware.
[    0.000000] random: get_random_bytes called from
 start_kernel+0x8c/0x420 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @eed65
000 s37568 r8192 d23872 u69632
[    0.000000] pcpu-alloc: s37568 r8192 d23872 u696
32 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[0] 4 [0] 5 [0] 6 [0] 7
[    0.000000] Built 1 zonelists, mobility grouping
 on.  Total pages: 516928
[    0.000000] Kernel command line: console=tty1 co
nsole=ttySAC2,115200n8 root=UUID=3032ee2a-4efc-40b6
-9c1f-2839a840144d rootwait ro fsck.repair=yes net.
ifnames=0 drm_kms_helper.edid_firmware=edid/1920x10
80.bin smsc95xx.macaddr=00:1e:06:61:7a:72 governor=
performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hd
mi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6
 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hd
mi  s5p_mfc.mem=16M
[    0.000000] hdmi: using HDMI mode
[    0.000000] PID hash table entries: 4096 (order:
 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131
072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 6553
6 (order: 6, 262144 bytes)
[    0.000000] Memory: 1904744K/2074624K available
(8192K kernel code, 655K rwdata, 2352K rodata, 1024
K init, 329K bss, 38808K reserved, 131072K cma-rese
rved, 1157120K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff100
0   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff0000
0   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff80000
0   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf000000
0   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc000000
0   (   2 MB)
                   modules : 0xbf000000 - 0xbfe0000
0   (  14 MB)
                     .text : 0xc0008000 - 0xc090000
0   (9184 kB)
                     .init : 0xc0c00000 - 0xc0d0000
0   (1024 kB)
                     .data : 0xc0d00000 - 0xc0da3f5
0   ( 656 kB)
                      .bss : 0xc0dab0b4 - 0xc0dfd5f
c   ( 330 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObje
cts=0, CPUs=8, Nodes=1
[    0.000000] hperf_hmp: fast CPUs mask: 000000F0
[    0.000000] hperf_hmp: slow CPUs mask: 0000000F
[    0.000000] Preemptible hierarchical RCU impleme
ntation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocat
ed irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Switching to timer-based delay loop,
 resolution 41ns
[    0.000000] clocksource: mct-frc: mask: 0xffffff
ff max_cycles: 0xffffffff, max_idle_ns: 79635851949
 ns
[    0.000007] sched_clock: 32 bits at 24MHz, resol
ution 41ns, wraps every 89478484971ns
[    0.000032] genirq: irq_chip COMBINER did not up
date eff. affinity mask of irq 49
[    0.001610] Console: colour dummy device 80x30
[    0.002306] console [tty1] enabled
[    0.002347] Calibrating delay loop (skipped), va
lue calculated using timer frequency.. 48.00 BogoMI
PS (lpj=96000)
[    0.002388] pid_max: default: 32768 minimum: 301
[    0.002591] Mount-cache hash table entries: 2048
 (order: 1, 8192 bytes)
[    0.002631] Mountpoint-cache hash table entries:
 2048 (order: 1, 8192 bytes)
[    0.003487] CPU: Testing write buffer coherency:
 ok
[    0.004406] CPU0: thread -1, cpu 0, socket 1, mp
idr 80000100
[    0.020049] Setting up static identity map for 0
x40100000 - 0x40100060
[    0.020671] ARM CCI driver probed
[    0.020905] Exynos MCPM support installed
[    0.027986] Hierarchical SRCU implementation.
[    0.043987] smp: Bringing up secondary CPUs ...
[    0.072404] CPU1: thread -1, cpu 1, socket 1, mp
idr 80000101
[    0.096366] CPU2: thread -1, cpu 2, socket 1, mp
idr 80000102
[    0.124354] CPU3: thread -1, cpu 3, socket 1, mp
idr 80000103
[    0.152293] CPU4: thread -1, cpu 0, socket 0, mp
idr 80000000
[    0.172277] CPU5: thread -1, cpu 1, socket 0, mp
idr 80000001
[    0.180603] CPU6: thread -1, cpu 2, socket 0, mp
idr 80000002
[    0.188604] CPU7: thread -1, cpu 3, socket 0, mp
idr 80000003
[    0.188756] smp: Brought up 1 node, 8 CPUs
[    0.188902] SMP: Total of 8 processors activated
 (384.00 BogoMIPS).
[    0.188925] CPU: All CPU(s) started in HYP mode.
[    0.188944] CPU: Virtualization extensions avail
able.
[    0.190725] devtmpfs: initialized
[    0.208124] VFP support v0.3: implementor 41 arc
hitecture 4 part 30 variant f rev 0
[    0.208326] hperf_hmp: registered cpufreq transi
tion notifier
[    0.208514] clocksource: jiffies: mask: 0xffffff
ff max_cycles: 0xffffffff, max_idle_ns: 76450417851
00000 ns
[    0.208551] futex hash table entries: 2048 (orde
r: 5, 131072 bytes)
[    0.211002] pinctrl core: initialized pinctrl su
bsystem
[    0.213168] NET: Registered protocol family 16
[    0.218361] DMA: preallocated 1024 KiB pool for
atomic coherent allocations
[    0.224358] cpuidle: using governor menu
[    0.225314] hw-breakpoint: found 5 (+1 reserved)
 breakpoint and 4 watchpoint registers.
[    0.225342] hw-breakpoint: maximum watchpoint si
ze is 8 bytes.
[    0.233787] exynos-audss-clk 3810000.audss-clock
-controller: epll 180633609
[    0.256634] EXYNOS5420 PMU initialized
[    0.299148] usbcore: registered new interface dr
iver usbfs
[    0.299217] usbcore: registered new interface dr
iver hub
[    0.299373] usbcore: registered new device drive
r usb
[    0.299815] i2c-gpio soc:i2c-hdmi: using pins 17
7 (SDA) and 178 (SCL)
[    0.300404] s3c-i2c 12c70000.i2c: slave address
0x00
[    0.300431] s3c-i2c 12c70000.i2c: bus frequency
set to 378 KHz
[    0.300660] s3c-i2c 12c70000.i2c: i2c-1: S3C I2C
 adapter
[    0.301158] media: Linux media interface: v0.10
[    0.301207] Linux video capture interface: v2.00
[    0.301318] pps_core: LinuxPPS API ver. 1 regist
ered
[    0.301338] pps_core: Software ver. 5.3.6 - Copy
right 2005-2007 Rodolfo Giometti <giometti@linux.it
>
[    0.301601] s3c2410-wdt 101d0000.watchdog: watch
dog inactive, reset disabled, irq disabled
[    0.302457] Advanced Linux Sound Architecture Dr
iver Initialized.
[    0.303823] clocksource: Switched to clocksource
 mct-frc
[    0.361978] VFS: Disk quotas dquot_6.6.0
[    0.362071] VFS: Dquot-cache hash table entries:
 1024 (order 0, 4096 bytes)
[    0.375466] NET: Registered protocol family 2
[    0.376113] TCP established hash table entries:
8192 (order: 3, 32768 bytes)
[    0.376208] TCP bind hash table entries: 8192 (o
rder: 4, 65536 bytes)
[    0.376376] TCP: Hash tables configured (establi
shed 8192 bind 8192)
[    0.376491] UDP hash table entries: 512 (order:
2, 16384 bytes)
[    0.376542] UDP-Lite hash table entries: 512 (or
der: 2, 16384 bytes)
[    0.376758] NET: Registered protocol family 1
[    0.377438] RPC: Registered named UNIX socket tr
ansport module.
[    0.377461] RPC: Registered udp transport module
.
[    0.377479] RPC: Registered tcp transport module
.
[    0.377498] RPC: Registered tcp NFSv4.1 backchan
nel transport module.
[    0.377700] Trying to unpack rootfs image as ini
tramfs...
[    0.716914] Freeing initrd memory: 5584K
[    0.718521] hw perfevents: enabled with armv7_co
rtex_a7 PMU driver, 5 counters available
[    0.719642] hw perfevents: enabled with armv7_co
rtex_a15 PMU driver, 7 counters available
[    0.723063] audit: initializing netlink subsys (
disabled)
[    0.723280] audit: type=2000 audit(0.716:1): sta
te=initialized audit_enabled=0 res=1
[    0.723918] Initialise system trusted keyrings
[    0.724134] workingset: timestamp_bits=14 max_or
der=19 bucket_order=5
[    0.731167] squashfs: version 4.0 (2009/01/31) P
hillip Lougher
[    0.732038] NFS: Registering the id_resolver key
 type
[    0.732072] Key type id_resolver registered
[    0.732091] Key type id_legacy registered
[    0.732119] nfs4filelayout_init: NFSv4 File Layo
ut Driver Registering...
[    0.732172] romfs: ROMFS MTD (C) 2007 Red Hat, I
nc.
[    0.736738] Key type asymmetric registered
[    0.736762] Asymmetric key parser 'x509' registe
red
[    0.736827] bounce: pool size: 64 pages
[    0.736889] Block layer SCSI generic (bsg) drive
r version 0.4 loaded (major 245)
[    0.737115] io scheduler noop registered
[    0.737139] io scheduler deadline registered
[    0.737400] io scheduler cfq registered (default
)
[    0.737422] io scheduler mq-deadline registered
[    0.737442] io scheduler kyber registered
[    0.737686] io scheduler bfq registered
[    0.740081] samsung-usb2-phy 12130000.phy: 12130
000.phy supply vbus not found, using dummy regulato
r
[    0.741061] exynos5_usb3drd_phy 12100000.phy: 12
100000.phy supply vbus not found, using dummy regul
ator
[    0.741146] exynos5_usb3drd_phy 12100000.phy: 12
100000.phy supply vbus-boost not found, using dummy
 regulator
[    0.741536] exynos5_usb3drd_phy 12500000.phy: 12
500000.phy supply vbus not found, using dummy regul
ator
[    0.741621] exynos5_usb3drd_phy 12500000.phy: 12
500000.phy supply vbus-boost not found, using dummy
 regulator
[    0.746558] dma-pl330 3880000.adma: Loaded drive
r for PL330 DMAC-241330
[    0.746588] dma-pl330 3880000.adma:  DBUFF-4x8by
tes Num_Chans-6 Num_Peri-16 Num_Events-6
[    0.749194] dma-pl330 121a0000.pdma: Loaded driv
er for PL330 DMAC-241330
[    0.749223] dma-pl330 121a0000.pdma:         DBU
FF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.751742] dma-pl330 121b0000.pdma: Loaded driv
er for PL330 DMAC-241330
[    0.751771] dma-pl330 121b0000.pdma:         DBU
FF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.752638] dma-pl330 10800000.mdma: Loaded driv
er for PL330 DMAC-241330
[    0.752666] dma-pl330 10800000.mdma:         DBU
FF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[    0.759832] random: fast init done
[    0.817255] Serial: 8250/16550 driver, 4 ports,
IRQ sharing disabled
[    0.819522] 12c00000.serial: ttySAC0 at MMIO 0x1
2c00000 (irq = 58, base_baud = 0) is a S3C6400/10
[    0.819971] 12c10000.serial: ttySAC1 at MMIO 0x1
2c10000 (irq = 59, base_baud = 0) is a S3C6400/10
[    0.820378] 12c20000.serial: ttySAC2 at MMIO 0x1
2c20000 (irq = 60, base_baud = 0) is a S3C6400/10
[    1.731079] console [ttySAC2] enabled
[    1.735063] 12c30000.serial: ttySAC3 at MMIO 0x1
2c30000 (irq = 61, base_baud = 0) is a S3C6400/10
[    1.745715] exynos-mixer 14450000.mixer: Linked
as a consumer to 14650000.sysmmu
[    1.751738] iommu: Adding device 14450000.mixer
to group 0
[    1.758787] exynos-hdmi 14530000.hdmi: Failed to
 get supply 'vdd': -517
[    1.764645] exynos-drm-g2d 10850000.g2d: Linked
as a consumer to 10a60000.sysmmu
[    1.771435] exynos-drm-g2d 10850000.g2d: Linked
as a consumer to 10a70000.sysmmu
[    1.778753] iommu: Adding device 10850000.g2d to
 group 1
[    1.784366] exynos-drm-g2d 10850000.g2d: The Exy
nos G2D (ver 4.1) successfully probed.
[    1.792913] exynos-rot 11c00000.rotator: Linked
as a consumer to 11d40000.sysmmu
[    1.799288] iommu: Adding device 11c00000.rotato
r to group 2
[    1.805257] exynos-rot 11c00000.rotator: The exy
nos rotator is probed successfully
[    1.813163] exynos-drm-ipp exynos-drm-ipp: drm i
pp registered successfully.
[    1.823636] mali 11800000.mali: Continuing witho
ut Mali regulator control
[    1.829751] mali 11800000.mali: GPU identified a
s 0x0620 r0p1 status 0
[    1.836015] mali 11800000.mali: Protected mode n
ot available
[    1.841542] devfreq devfreq0: Couldn't update fr
equency transition information.
[    1.849079] mali 11800000.mali: Probed as mali0
[    1.862631] brd: module loaded
[    1.864863] libphy: Fixed MDIO Bus: probed
[    1.868666] usbcore: registered new interface dr
iver r8152
[    1.873824] usbcore: registered new interface dr
iver cdc_ether
[    1.879627] usbcore: registered new interface dr
iver cdc_subset
[    1.887512] ehci_hcd: USB 2.0 'Enhanced' Host Co
ntroller (EHCI) Driver
[    1.892625] ehci-exynos: EHCI EXYNOS driver
[    1.897094] exynos-ehci 12110000.usb: EHCI Host
Controller
[    1.902243] exynos-ehci 12110000.usb: new USB bu
s registered, assigned bus number 1
[    1.910189] exynos-ehci 12110000.usb: irq 80, io
 mem 0x12110000
[    1.927872] exynos-ehci 12110000.usb: USB 2.0 st
arted, EHCI 1.00
[    1.932703] usb usb1: New USB device found, idVe
ndor=1d6b, idProduct=0002
[    1.939205] usb usb1: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    1.946391] usb usb1: Product: EHCI Host Control
ler
[    1.951238] usb usb1: Manufacturer: Linux 4.14.6
6+ ehci_hcd
[    1.956815] usb usb1: SerialNumber: 12110000.usb
[    1.961980] hub 1-0:1.0: USB hub found
[    1.965144] hub 1-0:1.0: 3 ports detected
[    1.970028] ohci_hcd: USB 1.1 'Open' Host Contro
ller (OHCI) Driver
[    1.975257] ohci-exynos: OHCI EXYNOS driver
[    1.979599] exynos-ohci 12120000.usb: USB Host C
ontroller
[    1.984797] exynos-ohci 12120000.usb: new USB bu
s registered, assigned bus number 2
[    1.992507] exynos-ohci 12120000.usb: irq 80, io
 mem 0x12120000
[    2.060103] usb usb2: New USB device found, idVe
ndor=1d6b, idProduct=0001
[    2.065459] usb usb2: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    2.073782] usb usb2: Product: USB Host Controll
er
[    2.077411] usb usb2: Manufacturer: Linux 4.14.6
6+ ohci_hcd
[    2.082953] usb usb2: SerialNumber: 12120000.usb
[    2.088140] hub 2-0:1.0: USB hub found
[    2.091276] hub 2-0:1.0: 3 ports detected
[    2.097472] mousedev: PS/2 mouse device common f
or all mice
[    2.102954] i2c /dev entries driver
[    2.120252] vdd_ldo9: Bringing 3300000uV into 30
00000-3000000uV
[    2.142633] vdd_sd: Bringing 3300000uV into 2800
000-2800000uV
[    3.228754] s5m-rtc s2mps14-rtc: rtc core: regis
tered s5m-rtc as rtc0
[    3.237643] s5p-jpeg 11f50000.jpeg: Linked as a
consumer to 11f10000.sysmmu
[    3.243223] iommu: Adding device 11f50000.jpeg t
o group 3
[    3.248910] s5p-jpeg 11f50000.jpeg: encoder devi
ce registered as /dev/video30
[    3.255855] s5p-jpeg 11f50000.jpeg: decoder devi
ce registered as /dev/video31
[    3.262750] s5p-jpeg 11f50000.jpeg: Samsung S5P
JPEG codec
[    3.268412] s5p-jpeg 11f60000.jpeg: Linked as a
consumer to 11f20000.sysmmu
[    3.275189] iommu: Adding device 11f60000.jpeg t
o group 4
[    3.280868] s5p-jpeg 11f60000.jpeg: encoder devi
ce registered as /dev/video32
[    3.287794] s5p-jpeg 11f60000.jpeg: decoder devi
ce registered as /dev/video33
[    3.294733] s5p-jpeg 11f60000.jpeg: Samsung S5P
JPEG codec
[    3.301267] s5p-mfc 11000000.codec: Linked as a
consumer to 11200000.sysmmu
[    3.307239] s5p-mfc 11000000.codec: Linked as a
consumer to 11210000.sysmmu
[    3.314111] iommu: Adding device 11000000.codec
to group 5
[    3.337421] s5p-mfc 11000000.codec: preallocated
 16 MiB buffer for the firmware and context buffers
[    3.345129] (NULL device *): Direct firmware loa
d for s5p-mfc-v8.fw failed with error -2
[    3.353104] s5p_mfc_load_firmware:73: Firmware i
s not present in the /lib/firmware directory nor co
mpiled in kernel
[    3.363659] s5p-mfc 11000000.codec: decoder regi
stered as /dev/video10
[    3.370155] s5p-mfc 11000000.codec: encoder regi
stered as /dev/video11
[    3.378928] exynos-gsc 13e00000.video-scaler: Li
nked as a consumer to 13e80000.sysmmu
[    3.385373] iommu: Adding device 13e00000.video-
scaler to group 6
[    3.392701] exynos-gsc 13e10000.video-scaler: Li
nked as a consumer to 13e90000.sysmmu
[    3.399238] iommu: Adding device 13e10000.video-
scaler to group 7
[    3.425014] thermal thermal_zone0: failed to rea
d out thermal zone (-22)
[    3.431162] thermal thermal_zone1: failed to rea
d out thermal zone (-22)
[    3.437879] thermal thermal_zone2: failed to rea
d out thermal zone (-22)
[    3.444587] thermal thermal_zone3: failed to rea
d out thermal zone (-22)
[    3.451236] thermal thermal_zone4: failed to rea
d out thermal zone (-22)
[    3.457690] device-mapper: uevent: version 1.0.3
[    3.461883] device-mapper: ioctl: 4.37.0-ioctl (
2017-09-20) initialised: dm-devel@redhat.com
[    3.484300] sdhci: Secure Digital Host Controlle
r Interface driver
[    3.489027] sdhci: Copyright(c) Pierre Ossman
[    3.493543] Synopsys Designware Multimedia Card
Interface Driver
[    3.499941] dwmmc_exynos 12200000.mmc: IDMAC sup
ports 32-bit address mode.
[    3.506250] dwmmc_exynos 12200000.mmc: Using int
ernal DMA controller.
[    3.512596] dwmmc_exynos 12200000.mmc: Version I
D is 250a
[    3.517986] dwmmc_exynos 12200000.mmc: DW MMC co
ntroller at irq 83,64 bit host data width,64 deep f
ifo
[    3.527381] dwmmc_exynos 12200000.mmc: allocated
 mmc-pwrseq
[    3.557060] mmc_host mmc0: Bus speed (slot 0) =
50000000Hz (slot req 400000Hz, actual 396825HZ div
= 63)
[    3.584210] dwmmc_exynos 12220000.mmc: IDMAC sup
ports 32-bit address mode.
[    3.589664] dwmmc_exynos 12220000.mmc: Using int
ernal DMA controller.
[    3.596063] dwmmc_exynos 12220000.mmc: Version I
D is 250a
[    3.601441] dwmmc_exynos 12220000.mmc: DW MMC co
ntroller at irq 84,64 bit host data width,64 deep f
ifo
[    3.632297] mmc_host mmc1: Bus speed (slot 0) =
50000000Hz (slot req 400000Hz, actual 396825HZ div
= 63)
[    3.660902] ledtrig-cpu: registered to indicate
activity on CPUs
[    3.668107] s5p-secss 10830000.sss: s5p-sss driv
er registered
[    3.672615] hidraw: raw HID events driver (C) Ji
ri Kosina
[    3.685896] exynos-nocp: new NoC Probe device re
gistered: 10ca1000.nocp
[    3.691160] exynos-nocp: new NoC Probe device re
gistered: 10ca1400.nocp
[    3.698175] exynos-nocp: new NoC Probe device re
gistered: 10ca1800.nocp
[    3.704339] exynos-nocp: new NoC Probe device re
gistered: 10ca1c00.nocp
[    3.714812] NET: Registered protocol family 17
[    3.717810] NET: Registered protocol family 15
[    3.722245] Key type dns_resolver registered
[    3.726904] Registering SWP/SWPB emulation handl
er
[    3.731603] registered taskstats version 1
[    3.735299] Loading compiled-in X.509 certificat
es
[    3.745259] Key type encrypted registered
[    3.767277] OF: graph: no port node found in /so
c/hdmi@14530000
[    3.773138] [drm] Exynos DRM: using 14450000.mix
er device for DMA mapping operations
[    3.779597] exynos-drm exynos-drm: bound 1445000
0.mixer (ops 0xc09664e0)
[    3.781397] mmc_host mmc1: Bus speed (slot 0) =
200000000Hz (slot req 200000000Hz, actual 200000000
HZ div = 0)
[    3.796108] exynos-drm exynos-drm: bound 1453000
0.hdmi (ops 0xc0966b80)
[    3.802674] [drm] Supports vblank timestamp cach
ing Rev 2 (21.10.2013).
[    3.809258] [drm] No driver support for vblank t
imestamp query.
[    3.815260] [drm] Cannot find any crtc or sizes
[    3.820141] [drm] Initialized exynos 1.0.0 20110
530 for exynos-drm on minor 0
[    3.827003] [drm] Cannot find any crtc or sizes
[    3.832721] xhci-hcd xhci-hcd.3.auto: xHCI Host
Controller
[    3.836759] xhci-hcd xhci-hcd.3.auto: new USB bu
s registered, assigned bus number 3
[    3.844595] xhci-hcd xhci-hcd.3.auto: hcc params
 0x0220f04c hci version 0x100 quirks 0x02010010
[    3.853068] xhci-hcd xhci-hcd.3.auto: irq 150, i
o mem 0x12000000
[    3.859147] usb usb3: New USB device found, idVe
ndor=1d6b, idProduct=0002
[    3.865776] usb usb3: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    3.872968] usb usb3: Product: xHCI Host Control
ler
[    3.877818] usb usb3: Manufacturer: Linux 4.14.6
6+ xhci-hcd
[    3.883386] usb usb3: SerialNumber: xhci-hcd.3.a
uto
[    3.883833] NOHZ: local_softirq_pending 80
[    3.883859] mmc1: new ultra high speed SDR104 SD
HC card at address 0007
[    3.884669] mmcblk1: mmc1:0007 SD16G 14.9 GiB
[    3.885375] NOHZ: local_softirq_pending 40
[    3.885990]  mmcblk1: p1 p2
[    3.910449] hub 3-0:1.0: USB hub found
[    3.913888] hub 3-0:1.0: 1 port detected
[    3.917965] xhci-hcd xhci-hcd.3.auto: xHCI Host
Controller
[    3.923232] xhci-hcd xhci-hcd.3.auto: new USB bu
s registered, assigned bus number 4
[    3.930860] xhci-hcd xhci-hcd.3.auto: Host suppo
rts USB 3.0  SuperSpeed
[    3.937490] usb usb4: We don't know the algorith
ms for LPM for this host, disabling LPM.
[    3.945595] usb usb4: New USB device found, idVe
ndor=1d6b, idProduct=0003
[    3.952257] usb usb4: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    3.959448] usb usb4: Product: xHCI Host Control
ler
[    3.964300] usb usb4: Manufacturer: Linux 4.14.6
6+ xhci-hcd
[    3.969844] usb usb4: SerialNumber: xhci-hcd.3.a
uto
[    3.974985] hub 4-0:1.0: USB hub found
[    3.978444] hub 4-0:1.0: 1 port detected
[    3.984436] xhci-hcd xhci-hcd.6.auto: xHCI Host
Controller
[    3.988468] xhci-hcd xhci-hcd.6.auto: new USB bu
s registered, assigned bus number 5
[    3.996301] xhci-hcd xhci-hcd.6.auto: hcc params
 0x0220f04c hci version 0x100 quirks 0x02010010
[    4.004786] xhci-hcd xhci-hcd.6.auto: irq 151, i
o mem 0x12400000
[    4.010851] usb usb5: New USB device found, idVe
ndor=1d6b, idProduct=0002
[    4.017490] usb usb5: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    4.024683] usb usb5: Product: xHCI Host Control
ler
[    4.029532] usb usb5: Manufacturer: Linux 4.14.6
6+ xhci-hcd
[    4.035078] usb usb5: SerialNumber: xhci-hcd.6.a
uto
[    4.040207] hub 5-0:1.0: USB hub found
[    4.043652] hub 5-0:1.0: 1 port detected
[    4.047744] xhci-hcd xhci-hcd.6.auto: xHCI Host
Controller
[    4.053024] xhci-hcd xhci-hcd.6.auto: new USB bu
s registered, assigned bus number 6
[    4.060645] xhci-hcd xhci-hcd.6.auto: Host suppo
rts USB 3.0  SuperSpeed
[    4.067293] usb usb6: We don't know the algorith
ms for LPM for this host, disabling LPM.
[    4.075380] usb usb6: New USB device found, idVe
ndor=1d6b, idProduct=0003
[    4.082047] usb usb6: New USB device strings: Mf
r=3, Product=2, SerialNumber=1
[    4.089239] usb usb6: Product: xHCI Host Control
ler
[    4.094089] usb usb6: Manufacturer: Linux 4.14.6
6+ xhci-hcd
[    4.099635] usb usb6: SerialNumber: xhci-hcd.6.a
uto
[    4.104773] hub 6-0:1.0: USB hub found
[    4.108234] hub 6-0:1.0: 1 port detected
[    4.113089] rtc rtc1: invalid alarm value: 1900-
1-1 0:0:0
[    4.117591] s3c-rtc 101e0000.rtc: rtc core: regi
stered s3c as rtc1
[    4.124774] exynos-bus: new bus device registere
d: soc:bus_wcore ( 84000 KHz ~ 400000 KHz)
[    4.132292] exynos-bus: new bus device registere
d: soc:bus_noc ( 67000 KHz ~ 100000 KHz)
[    4.140218] exynos-bus: new bus device registere
d: soc:bus_fsys_apb (200000 KHz ~ 200000 KHz)
[    4.148667] exynos-bus: new bus device registere
d: soc:bus_fsys (200000 KHz ~ 200000 KHz)
[    4.156930] exynos-bus: new bus device registere
d: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz)
[    4.165233] exynos-bus: new bus device registere
d: soc:bus_mfc ( 96000 KHz ~ 333000 KHz)
[    4.173257] exynos-bus: new bus device registere
d: soc:bus_gen ( 89000 KHz ~ 267000 KHz)
[    4.181251] exynos-bus: new bus device registere
d: soc:bus_peri ( 67000 KHz ~  67000 KHz)
[    4.189499] exynos-bus: new bus device registere
d: soc:bus_g2d ( 84000 KHz ~ 333000 KHz)
[    4.197526] exynos-bus: new bus device registere
d: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz)
[    4.205929] exynos-bus: new bus device registere
d: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz)
[    4.214084] exynos-bus: new bus device registere
d: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz)
[    4.222490] exynos-bus: new bus device registere
d: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz)
[    4.231194] exynos-bus: new bus device registere
d: soc:bus_disp1 (120000 KHz ~ 300000 KHz)
[    4.239432] exynos-bus: new bus device registere
d: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz)
[    4.248262] exynos-bus: new bus device registere
d: soc:bus_mscl ( 84000 KHz ~ 400000 KHz)
[    4.256300] samsung-i2s 3830000.i2s: ASoC: Faile
d to create component debugfs directory
[    4.263957] samsung-i2s 3830000.i2s: ASoC: Faile
d to create component debugfs directory
[    4.272458] odroid-audio sound: multicodec <-> 3
830000.i2s mapping ok
[    4.281395] s5m-rtc s2mps14-rtc: setting system
clock to 2020-01-06 01:27:04 UTC (1578274024)
[    4.293187] ALSA device list:
[    4.294681]   #0: Odroid-XU4
[    4.298602] Freeing unused kernel memory: 1024K
[    4.328517] random: systemd-udevd: uninitialized
 urandom read (16 bytes read)
[    4.334492] random: systemd-udevd: uninitialized
 urandom read (16 bytes read)
[    4.338108] random: udevadm: uninitialized urand
om read (16 bytes read)
[    4.403856] usb 3-1: new high-speed USB device n
umber 2 using xhci-hcd
[    4.560783] usb 3-1: New USB device found, idVen
dor=05e3, idProduct=0610
[    4.566180] usb 3-1: New USB device strings: Mfr
=1, Product=2, SerialNumber=0
[    4.573146] usb 3-1: Product: USB2.0 Hub
[    4.577035] usb 3-1: Manufacturer: GenesysLogic
[    4.609921] hub 3-1:1.0: USB hub found
[    4.612690] hub 3-1:1.0: 2 ports detected
[    4.687871] NOHZ: local_softirq_pending 80
[    4.688054] usb 4-1: new SuperSpeed USB device n
umber 2 using xhci-hcd
[    4.693256] NOHZ: local_softirq_pending 40
[    4.694839] NOHZ: local_softirq_pending 40
[    4.696363] NOHZ: local_softirq_pending 40
[    4.697122] NOHZ: local_softirq_pending 40
[    4.697935] NOHZ: local_softirq_pending 40
[    4.710901] usb 4-1: New USB device found, idVen
dor=05e3, idProduct=0616
[    4.710905] usb 4-1: New USB device strings: Mfr
=1, Product=2, SerialNumber=0
[    4.710909] usb 4-1: Product: USB3.0 Hub
[    4.710913] usb 4-1: Manufacturer: GenesysLogic
[    4.722039] hub 4-1:1.0: USB hub found
[    4.722414] hub 4-1:1.0: 2 ports detected
[    4.749629] NOHZ: local_softirq_pending 40
[    4.752267] NOHZ: local_softirq_pending 40
[    4.943890] usb 3-1.1: new high-speed USB device
 number 3 using xhci-hcd
[    5.048735] usb 3-1.1: New USB device found, idV
endor=1058, idProduct=1100
[    5.054156] usb 3-1.1: New USB device strings: M
fr=1, Product=2, SerialNumber=3
[    5.061433] usb 3-1.1: Product: My Book
[    5.066022] usb 3-1.1: Manufacturer: Western Dig
ital
[    5.071047] usb 3-1.1: SerialNumber: 57442D57434
1553436303331313338
[    5.081607] SCSI subsystem initialized
[    5.085074] usb-storage 3-1.1:1.0: USB Mass Stor
age device detected
[    5.090539] scsi host0: usb-storage 3-1.1:1.0
[    5.094686] usbcore: registered new interface dr
iver usb-storage
[    5.100879] usbcore: registered new interface dr
iver uas
[    5.267950] usb 6-1: new SuperSpeed USB device n
umber 2 using xhci-hcd
[    5.292764] usb 6-1: New USB device found, idVen
dor=0bda, idProduct=8153
[    5.298020] usb 6-1: New USB device strings: Mfr
=1, Product=2, SerialNumber=6
[    5.305119] usb 6-1: Product: USB 10/100/1000 LA
N
[    5.309801] usb 6-1: Manufacturer: Realtek
[    5.313868] usb 6-1: SerialNumber: 000001000000
[    5.507399] usb 6-1: reset SuperSpeed USB device
 number 2 using xhci-hcd
[    5.572838] r8152 6-1:1.0 eth0: v1.09.9
[    6.116574] scsi 0:0:0:0: Direct-Access     WD
     10EAVS External  1.65 PQ: 0 ANSI: 4
[    6.127722] sd 0:0:0:0: [sda] 1953525168 512-byt
e logical blocks: (1.00 TB/932 GiB)
[    6.134443] sd 0:0:0:0: [sda] Write Protect is o
ff
[    6.138705] sd 0:0:0:0: [sda] Mode Sense: 21 00
00 00
[    6.139164] sd 0:0:0:0: [sda] No Caching mode pa
ge found
[    6.144014] sd 0:0:0:0: [sda] Assuming drive cac
he: write through
[   12.693936]  sda: sda1
[   12.696529] sd 0:0:0:0: [sda] Attached SCSI disk
[   16.936584] random: crng init done
[   16.938527] random: 7 urandom warning(s) missed
due to ratelimiting
[   17.262539] EXT4-fs (mmcblk1p2): mounted filesys
tem with ordered data mode. Opts: (null)
[   17.555788] NET: Registered protocol family 10
[   17.559504] Segment Routing with IPv6
[   17.565193] ip_tables: (C) 2000-2006 Netfilter C
ore Team
[   17.576313] systemd[1]: Configuration file /etc/
systemd/system.conf is marked executable. Please re
move executable permission bits. Proceeding anyway.
[   17.588342] systemd[1]: Configuration file /etc/
systemd/system.conf is marked world-writable. Pleas
e remove world writability permission bits. Proceed
ing anyway.
[   17.609370] systemd[1]: systemd 232 running in s
ystem mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +S
MACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS
 +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN
)
[   17.626188] systemd[1]: Detected architecture ar
m.
[   17.648475] systemd[1]: Set hostname to <DietPi>
.
[   17.817178] systemd[1]: Configuration file /lib/
systemd/system/system.slice is marked executable. P
lease remove executable permission bits. Proceeding
 anyway.
[   17.829893] systemd[1]: Configuration file /lib/
systemd/system/system.slice is marked world-writabl
e. Please remove world writability permission bits.
 Proceeding anyway.
[   17.845579] systemd[1]: Configuration file /lib/
systemd/system/slices.target is marked executable.
Please remove executable permission bits. Proceedin
g anyway.
[   17.859184] systemd[1]: Configuration file /lib/
systemd/system/slices.target is marked world-writab
le. Please remove world writability permission bits
. Proceeding anyway.
[   17.876005] systemd[1]: Configuration file /lib/
systemd/system/shutdown.target is marked executable
. Please remove executable permission bits. Proceed
ing anyway.
[   17.888971] systemd[1]: Configuration file /lib/
systemd/system/shutdown.target is marked world-writ
able. Please remove world writability permission bi
ts. Proceeding anyway.
[   17.905121] systemd[1]: Configuration file /lib/
systemd/system/local-fs.target is marked executable
. Please remove executable permission bits. Proceed
ing anyway.
[   18.465358] EXT4-fs (mmcblk1p2): re-mounted. Opt
s: (null)
[   18.516187] systemd-journald[239]: Configuration
 file /etc/systemd/journald.conf is marked executab
le. Please remove executable permission bits. Proce
eding anyway.
[   18.529360] systemd-journald[239]: Configuration
 file /etc/systemd/journald.conf is marked world-wr
itable. Please remove world writability permission
bits. Proceeding anyway.
[   19.001269] Adding 55284k swap on /var/swap.  Pr
iority:-2 extents:2 across:151544k SS
[   19.213325] systemd-journald[239]: Received requ
est to flush runtime journal from PID 1
[   19.364544] gpiomem-exynos 13400000.gpiomem: Ini
tialised: GPIO register area is 2
[   19.370926] gpiomem-exynos 13400000.gpiomem: Ini
tialised: Registers at 0x13400000
[   19.378073] gpiomem-exynos 13400000.gpiomem: Ini
tialised: Registers at 0x14010000
[   19.386383] input: gpio_keys as /devices/platfor
m/gpio_keys/input/input0
[   19.398677] Driver for 1-wire Dallas network pro
tocol.
[   19.427881] s5p-mfc 11000000.codec: Direct firmw
are load for s5p-mfc-v8.fw failed with error -2
[   19.435480] s5p_mfc_load_firmware:73: Firmware i
s not present in the /lib/firmware directory nor co
mpiled in kernel
[   19.446153] s5p-mfc 11000000.codec: Direct firmw
are load for s5p-mfc-v8.fw failed with error -2
[   19.454443] s5p_mfc_load_firmware:73: Firmware i
s not present in the /lib/firmware directory nor co
mpiled in kernel
[   19.608995] sd 0:0:0:0: Attached scsi generic sg
0 type 0
[   22.030799] IPv6: ADDRCONF(NETDEV_UP): eth0: lin
k is not ready
[   22.052489] r8152 6-1:1.0 eth0: carrier on
[   22.055316] IPv6: ADDRCONF(NETDEV_CHANGE): eth0:
 link becomes ready
[   27.987551] Installing knfsd (copyright (C) 1996
 okir@monad.swb.de).
[   28.168027] EXT4-fs (sda1): mounted filesystem w
ith ordered data mode. Opts: (null)
[   28.421117] NFSD: starting 90-second grace perio
d (net c0d83e80)
[138659.259406] nfsd: last server has exited, flush
ing export cache

After I reinstalled Java, Airsonic still failed to start. I reinstalled it, rebooted the XU4, and it seems to work now.

When I looked at the log under the service airsonic status command, I could tell that there was a problem with Java. My question is how did you know to try reinstalling openjdk-8-jre-headless specifically? Just for my own knowledge:)

Thanks!

Joulinar commented 4 years ago

@tenryou-17

/usr/lib/jvm/java-8-openjdk-armf/jre/lib/rt.jar: invalid LOC header (bad signature)

This is indicating the issue of your JAVA installation. Basically your issue is described in this forum https://askubuntu.com/questions/869723/javac-exception-java-8

But it's not exactly the same as we did not use the mentioned JAVA package. But @MichaIng exactly knows which package to resetup as he is the main developer 😄 Next to that, the JAVA package is listed on the dietpi-software file

packages="ca-certificates-java openjdk-$version-jre-headless openjdk-$version-jdk-headless"

https://github.com/MichaIng/DietPi/blob/fea785249696f1d51ab21c5b046a471abff64c4a/dietpi/dietpi-software#L6447

tenryou-17 commented 4 years ago

Thanks @Joulinar ! Sometimes the most obvious solution is right in front of me. Also thanks @MichaIng !