MLBZ521 / MacAdmin

A collection of scripts and tools for managing Apple Devices
MIT License
166 stars 33 forks source link

Extension Attributes/jamf_ea_CrowdStrikeVersion.sh error bigsur #5

Closed mani2care closed 2 years ago

mani2care commented 3 years ago

Getting error in bigsur while sunning the script :

Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “status.bin” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Library/Application Support/CrowdStrike/Falcon/status.bin, NSUnderlyingError=0x7f980cc22740 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} sysctl: unknown oid 'cs.version'

Not Running
MLBZ521 commented 3 years ago

@mani2care Sorry, I did not get a notification for this.

I've made an update (v1.3.1) to this script since you submitted this issue, are you still seeing this error?

MLBZ521 commented 2 years ago

Feel free to re-open this issue if you're still experiencing it.

javaxxl commented 2 years ago

Hello, I also got the errors: Checking if Crowd Strike is installed... Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “status.bin” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Library/Application Support/CrowdStrike/Falcon/status.bin, NSUnderlyingError=0x600003b850b0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} sysctl: unknown oid 'cs.version' checkstrike.sh: line 27: /opt/ManagedFrameworks/EA_History.log: No such file or directory

Not Running

(base)

Could you please have a look.

MLBZ521 commented 2 years ago

@javaxxl I may need additional information to be able to assist on this. I haven't seen this error before first hand.

Which version of the script are you running? What versions of macOS are you experiencing this on? What sensor versions are you experiencing this on?

I did just add an easier method to disable the log locally functionality in v2.10.0 (f2b3f20). If you disable it, you will no longer see:

checkstrike.sh: line 27: /opt/ManagedFrameworks/EA_History.log: No such file or directory