LibreQoE / LibreQoS

A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
https://libreqos.io/
GNU General Public License v2.0
464 stars 50 forks source link

[LibreQoS 1.4] - lqosd not running #427

Closed reinaldosaraiva closed 4 weeks ago

reinaldosaraiva commented 1 year ago

I'm trying to install and configure libreqos 1.4 on Ubuntu 22.04, but I'm not succeeding. It shows the following error: Nov 27 18:03:59 CNE1A-SRV-0051 lqosd[1182783]: [2023-11-27T18:03:59Z INFO lqosd] LibreQoS Daemon Starting Nov 27 18:03:59 lqosd[1182783]: [2023-11-27T18:03:59Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC Nov 27 18:03:59 lqosd[1182783]: [2023-11-27T18:03:59Z WARN lqos_sys::lqos_kernel] Attached in SKB compatibility mode. (Not so fast) Nov 27 18:03:59 lqosd[1182783]: [2023-11-27T18:03:59Z INFO lqos_sys::cpu_map] xps_setup Nov 27 18:03:59 lqosd[1182783]: [2023-11-27T18:03:59Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC Nov 27 18:03:59 lqosd[1182783]: [2023-11-27T18:03:59Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC Nov 27 18:03:59 lqosd[1182783]: Error: No such file or directory (os error 2) Nov 27 18:03:59 systemd[1]: lqosd.service: Main process exited, code=exited, status=1/FAILURE Nov 27 18:03:59 systemd[1]: lqosd.service: Failed with result 'exit-code'. Nov 27 18:03:59 systemd[1]: lqosd.service: Scheduled restart job, restart counter is at 5. Nov 27 18:03:59 systemd[1]: Stopped lqosd.service. Nov 27 18:03:59 systemd[1]: lqosd.service: Start request repeated too quickly. Nov 27 18:03:59 systemd[1]: lqosd.service: Failed with result 'exit-code'. Nov 27 18:03:59 systemd[1]: Failed to start lqosd.service.

cat /etc/netplan/50-cloud-init.yaml network: bonds: bond0: interfaces:

End of File

cat /etc/lqos.conf lqos_directory = '/opt/libreqos/src' queue_check_period_ms = 1000 node_id = "28f6305d-577e-4556-8e85-88d2f0e365b3"

[tuning] stop_irq_balance = true netdev_budget_usecs = 8000 netdev_budget_packets = 300 rx_usecs = 8 tx_usecs = 8 disable_rxvlan = true disable_txvlan = true disable_offload = [ "gso", "tso", "lro", "sg", "gro" ]

[bridge] use_xdp_bridge = true interface_mapping = [ { name = "bond2.709", redirect_to = "bond1.708", scan_vlans = false }, { name = "bond1.708", redirect_to = "bond2.709", scan_vlans = false } ] vlan_mapping = []

[usage_stats] send_anonymous = false anonymous_server = "stats.libreqos.io:9125"

interduo commented 12 months ago

XDP doesn't work on bond devices as I remember.