ispysoftware / iSpy

Open source surveillance software
http://www.ispyconnect.com
Other
1.33k stars 531 forks source link

Crash at startup: “No usable version of the libssl was found” #184

Open alpytron opened 2 years ago

alpytron commented 2 years ago

Hi, I get the error message shown in the subject and the AgentDVR stops, so I basically can't get it work.

OS: Linux knoxville 3.16.85-65 #1 SMP PREEMPT Mon Jan 18 13:32:38 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu Jammy Jellyfish (development branch)
  Release:        22.04
  Codename:       jammy
$ openssl version -a
  OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
  built on: Wed Mar 16 08:35:51 2022 UTC
  platform: debian-arm64
  options:  bn(64,64)
  compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -ffile-prefix-map=/build/openssl-bOWniJ/openssl-3.0.2=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
  OPENSSLDIR: "/usr/lib/ssl"
  ENGINESDIR: "/usr/lib/aarch64-linux-gnu/engines-3"
  MODULESDIR: "/usr/lib/aarch64-linux-gnu/ossl-modules"
  Seeding source: os-specific
  CPUINFO: OPENSSL_armcap=0x3

Please provide a solution for this problem, it's a showstopper for using AgentDVR on our system.

Thanks.

alpytron commented 2 years ago

FYI, This seems to be a workaround, but it's quite ugly: https://idroot.us/install-openssl-ubuntu-20-04/

ispysoftware commented 2 years ago

what stage of startup was that - do you have the full start log?

alpytron commented 2 years ago

It happens somewhere at the beginning of the init process. It took a while but I could revert openssl to original form so now I can reproduce it:

$ ./start_agent.sh
Starting...
Using default media location
Creating temp path for opencv in /tmp/
Get com port list
Using default port (8090)
Local Server running on port 8090
No usable version of libssl was found
Aborted

The actual issue might be explained here, I think: https://dev.to/n3wt0n/no-usable-version-of-the-libssl-was-found-solved-2ffa

Dacesilian commented 2 years ago

I have the same problem on Ubuntu 22.04 LTS. What can be done to successfully install Agent DVR? Thanks.

ispysoftware commented 2 years ago

https://www.reddit.com/r/ispyconnect/comments/ucbcsq/starting_agentdvr_on_ubuntu_2204_jammy_fails_due/

Dacesilian commented 2 years ago

https://www.reddit.com/r/ispyconnect/comments/ucbcsq/starting_agentdvr_on_ubuntu_2204_jammy_fails_due/

Yes, thank you, I've also found that and it's working: )

Mister-A commented 2 years ago

A potentially better fix.

Download the correct package for your arcitecture from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

And install with dpkg or gdebi.

ref: https://forum.unity.com/threads/workaround-for-libssl-issue-on-ubuntu-22-04.1271405/