我们正在使用 F5 VPN,我发现了一个错误并采取了解决方法:F5 网络访问客户端运行失败,错误如下:
~ $ /opt/f5/vpn/f5vpn %u
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_init_ssl
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_init_crypto
qt.network.ssl: QSslSocket: cannot resolve ASN1_STRING_get0_data
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_reset
qt.network.ssl: QSslSocket: cannot resolve RSA_bits
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_new_null
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_push
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_free
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_num
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_value
qt.network.ssl: QSslSocket: cannot resolve DH_get0_pqg
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_options
qt.network.ssl: QSslSocket: cannot resolve SSL_get_client_random
qt.network.ssl: QSslSocket: cannot resolve SSL_SESSION_get_master_key
qt.network.ssl: QSslSocket: cannot resolve SSL_session_reused
qt.network.ssl: QSslSocket: cannot resolve TLS_method
qt.network.ssl: QSslSocket: cannot resolve TLS_client_method
qt.network.ssl: QSslSocket: cannot resolve TLS_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get0_chain
qt.network.ssl: QSslSocket: cannot resolve X509_getm_notBefore
qt.network.ssl: QSslSocket: cannot resolve X509_getm_notAfter
qt.network.ssl: QSslSocket: cannot resolve X509_get_version
qt.network.ssl: QSslSocket: cannot resolve OpenSSL_version_num
qt.network.ssl: QSslSocket: cannot resolve OpenSSL_version
qt.network.ssl: Incompatible version of OpenSSL
qt5ct: using qt5ct plugin
Gtk-Message: 13:18:49.885: Failed to load module "appmenu-gtk-module"
并且 .F5Networks/vpn.log 显示:
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, =====================================
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, Location: /opt/f5/vpn/f5vpn
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, Version: 7160.2018.0118.1
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, Locale: C
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, Qt version: 5.9.5
2018-08-14,13:18:49:849, 4212,4212,, 0,,,, =====================================
2018-08-14,13:18:49:849, 4212,4212,, 0,,,,
2018-08-14,13:18:49:849, 4212,4212,, 48,,,, current log level = 63
2018-08-14,13:18:49:850, 4212,4212,, 48, /Helpers.h, 117, void f5::qt::setupLogs(const string&, const string&), QT - OpenSSL supported: false. Lib in use: . Build: OpenSSL 1.1.0g 2 Nov 2017
2018-08-14,13:18:49:850, 4212,4212,, 48, /Helpers.h, 118, void f5::qt::setupLogs(const string&, const string&), F5 - OpenSSL build version: OpenSSL 1.0.2k 26 Jan 2017
2018-08-14,13:18:49:918, 4212,4212,, 2, /CustomQApplication.h, 216, void f5::qt::CustomQApplication::loadTranslationFile(const QString&), Translator error: locale:'ru_RU', file 'qt_', from: ':/'... failed to load/failed to install
2018-08-14,13:18:49:921, 4212,4212,, 1, /SessionManager.cpp, 198, bool f5::qt::SessionManager::CreateAndLaunchSessionInternal(const QUrl&), Unsupported external protocol handler request %25u
2018-08-14,13:18:49:921, 4212,4212,, 48, /SessionManager.cpp, 238, void f5::qt::SessionManager::CheckSessions(), No live sessions, quitting application....
上次错误 -
Gtk-Message:13:18:49.885:无法加载模块“appmenu-gtk-module”
通过运行修复
〜$ qt5ct
并选择“Windows”样式。通过在 vpn 客户端目录中创建指向新 openssl 库的链接来解决的主要问题 -
$ ls -al /opt/f5/vpn/lib
итого 8
drwxr-xr-x 1 root root 66 авг 14 12:59 .
drwxr-xr-x 1 root root 200 авг 14 13:25 ..
lrwxrwxrwx 1 root root 42 авг 14 12:59 libcrypto.so.1.0.0 -> /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
lrwxrwxrwx 1 root root 39 авг 14 12:59 libssl.so.1.0.0 -> /usr/lib/x86_64-linux-gnu/libssl.so.1.1
答案1
这是 QT 和 openssl 中的一个错误 - https://bugreports.qt.io/browse/QTBUG-68156
最后一个错误的解决方法-
Gtk-Message:13:18:49.885:无法加载模块“appmenu-gtk-module”
通过运行修复
〜$ qt5ct
并选择“Windows”风格。
通过在 vpn 客户端目录中创建指向新 openssl 库的链接来解决主要问题 -
$ ls -al /opt/f5/vpn/lib
итого 8
drwxr-xr-x 1 root root 66 авг 14 12:59 .
drwxr-xr-x 1 root root 200 авг 14 13:25 ..
lrwxrwxrwx 1 root root 42 авг 14 12:59 libcrypto.so.1.0.0 -> /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
lrwxrwxrwx 1 root root 39 авг 14 12:59 libssl.so.1.0.0 -> /usr/lib/x86_64-linux-gnu/libssl.so.1.1