Can’t open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted in imx6ull

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can’t open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted in imx6ull

1,172 次查看
Prial_03
Contributor III

Hello,
I am using imx6ull with yocto project. I want to interface VPN (openvpn) for that i used this reference link but i am unable to configure client.
following are the logs of systemctl status openvpn@client command:

× openvpn@client.service - OpenVPN Robust And Highly Flexible Tunneling Application On client
Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2024-09-04 05:55:05 UTC; 1h 3min ago
Process: 758 ExecStart=/usr/sbin/openvpn --daemon --writepid /run/openvpn/client.pid --cd /etc/openvpn/ --cipher AES-256-GCM --data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --c>
Main PID: 759 (code=exited, status=1/FAILURE)

Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On client...
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Can't open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On client.
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Main process exited, code=exited, status=1/FAILURE
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Failed with result 'exit-code'.

I checked ownership and permission mode of the directory and files everything seems perfeect.

0 项奖励
回复
2 回复数

1,120 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Do you try using "chmod" to change the permission of the file?

0 项奖励
回复

1,043 次查看
Prial_03
Contributor III

Hello @jimmychan 
Yes, i already tried that

0 项奖励
回复