Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.15k stars 557 forks source link

Tried to install meshagent on a couple of Mac devices - iMacs, Mac mini and 2 MacBook Pro's #4206

Open cv9600 opened 2 years ago

cv9600 commented 2 years ago

The installs failed with out error on package install, and on cli I did see error show below. As a note these Mac devices are mostly 10.12 / 10.13.

When I when to install clients to Mac devices, I downloaded the mac version of the meshagent on to all the mac's listed above. I stepped through the install on each one. I have tried installing it via the package (MeshAgent.zip \ MeshAgent.mpkg).

I would never see anything after running the package.. even after adjusting security to run.

or the following:

Download the mpkg Run it on the machine manually Allow it in Security -> General

Open Terminal, go to the /usr/local/mesh_services/meshagent/ folder

run sudo ./meshagent_osx64

.... which returned the following...

SyntaxError: invalid json (at offset 1)
Connecting to: wss://mesh.xxxxxxxxxxxxxxx.com:443/agent.ashx
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/mesh_services/meshagent/./meshagent_osx64 (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/mesh_services/meshagent/./meshagent_osx64 (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
Abort trap: 6

I typed sudo ./meshagent_osx64 -info ... for the following from one of the devices...

Compiled on: 16:31:34, Mar 25 2022
Commit Hash: 9e4be92cd8658f786bbccc6e56d75f2a80ac6cb7
Commit Date: 2022-Mar-25 11:19:00-0700
Using OpenSSL 1.1.1n 15 Mar 2022
Agent ARCHID: 16
Detected OS: Mac OS X 10.13.6 - x64

For more info on issue, and what I have already tried please see the thread for help I started at: (r/MeshCentral)

https://www.reddit.com/r/MeshCentral/comments/vny7nd/installed_mesh_client_on_a_couple_of_imacs_mac/

cv9600 commented 2 years ago

I still haven't be able to load past the run sudo ./meshagent_osx64 command on OS X in version OS X 10.12 / 10.3 range. Seems to be an issue. Is there anything that I need to do to help you further check on this?

krayon007 commented 2 years ago

We are getting ready to release updated agents. It should have a fix for this particular issue. The issue was that when I compiled OpenSSL, I forgot to set the flag to target an older version of macOS. This new version, I compiled the latest version of OpenSSL and set the flag to target 10.5 as the minimum version.

RobPattonDotCom commented 2 years ago

When will the new client be avail, and how will I know I get/got them? I'm having problems with 3 macs, that might be related to this, but I dont wanna delete my ticket till I know for sure.