F5 O aplicativo de acesso à rede bigip falhou ao rodar no Linux Mint 19 (baseado no Ubuntu 18.04 LTS)

1

Estamos usando o F5 VPN, e eu encontrei um bug e trabalhei por aí: O cliente de acesso à rede F5 não pôde ser executado com erro:

 ~ $ /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"

e .F5Networks / vpn.log diz:

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....

Último erro -

Gtk-Message: 13:18:49.885: Failed to load module "appmenu-gtk-module"

corrigido pela execução

~ $ qt5ct

e selecionando o estilo "Windows". O principal problema corrigido, criando links para novas bibliotecas openssl no diretório cliente vpn -

$ 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
    
por IvanTheFirst 14.08.2018 / 12:28

1 resposta

1

É um bug no QT e openssl - link

A solução alternativa para o último erro -

Gtk-Message: 13:18:49.885: Failed to load module "appmenu-gtk-module"

corrigido pela execução

~ $ qt5ct

e selecionando o estilo "Windows".

E o principal problema foi corrigido criando links para novas bibliotecas openssl no diretório cliente vpn -

$ 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
    
por 14.08.2018 / 12:34