Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
akmal
New Contributor

FortiClient issues on MacOS

Hi there.

 

Having troubles using FortiClient on MacOS Version 14.0 (23A344).

Client console hangs in connecting state and doesn't do anything else.

fctc.log file is filled with errors opening message db.

Uninstall/install and Mac restarts didn't help.

Using FortiClient VPN 7.2.2.0776

 

Please let me know how to fix this issue.

 

20231011 23:15:35.732 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:15:35.735 TZ=+0500 [AD:INFO] ad_utils:417 Could not retrieve domain. Using cached info if it exists
20231011 23:15:35.735 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:15:35.841 TZ=+0500 [DB:EROR] db_api:76 DB select query failed, SELECT MAX(CAST(scanId AS INTEGER)) FROM VulHistory_V3, message is: (null), status is: 7
20231011 23:15:35.841 TZ=+0500 [DB:EROR] db_api:76 DB select query failed, SELECT COUNT(*), severity, severity_priority(severity) FROM VulHistory_V3 WHERE scanId = -2 AND (vulStatus IS NULL OR (vulStatus != 1 AND vulStatus != 4)) GROUP BY severity ORDER BY severity_priority(severity);, message is: (null), status is: 7
20231011 23:15:35.841 TZ=+0500 [DB:EROR] db_api:76 DB select query failed, SELECT MAX(CAST(scanId AS INTEGER)) FROM VulHistory_V3, message is: (null), status is: 7
20231011 23:15:35.841 TZ=+0500 [DB:EROR] db_api:76 DB select query failed, SELECT COUNT(*) FROM VulHistory_V3 a,VulAttr b WHERE a.vulId=b.vulId AND b.vulAttrType=1 AND vulStatus=3 AND scanId = -2;, message is: (null), status is: 7
20231011 23:15:40.965 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:15:45.989 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:15:50.985 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:15:55.982 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:16:00.992 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:16:05.987 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:16:10.985 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:16:15.987 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file
20231011 23:16:20.987 TZ=+0500 [sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file

 

 

9 REPLIES 9
hbac
Staff
Staff

Hi @akmal,

 

Are you using SAML authentication? Can you try a different FortiClient version?

 

Regards,

ndumaj
Staff
Staff

Hi @akmal,

 

Is the FCT managed by EMS?
Only this MAC OS version is affected?

 

Regards,

- Happy to help, hit like and accept the solution -
mle2802
Staff
Staff

Hi @akmal,

Can you try to follow this document and make sure everything is properly configured on MAC "https://docs.fortinet.com/document/forticlient/7.2.2/macos-release-notes/223986/special-notices"

Regards,
Minh

akmal
New Contributor

Hi!


No, just using a login/password mode. No SAML or other integrations. Tried to lower 7.xx version, didn't help.

Verified all security preferences listed in the reference doc. It all looks correct.

The only thing, I didn't find anything in Added Extensions settings.

The FortiClient Tray icon is successfully loaded though.

 

When I try to connect, it's just stuck saying connecting. I don't see any network requests from forticlient.

I checked all my LittleSnitch rules and everything related to FortiClient software are allowed to access the network.

 

Thanks.

 

image.png

image.png

 
 

 

 

Gauri
New Contributor

Dear Team,

 

 from the macOS, if the Remote Gateway is configured as IP, the VPN is connecting, however if the Remote Gateway is configured as domain, the VPN is not connecting and getting an error 'state fatal decode error
ssl_ accept failed, 1: unexpected EOF while reading

 

Please check and connact u us

akmal
New Contributor

Hi!

 

Any updates? Can you help?

billyolvestad
New Contributor

I have exactly the same problem, but in Ventura (13.6).

 

I have tried all different sub-versions of version 7 of FortiClient VPN, and the same happens.

I have tried every solution I can find online in forums, and checked all the security settings, unistalled the antivirus (SentinelOne) that we have, restarted a number of times, but nothing works.

 

I have looked in the log files for FortiClient, and the system and found the following

 

FortiTray	os_unix.c:46922: (2) open(/Library/Application Support/Fortinet/FortiClient/data/endpoint_message.db) - No such file or directory


[sqlite3:EROR] sqlite3_util:46 error opening message db: unable to open database file

[LIBAVENG:EROR] av_api:316 failed to load /Library/Application Support/Fortinet/FortiClient/bin/libav.dylib: No such file or directory

[update:EROR] fcn_upgrade:1269 failed to load av engine /Library/Application Support/Fortinet/FortiClient/bin/libav.dylib

[FortiTray:EROR] ConfigManager.swift:1749 Data corrupted: Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Cannot parse a NULL or zero-length data" UserInfo={NSDebugDescription=Cannot parse a NULL or zero-length data}))

 

In these folders, the files it is looking for is missing. It seems like the install is not complete.

We have the same problem on two computers.

GrayMatter
New Contributor

I just worked through this same issue this morning.  Initially, I had no issues with 7.2.1 on Sonoma 14.0, but when I upgraded to 14.1 (23B73), I upgraded to FortiClient VPN 7.2.2 and it quit working at that time with the same unable to open database file error.

 

I followed the Fortinet MacOS special notice and confirmed that systemextensionsctl showed all of the Fortinet extensions showed as [Active Enabled] but still nothing worked even after multiple uninstalls and reinstalls of various versions.

 

The way I was able to get it to work was to change my system startup security level to reduced security and allow user management of kernel extensions.

 

Steps to fix that worked for me.

1) have the client installed and broken with the db error and extensions showing as enabled. (May not be necessary to be in this situation)

2) open system preferences - go to Privacy and Security and click on Enable System Extensions.

3) Follow directions to change system startup security level to reduced security and check box to allow user management of kernel extensions.

4) Uninstall and reinstall FortiClient VPN - It is now able to prompt you to allow it to add VPN profiles during the install.

 

Screenshot 2023-10-25 at 08.55.49.pngScreenshot 2023-10-25 at 08.56.08.png

For me, the client functioned correctly after this. Next step will be to test if it continues to work after re-enabling the high startup system security setting.

 

JacobvP

When I go try to execute step 2 from the guide above, I don't get that button that says 'Enable System Extensions'. (MacOS 14.0, M2 Pro Chip)
So I am stuck with a non-working version

Labels
Top Kudoed Authors