Proxy Agent Uninstall Guide
This page explains how to uninstall a Proxy Agent that you installed using the binary distribution or the High-Volume Agent (HVA) installer.
Before you uninstall the Proxy Agent, make sure no connection or destination uses it.
Uninstall Proxy Agent installed using the binary distribution
If you installed the Proxy Agent using the High-Volume Agent installer (in the hvr_home and hvr_config directories), follow the Uninstall Proxy Agent installed using the High-Volume Agent installer instructions instead.
If you plan to reinstall the Proxy Agent later, we recommend making a copy of the Proxy Agent configuration file (PROXY_HOME/config/proxyagent.conf) located on the Proxy Agent machine before you uninstall. Backing it up preserves the existing Proxy Agent configuration.
- If you use the embedded certificate method (the default), this also preserves the certificates used to establish secure communication with Fivetran.
- If you use the KeyStore method instead, back up your KeyStore file separately, since your certificate and private key are not stored in the configuration file.
This lets you quickly restore the configuration if you reinstall the Proxy Agent or need to revert to an earlier version, without having to generate a new Proxy Agent configuration file.
Stop the Proxy Agent service:
sudo systemctl stop fivetran_proxy.serviceDisable the service from auto-starting at boot:
sudo systemctl disable fivetran_proxy.serviceRemove the service configuration file:
sudo rm /etc/systemd/system/fivetran_proxy.serviceReload the systemd manager configuration:
sudo systemctl daemon-reloadClear the systemd state for any failed services:
sudo systemctl reset-failed(Optional) Delete the
PROXY_HOMEdirectory. If you stored your KeyStore file inPROXY_HOMEand plan to reuse it, copy it somewhere safe first.(Optional) Delete the Proxy Agent configuration from your account. In the Fivetran dashboard, go to Account Settings > General > Connection Methods > Proxy Agents. Open the Proxy Agent you want to delete, then click Actions and select Delete agent.
Ensure that no Windows Services management console applications (opened by running services.msc) are running.
Run the following commands as an Administrator to stop the Proxy Agent service and remove it. Replace
FivetranProxyAgentwith your service name if you used a custom name:%PROXY_HOME%\prunsrv.exe //SS//FivetranProxyAgent %PROXY_HOME%\prunsrv.exe //DS//FivetranProxyAgent(Optional) Delete the
PROXY_HOMEdirectory. If you stored your KeyStore file inPROXY_HOMEand plan to reuse it, copy it somewhere safe first.(Optional) Delete the Proxy Agent configuration from your account. In the Fivetran dashboard, go to Account Settings > General > Connection Methods > Proxy Agents. Open the Proxy Agent you want to delete, then click Actions and select Delete agent.
Uninstall Proxy Agent installed using the High-Volume Agent installer
If you installed the Proxy Agent using the HVA installer, its files are in the hvr_home/proxy and hvr_config/proxy directories. The configuration file is hvr_config/proxy/proxyagent.conf.
Stop, disable, and remove the Proxy Agent service:
sudo systemctl stop fivetran_proxy.service sudo systemctl disable fivetran_proxy.service sudo rm /etc/systemd/system/fivetran_proxy.service sudo systemctl daemon-reload sudo systemctl reset-failed(Optional) Delete the old Proxy Agent files. See Delete the old Proxy Agent files.
(Optional) Delete the Proxy Agent configuration from your account. In the Fivetran dashboard, go to Account Settings > General > Connection Methods > Proxy Agents. Open the Proxy Agent you want to delete, then click Actions and select Delete agent.
Open the Services console (
services.msc), locate the Fivetran Proxy Agent service, and note its service name. The EXE installer names the serviceFivetranProxyPrunsrv_<HASH>, and the ZIP installation names itFivetranProxy_<HASH>. Close the Services console before you continue.Run the following commands as an Administrator to stop the service and remove it. Replace
<service_name>with the service name you noted:sc stop <service_name> sc delete <service_name>(Optional) Delete the old Proxy Agent files. See Delete the old Proxy Agent files.
(Optional) Delete the Proxy Agent configuration from your account. In the Fivetran dashboard, go to Account Settings > General > Connection Methods > Proxy Agents. Open the Proxy Agent you want to delete, then click Actions and select Delete agent.
Delete the old Proxy Agent files
Removing the service doesn't delete the Proxy Agent files.
- If the High-Volume Agent uses the same
hvr_homeandhvr_configdirectories, delete only thehvr_home/proxyandhvr_config/proxysubdirectories. Keep the rest of the directories, because the High-Volume Agent still needs them. - If you don't use the High-Volume Agent, you can delete the
hvr_home,hvr_config, andhvr_tmpdirectories.