Skip to main content
sino1641
New Member
August 17, 2022
Question

Unable to use forticlient on linux cli

  • August 17, 2022
  • 1 reply
  • 2466 views

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

AEK
SuperUser
SuperUser
August 17, 2022

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
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.