PACLI error code 7 and 17

PACLI error code 7 and 17

91
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 15:53 PM


Symptom


Specific error and error codes returned by PACLI:

"Cannot communicate with PACLI server. Issue PACLI init. error code: 17"
"Cannot communicate with PACLI server. Issue PACLI init. error code: 7"



Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8 Privileged Access Manager (PAM, self-hosted) Vault Server Vault Server - PACLI

Cause


If, for whatever reason, the permission for one particular file residing under the PACLI installation directory, icudt58l.dat, is removed, the above error(s) will be thrown in PACLI execution.



Resolution


1. Ensure that the icudt58.dat file is present in the PACLI installation directory, e.g., "C:\PACLI-Rls-v11.7" folder. 

2. Ensure that Full permission is granted to the user running the PACLI commands (e.g., using CMD prompt) for the icudt58.dat file in the above folder. 

3. Ensure that the PACLI installation directory, e.g., "C:\PACLI-Rls-v11.7" is added to the %PATH% Environment Variable. 

4. Ensure the PATH environment variable for the process to include the path to the PACLI executable.
In order to ensure the PATH is correct before invoking the & .\Modules\PACLI\pacli.exe commands, the below can be used via Powershell:
$orgpath=[System.Environment]::GetEnvironmentVariable(“PATH”,[System.Environment]::Proces) [System.Environment]::SetEnvironmentVariable(“PATH”,”.\Modules\PACLI",[System.Environment]::Proces)

After the PACLI commands should finish with the Term no longer giving errors:
[System.Environment]::SetEnvironmentVariable(“PATH”,$orgpath,[System.Environment]::Proces)



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000r7cCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail