Solved: Error: Command failed: ping -w 1 -i 0.2 -c 3 192.168.2.1 ping: socket: Operation not permitted

Hi together, I am new to this forum, and also totally new to genieacs.
I have many problems, but first things first :slight_smile:
I am running genieacs on a Debian 11 LCX in Proxmox.
I added two devices, one of them is connected via ipsec, so I can ping the device from genieacs server konsole.
But in Webinterface I get this error message.
Error: Command failed: ping -w 1 -i 0.2 -c 3 192.168.2.1
ping: socket: Operation not permitted

Here you can see what happens from console:

root@geniacs:~# ping -w 1 -i 0.2 -c 3 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=254 time=6.04 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=254 time=6.18 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=254 time=5.95 ms

--- 192.168.2.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 401ms
rtt min/avg/max/mdev = 5.953/6.058/6.181/0.093 ms
root@geniacs:~# sudo -u genieacs ping -w 1 -i 0.2 -c 3 192.168.2.1
ping: socket: Operation not permitted
root@geniacs:~#

What is going wrong?

Thank you all for your work, and for your help.

It was a failure from Proxmox LXC
after

setcap cap_net_raw+p /bin/ping

It worked