Created on
03-08-2023
09:57 PM
Edited on
01-15-2026
01:54 PM
By
Jean-Philippe_P
| Description |
This article describes how to add a worker. It fails with:
Operation failed. to add worker caused by Socket Timeout: Connection refused (Connection refused).
Or:
Operation failed. error = Failed to add worker with error: Unknown code 1.
Or:
Operation failed. Error Socket channel has reached end of stream. |
| Scope | Supervisor cluster (FortiSIEM versions 6.4.x to 6.7.x) with NFS. |
| Solution |
nc -vz superIP 443
nc -vz workerIP 443
The correct output will look like the following:
root@FortiSIEM-Worker ~]# nc -vz 192.168.1.234 443 Ncat: Version 7.70 ( https://nmap.org/ncat ) Ncat: Connected to 192.168.1.234:443.
/FortiSIEM SupervisorIPAddress(rw,sync,no_root_squash) /FortiSIEM WorkerIPAddress(rw,sync,no_root_squash)
Installing NFS Server for FortiSIEM Event Storage
Note: NFSv4.2 is a newer version of the NFS protocol and it provides improved performance for large files, I/O-intensive workloads, and other additional features. While not all NFS servers may support NFSv4.2 yet, if the NFS server does support it, it is generally recommended to use it instead of NFSv4.1. To use NFSv4.2, it is necessary to change the mount option in the client’s /etc/fstab file to nfsvers=4.2.
Here is an example of this error:
Supervisor:
2023-02-24T14:45:35.196516-05:00 super phMonitorSupervisor[1152741]: [PH_MONITOR_NOTIFICATION_RETURN_FAILURE]:[eventSeverity]=PHL_ERROR,[procName]=phMonitorSupervisor,[fileName]=phMonitorProcess.cpp,[lineNumber]=11975,[destIpAddr]=10.40.40.100,[xmlBody]=<TEST_STORAGE type="nfs"><server_ip>10.40.40.3</server_ip><mount_point>/fortisiem</mount_point></TEST_STORAGE>,[errorNo]=18,[phLogDetail]=phNotification returns failure
Worker:
2023-02-24T14:45:35.196516-05:00 worker phMonitorWorker[2457]: [PH_UTIL_CMD_FAILURE]:[eventSeverity]=PHL_ERROR,[procName]=phMonitorWorker,[fileName]=phMonitorProcess.cpp,[lineNumber]=10679,[command]=python /opt/phoenix/deployment/jumpbox/datastore.py nfs test 10.40.40.3 /fortisiem online,[errorNoInt]=18,[phLogDetail]=Failed to run command
The following commands can be used to identify if the error is present:
grep PH_MONITOR_NOTIFICATION_RETURN_FAILURE /opt/phoenix/log/phoenix.log
grep PH_UTIL_CMD_FAILURE /opt/phoenix/log/phoenix.log
To troubleshoot the issue, follow these steps:
Mount the NFS share on the worker using the same method as specified in the super’s /etc/fstab file: mount -v -t nfs 10.40.40.3:/fortisiem /data.
Make sure there are no spaces before the brackets process and proceed to the next step.
Here is an example:
[root@FSIEM-Super~]# ls -l /data total 44 drwxrwxr-x 3 postgres postgres 4096 Mar 31 2022 archive drwxr-xr-x 2 root root 4096 Mar 31 2022 backup drwxr-xr-x 5 admin admin 4096 May 13 2022 cache drwxr-xr-x 2 postgres postgres 4096 Mar 31 2022 cmdb drwxr-xr-x 2 admin admin 4096 Jul 13 2022 custParser drwxrwxr-x 2 admin admin 4096 Dec 28 10:47 eventDataSum drwxr-xr-x 8 admin admin 4096 May 3 2022 eventdb drwxr-xr-x 2 admin admin 4096 Jun 17 2022 jmxXml drwxr-xr-x 2 admin admin 4096 Jun 17 2022 mibXml drwx------ 3 admin admin 4096 Mar 31 2022 precomputedb drwxr-xr-x 2 admin admin 4096 Mar 31 2022 reportdb
touch /data/test.txt
If the command failed, more likely that permission issues are present.
/etc/opsd/.fortisiem4x0.
|
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 2026 Fortinet, Inc. All Rights Reserved.