curl and wget must be installed on Linux servers.The install command shows its progress in 5 steps:
[1/5] Checking administrator privileges / sudo access ... OK
[2/5] Checking existing installation .................... OK
[3/5] Connecting to <host>:<port> ....................... OK
[4/5] Downloading installer ............................. OK
[5/5] Installing FSO agent .............................. OK
If a step fails, it shows FAILED followed by an ERROR: message. Find that message in the table below.
Log file: if installation fails, fso_agent_register.log is kept in the folder where you ran the command. The device key is masked in this file, so it’s safe to share with Support. If the failure happens before Step 5 on Windows, no log file is created; use the message shown on screen.
| Error shown | Cause | Fix |
|---|---|---|
Run this script from an elevated PowerShell (Run as Administrator).or No sudo access. Run 'sudo -v' to authenticate, then re-run this script. | The install command was not run with administrator or root privileges. | Run the complete install command copied from the FSO Agent page:
|
ALREADY INSTALLED - nothing to door Uninstall the existing FSO agent and reinstall? [y/N] | An FSO Agent is already installed on this server. | No action is needed if the existing agent is working. To reinstall:
Existing FSO agent kept - nothing to do., the answer was No, or the command ran without an interactive terminal (for example from an automation tool). Run it from a terminal and answer y, or first uninstall with sudo /opt/applicationsmanager/monagent/bin/uninstall. |
Cannot reach <host>:<port>. Check the host, port and firewall. | The target server cannot connect to Applications Manager. Possible causes: the host name can’t be resolved from the target server, a firewall blocks the port, or the address in the command is wrong. |
|
Download failed … | The installer couldn’t be downloaded. Possible causes: wget isn’t installed (Linux: wget exit code 127); the FSO Agent bundle on Applications Manager doesn’t include the installer for this OS; or a proxy, firewall or TLS setting is blocking the download. |
|
Installation failed (msiexec exit code <n>). See <log>or Installer finished, but no FSO agent was found at /opt/applicationsmanager/monagent/bin/monagent. See <log> | The installation did not complete. | Open fso_agent_register.log and check:
|
… cannot be loaded because running scripts is disabled on this system. | The PowerShell execution policy blocks scripts. | In the same elevated PowerShell window, run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass and run the install command again. If the policy is set by Group Policy, contact your system administrator. |
WARNING: Could not send '<stage>' status to AppManager … | The install command couldn’t update its live status in Applications Manager. | You can ignore this; installation continues normally. If the FSO Agent page doesn’t show the correct status, generate a new install command next time. |
Email appmanager-support@manageengine.com with:
fso_agent_register.log, if it exists<Applications Manager Home>/logs/agent/server_agent.txt and server_agent_err.txt