Hello all,
I am running Forticlient 7.2.2.0753 on RHEL 8. I have successfully installed it using the RPM but when I try to create a new profile, I get the error below. I have installed it as root (which is required) and am running this command as a different user as root is not allowed. This seems to be a permission error but there is no information to see where it is trying to write to, and my user has full access to its home directory. Does anyone know what might be wrong?
$ /opt/forticlient/fortivpn edit "CLI VPN"
Failed to set up FortiClient directories.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello Raven
Try use strace to check what the command is trying to create.
Thank you for the reply. I am somewhat familiar with strace but do not see anything of interest from it. Do you know what else I might try or what folders it is trying to create?
$ strace -f -e trace=write /opt/forticlient/fortivpn edit "CLI VPN"
write(2, "Failed to set up FortiClient dir"..., 43Failed to set up FortiClient directories.
) = 43
Try remove the write filter in your command to display all sys calls.
Hi, I found the same bugs. I tested the forticlient (forticlient_vpn_7.4.0.1636_amd64.deb) on Debian 12 and Ubuntu 22.04.
The forticlient command requires a non-root user to execute it. But it is not privileged to write /run/user/0/forticlient/fortivpn.pid.
Temporarily, I just roughly executed "chmod 777 /run/user/0 -R," and then the bug was fixed.
I recommend that the PID file be stored in /tmp, or allow the root user to configure and connect a VPN.
Hi,
did you manage to resolve this issue?
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1570 | |
1034 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.