Problems running SERVIIO on OpenSolaris/OmniOS
thank's to the detailed installation guide in the FAQ I have successfully installed SERVIIO on my OmniOS-server. I am able to start the service, but it will show the following errors in the log file:
I checked FFMPEG on the console running 'which ffmpeg' and it finds it in '/opt/ooce/bin/ffmpeg' - running 'ffmpeg -version' yields the following output:
So now I am a bit lost what goes wrong.
Any help is appreciated.
Kind regards,
Lampos
- Code:
ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory
java.io.IOException: Cannot run program "ffmpeg": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:136)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 1 more
[MediaServer] An unexpected error occurred. Ending the application. Message: FFMPEG not found. Serviio will not work properly.
java.lang.ExceptionInInitializerError
at org.serviio.MediaServer.main(MediaServer.java:146)
Caused by: java.lang.RuntimeException: FFMPEG not found. Serviio will not work properly.
at org.serviio.external.FFMPEGWrapper.loadFFmpegInfo(FFMPEGWrapper.java:123)
at org.serviio.external.FFMPEGWrapper.<clinit>(FFMPEGWrapper.java:96)
... 1 more
I checked FFMPEG on the console running 'which ffmpeg' and it finds it in '/opt/ooce/bin/ffmpeg' - running 'ffmpeg -version' yields the following output:
- Code:
ffmpeg -version
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.2.0 (OmniOS 151038/10.2.0-il-0)
configuration: --libdir=/opt/ooce/lib/amd64 --prefix=/opt/ooce/ffmpeg --incdir=/opt/ooce/include --disable-static --enable-shared --disable-debug --disable-stripping --enable-libfontconfig --enable-libfreetype --enable-libvorbis --enable-libwebp --enable-gpl --enable-libx264 --enable-libx265 --enable-gnutls --enable-libdav1d
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
So now I am a bit lost what goes wrong.
Any help is appreciated.
Kind regards,
Lampos