Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
sino1641
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 

/opt/forticlient/epctrl

which returns

Starting epctrl...
Created default epctrl configuration
connect(127.0.0.1:45920): 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(127.0.0.1:45920): 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.

1 REPLY 1
AEK
SuperUser
SuperUser

Here epctrl is trying to connect to your localhost (127.0.0.1). 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

 

AEK
AEK
Announcements

Select Forum Responses to become Knowledge Articles!

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

Labels
Top Kudoed Authors