我在Fedora 26上运行亚音速(一种媒体服务器网络服务)。我最近在升级到F26期间出现电源故障。我不得不修复大量的东西,包括selinux上下文,替换一些应用程序等等......但除了这个亚音速媒体服务器之外,它能够恢复并完全运行。
然后我成功地将升级重新编译为F26。
当我开始亚音速时,我在它的日志中遇到以下错误,重要的部分是“org.apache.http.ssl.SSLInitializationException:TLS SSLContext not available”
[2018-03-07 09:50:01,178] INFO HsqlDaoHelper - Checking database schema.
[2018-03-07 09:50:01,468] INFO HsqlDaoHelper - Done checking database schema.
[2018-03-07 09:50:01,570] INFO SettingsService - Java: 1.8.0_151, OS: Linux
[2018-03-07 09:50:01,613] INFO VersionService - Resolved local Subsonic version
to: 6.1.3
[2018-03-07 09:50:01,673] WARN SettingsService - Failed to validate license.
org.apache.http.ssl.SSLInitializationException: TLS SSLContext not available
at org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:55)
at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder
.java:966)
at net.sourceforge.subsonic.util.HttpUtil.client(HttpUtil.java:50)
at net.sourceforge.subsonic.util.HttpUtil.httpRequest(HttpUtil.java:37)
at net.sourceforge.subsonic.util.HttpUtil.httpGet(HttpUtil.java:25)
at net.sourceforge.subsonic.util.HttpUtil.httpGet(HttpUtil.java:20)
at net.sourceforge.subsonic.service.SettingsService.validateLicense(Sett
at net.sourceforge.subsonic.service.SettingsService.validateLicense(Sett
ingsService.java:1408)
at net.sourceforge.subsonic.service.SettingsService.access$000(SettingsS
ervice.java:52)
at net.sourceforge.subsonic.service.SettingsService$1.run(SettingsServic
e.java:1431)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
at net.sourceforge.subsonic.service.SettingsService.validateLicense(Sett
ingsService.java:1408)
at net.sourceforge.subsonic.service.SettingsService.access$000(SettingsS
ervice.java:52)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.security.NoSuchAlgorithmException: TLS SSLContext not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
at org.apache.http.ssl.SSLContexts.createDefault(SSLContexts.java:51)
... 15 more
我重新安装了应用程序并返回了一些修订版,没有运气。还重新安装了openjdk,openssl和其他一些没有运气的软件包。
然后我检查了cacerts文件,但我无法用keytool打开它:
keytool -list -keystore -v / etc / pki / java / cacerts
这给了我一个错误: “java.security.KeyStoreException:找不到JKS”“
然后我重新安装了ca-certificates,认为它可能已经损坏了。没有运气。
除了完全重新安装之外的任何建议?我有我的数据备份,但最好先找出错误。
答案 0 :(得分:0)