Skip to main content
vraev
Staff
Staff
Nov 4, 2026 10:44 AM UTC

How to resolve "PH_DATAPURGER_CMD_FAILURE" (via SSH with admin key to nodeX)

Description

Steps to resolve a "PH_DATAPURGER_CMD_FAILURE" error where FortiSIEM does not have access to another node.

Scope

FortiSIEM.

Solution


When the following errors are encountered:

phReportMaster[308936]: [PH_REPORT_FILE_RSYNC_FAILED]:[eventSeverity]=PHL_ERROR,[procName]=phReportMaster,[fileName]=ProfileHandler.cpp,[lineNumber]=474,[srcFilePath]= (001ë©•,[targetHostName]=172.20.28.171,[errorNoInt]=0,[phLogDetail]=Failed to rsync file


Or:

phReportMaster[185480]: [PH_DATAPURGER_CMD_FAILURE]:[eventSeverity]=PHL_ERROR,[procName]=phReportMaster,[fileName]=phMiscUtils.cpp,[lineNumber]=4974,[command]=/usr/bin/ssh -i ~admin/.ssh/id_rsa admin@'172.20.28.171' rm -rf '/opt/phoenix/cache/profile.db-shm',[errorNoInt]=255,[phLogDetail]=Failed to run command


Use this on Super leader:

su admin -

ssh -i ~admin/.ssh/id_rsa admin@Super_node2_IP


Or:

ssh -i ~admin/.ssh/id_ed25519 admin@Super_node2_IP


It should not work.

To fix it:

On Super_node1:

cat ~admin/.ssh/id_rsa.pub


Or:

cat ~admin/.ssh/id_ed25519pub


Copy the output.


On Super_node2:

vi ~admin/.ssh/authorized_keys


Paste the output.

chmod 700 ~admin/.ssh

chmod 600 ~admin/.ssh/authorized_keys

chown -R admin:admin ~admin/.ssh


Repeat the same steps from Node2 to Node1. Test again.

If the .ssh directory is missing, use the following steps to create the keys.

ssh-keygen


  • Do not enter the a filename (leave the default /opt/phoenix/bin/.ssh/id_ed25519).

  • Do not enter a passphrase (leave it blank).


This will create the public and private keys:

~/.ssh/id_rsa – private key


Or:

~/.ssh/id_ed25519  


~/.ssh/id_rsa.pub – public key


Or:

~/.ssh/id_ed25519.pub


For manual sync, see the steps in How to setup Disaster Recover mode with verification steps.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024