FAQ  •  Register  •  Login

Install failure on FreeBSD 12.1

<<

walnut23

Serviio newbie

Posts: 6

Joined: Thu May 15, 2014 12:05 am

Post Sat Mar 14, 2020 5:52 pm

Install failure on FreeBSD 12.1

Set up a fresh install of FreeBSD 12.1. Using ports, installed ffmpeg, openjdk8 & Serviio. Serviio launches and runs, then fails with the following java error:

2020-03-14 10:33:57,255 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: sun.nio.fs.LinuxWatchService.inotifyInit()I
java.lang.UnsatisfiedLinkError: sun.nio.fs.LinuxWatchService.inotifyInit()I
at sun.nio.fs.LinuxWatchService.inotifyInit(Native Method)
at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:59)
at sun.nio.fs.BsdFileSystem.newWatchService(BsdFileSystem.java:51)
at org.serviio.library.local.indexing.watching.FileDeltaWatcher.instantiateService(FileDeltaWatcher.java:215)
at org.serviio.library.local.indexing.watching.FileDeltaWatcher.<init>(FileDeltaWatcher.java:121)
at org.serviio.library.local.indexing.LibraryDeltaScanner.instantiateWatcher(LibraryDeltaScanner.java:162)
at org.serviio.library.local.indexing.LibraryDeltaScanner.<init>(LibraryDeltaScanner.java:56)
at org.serviio.library.local.indexing.LocalLibraryManager.getInstance(LocalLibraryManager.java:93)
at org.serviio.MediaServer.main(MediaServer.java:173)

openjdk8 has worked for me on FreeBSD 11.x for years. Any idea why standard install is failing like this on 12.1?
<<

Ryuichi

Serviio newbie

Posts: 1

Joined: Fri Mar 20, 2020 3:28 pm

Post Fri Mar 20, 2020 3:47 pm

Re: Install failure on FreeBSD 12.1

I also use FreeBSD12.1.(on Jail) And got the same error on Serviio2.0.
It worked if I installed openjdk8 with pkg install instead of ports.
Previously it worked on ports openjdk8, but it stopped working after updating.

Pkg install Ver. is openjdk8-8.232.09.1_1.
Ports make install Ver. is openjdk8-8.242.07.1.

Openjdk8 version or the patch of installation of ports may be affecting.

I hope it will be helpful.
<<

JJ_Day

Serviio newbie

Posts: 6

Joined: Fri May 23, 2014 2:09 am

Post Mon May 11, 2020 5:09 am

Re: Install failure on FreeBSD 12.1

I had the same problem on a FreeNAS 11.3 jail (Installed from packages).
Found the following from a search on Reddit that worked for me:

Add serviio_args="-Dsun.nio.fs.watchservice=polling" to your rc.conf.

See https://bugs.freebsd.org/bugzilla/show_ ... ?id=243454
<<

ali_jabbar

Serviio newbie

Posts: 1

Joined: Fri May 15, 2020 9:30 am

Post Fri May 15, 2020 9:34 am

Re: Install failure on FreeBSD 12.1

JJ_Day wrote:I had the same problem on a FreeNAS 11.3 jail (Installed from packages).
Found the following from a search on Reddit that worked for me:

Add serviio_args="-Dsun.nio.fs.watchservice=polling" to your rc.conf.

See https://bugs.freebsd.org/bugzilla/show_ ... ?id=243454


how did you install it in FreeNAS 11.3 jail ? jail and serviio configuration ?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 82 guests

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