Created on
09-13-2024
06:02 AM
Edited on
06-18-2025
05:22 AM
By
Jean-Philippe_P
Description | This article describes some examples of issues that cause synchronization failures between FortiNAC managers and servers. |
Scope | FortiNAC-M, FortiNAC-F. |
Solution |
The FortiNAC Manager is used in large deployments in order to act a centralized node for managing Multiple FortiNAC servers.
In many cases, the Synchronization process with the managed FortiNAC appliances can fail due to misconfiguration, database issues, separate upgrades of FortiNAC servers, or DNS issues. To troubleshoot these cases, enable the following commands in the FortiNAC Manager CLI:
diagnose tail -F output.master
After this, perform a manual synchronization to the problematic FortiNAC Server through the GUI. Log messages printed out will provide information about the cause of the issue.
Example 1. Sync failed to replace Role ID.
syncPersistentObject(GlobalObjectManager.java:1572)
Solution: During a Maintenance window, perform the following actions (take a VM snapshot of both the Server and FortiNAC Manager in case a rollback is needed):
Example 2. Duplicate entry 'Policy_XYZ' for key 'UNIQUE_NAME'.
yams SEVERE :: 2024-09-04 02:29:39:333 :: #665 :: org.hibernate.engine.jdbc.spi.SqlExceptionHelper ERROR :: 2024-09-04 02:29:39:333 :: #665 :: (conn=24) Duplicate entry 'ISOLATE' for key 'UNIQUE_NAME' yams SEVERE :: 2024-09-04 02:29:39:337 :: #665 :: org.hibernate.engine.jdbc.batch.internal.BatchingBatch ERROR :: 2024-09-04 02:29:39:337 :: #665 :: HHH000315: Exception executing batch [could not execute batch]
Solution: In a Maintenance window, perform the following actions (take a VM snapshot of both the Server and FortiNAC Manager in case a rollback is needed):
Example 3. No route to host (Host unreachable).
java.rmi.RemoteException: Error in REST RPC. target=JerseyWebTarget { https://192.168.0.20:8443/api/v2/rpc/method-call }; No route to host (Host unreachable)
Solution: This is a network issue or an external change in the hops between the Server and FortiNAC Manager. The routing and network configuration need to be fixed.
Example 4. Error in REST RPC / HTTPException.
yams SEVERE :: 2024-02-13 14:47:12:688 :: #551 :: java.rmi.RemoteException: Error in REST RPC. target=JerseyWebTarget { https://192.168.0.20:8443/api/v2/rpc/method-call }; nested exception is: javax.xml.ws.http.HTTPException .
Or:
yams SEVERE :: 2025-05-10 05:31:45:120 :: #283 :: java.rmi.RemoteException: Error in REST RPC. target=JerseyWebTarget { https://lab-ca.lab.com:8443/api/v2/rpc/method-call }; nested exception is:
Solution: This is likely a DNS resolution issue. FortiNAC Manager and the CA servers cannot resolve the FQDN to an IP. The production DNS server configuration should be checked, and the necessary A records should be added if they are missing.
Example 5. 'Name HibernateServer not found'.
Attempting to display globaloptions or enabling debugs in the FortiNAC CLI will show the following errors:
Solution: Management processes have not yet started on the FortiNAC Manager. Either the services are down, or the manager is in a startup process. Check the output.master for error logs. Make sure the license is valid, that FortiNAC can reach the internet, and that FortiNAC is configured with the minimum system resources as per page 14 of the data sheet: FortiNAC FortiNAC F Series Hardware, VM, and Endpoint Licenses.
Solution: This is a network issue or an external change in the hops between the Server and FortiNAC Manager. The routing and network configuration need to be fixed.
execute tcpdump -i any host <FortiNAC-CA - IP>
From FortiNAC-CA CLI:
execute tcpdump -i any host <FortiNAC-M - IP>
Other issues seen when adding Servers to FortiNAC Manager:
Solution:
In the CLI, enter:
rm /bsc/campusMgr/.licenseKeyNCM
restartNAC
Note: After applying a new license to the manager, its serial number may change. As a result, the CAs can not communicate or can not be added back to the manager. To solve this issue, the serial number of the manager that was configured in each CA needs to be changed.
From the CLI of the CA, run the following commands:
execute enter-shell globaloptiontool -name security.allowedserialnumbers
globaloptiontool -name security.allowedserialnumbers -setRaw "FNVX-MTM250----NEW" Value set. Old value was: FNVX-MTM240----OLD
Logs in the output.master:
yams INFO :: 2023-11-02 17:24:56:192 :: #133 :: 192.168.0.7 incompatible CM version. yams INFO :: 2023-11-02 17:24:56:192 :: #133 :: Incompatible NAC server version.
A possible cause of this error is provided in the following article: Troubleshooting Tip: Unable to add servers to the FortiNAC Manager. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.