error: agctl: command not found
search cancel

error: agctl: command not found

book

Article ID: 436239

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • After upgrading the TCA Airgap appliance to version 3.4, agctl sync does not reliably complete the finalization step. 
    error: /usr/local/airgap/scripts/bin/check-readyz.sh: line 15: agctl: command not found

Environment

TCA: 3.4

TCP 5.1

Cause

The error is caused by a PATH Environment Mismatch

Resolution

  1. Execute the following command as a root user to permanently update the system path for all users and scripts:
    echo 'export PATH="$PATH:/usr/local/bin:/data/scripts/bin:/usr/local/airgap/scripts/bin"' > /etc/profile.d/agctl.sh && chmod +x /etc/profile.d/agctl.sh && source /etc/profile.d/agctl.sh

  2. After applying the fix, you can verify the path is active by running:
    command -v agctl