Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor

Unable to use forticlient on linux cli

I am new to use this software and I can login via a EMS on a WIndows device but I want to use it on another linux device with only command line interface.

I am using forticlient 6.4 on centos 7. According to the manual, I tried 


which returns

Starting epctrl...
Created default epctrl configuration
connect( error Connection refused

So I tried 

/opt/forticlient/epctrl -u

But I don't know the password of this default EMS

Failed to connect to confighandler: connect( error Connection refused
Failed to unregister from EMS:

Also, there is no way to uninstall via yum as the software may have some way to protect itself.

What can I do to solve the issue? Thanks for your help.


Here epctrl is trying to connect to your localhost ( If you want to connect to EMS you should use it that way:

sudo epctrl -r <EMS_IP> -p <port>


You should be able to remove the package this way:

sudo yum remove forticlient



Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors