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] Libreqos Unable to start, Error: No such file or directory (os error 2) #429

Closed sgnsys3 closed 11 months ago

sgnsys3 commented 1 year ago

Hi

After installing on a fresh installation of ubuntu 22.04 libreqos is not working due to an error

× lqosd.service
     Loaded: loaded (/etc/systemd/system/lqosd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-12-01 11:10:48 UTC; 1min 23s ago
    Process: 1041 ExecStart=/opt/libreqos/src/bin/lqosd (code=exited, status=1/FAILURE)
   Main PID: 1041 (code=exited, status=1/FAILURE)
        CPU: 471ms

Dec 01 11:10:47 ubuntu systemd[1]: lqosd.service: Failed with result 'exit-code'.
Dec 01 11:10:48 ubuntu systemd[1]: lqosd.service: Scheduled restart job, restart counter is at 5.
Dec 01 11:10:48 ubuntu systemd[1]: Stopped lqosd.service.
Dec 01 11:10:48 ubuntu systemd[1]: lqosd.service: Start request repeated too quickly.
Dec 01 11:10:48 ubuntu systemd[1]: lqosd.service: Failed with result 'exit-code'.
Dec 01 11:10:48 ubuntu systemd[1]: Failed to start lqosd.service.

Journalctl outpu

Dec 01 11:10:39 ubuntu systemd[1]: Started lqosd.service.
Dec 01 11:10:42 ubuntu lqosd[633]: [2023-12-01T11:10:42Z WARN  lqos_sys::lqos_kernel] Attached in SKB compatibility mode. (Not so fast)
Dec 01 11:10:42 ubuntu lqosd[633]: Error: No such file or directory (os error 2)
Dec 01 11:10:42 ubuntu systemd[1]: lqosd.service: Main process exited, code=exited, status=1/FAILURE
Dec 01 11:10:42 ubuntu systemd[1]: lqosd.service: Failed with result 'exit-code'.

OS: Ubuntu 22.04.3 LTS Kernel: 5.15.0-89-generic Installation Method: Simple (apt install libreqos) Version: 1.4

Does anyone facing this issue ?

sgnsys3 commented 12 months ago

I've try to start with more verbose output

[2023-12-06T08:50:36Z INFO  lqosd] LibreQoS Daemon Starting
[2023-12-06T08:50:37Z INFO  lqos_sys::lqos_kernel] Unloading XDP/TC
[2023-12-06T08:50:37Z INFO  lqos_sys::lqos_kernel] Attached in driver mode. (Fast)
[2023-12-06T08:50:37Z INFO  lqos_sys::cpu_map] xps_setup
[2023-12-06T08:50:37Z INFO  lqos_sys::lqos_kernel] Unloading XDP/TC
[2023-12-06T08:50:37Z INFO  lqos_sys::lqos_kernel] Unloading XDP/TC
Error: No such file or directory (os error 2)
thebracket commented 12 months ago

You need a network card that supports multiple Rx/tx queues.

On Wed, Dec 6, 2023, 2:51 AM Pureewat Kaewpoi @.***> wrote:

I've try to start with more verbose output

[2023-12-06T08:50:36Z INFO lqosd] LibreQoS Daemon Starting [2023-12-06T08:50:37Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC [2023-12-06T08:50:37Z INFO lqos_sys::lqos_kernel] Attached in driver mode. (Fast) [2023-12-06T08:50:37Z INFO lqos_sys::cpu_map] xps_setup [2023-12-06T08:50:37Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC [2023-12-06T08:50:37Z INFO lqos_sys::lqos_kernel] Unloading XDP/TC Error: No such file or directory (os error 2)

— Reply to this email directly, view it on GitHub https://github.com/LibreQoE/LibreQoS/issues/429#issuecomment-1842449337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRU435MQ3XB73RKAAKIEM3YIAW27AVCNFSM6AAAAABACVTOO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGQ2DSMZTG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sgnsys3 commented 12 months ago

@thebracket Thanks for reply my question

I install Ubuntu in QEMU (GNS3 with virtio nic for lab testing) and I've seen server requirements that say "Using Virtio / bridging is much slower than NIC passthrough. Virtio / bridging should not be used for large amounts of traffic."

Is virtio nic still support ?

thebracket commented 12 months ago

Virtio works, but you have to configure it to have multiple tx/rx queues. It's not as fast as passing through an actual NIC, but it does work.

On Wed, Dec 6, 2023, 10:42 AM Pureewat Kaewpoi @.***> wrote:

@thebracket https://github.com/thebracket Thanks for reply my question

I install Ubuntu in QEMU (GNS3 with virtio nic) and I've seen server requirements that say "Using Virtio / bridging is much slower than NIC passthrough. Virtio / bridging should not be used for large amounts of traffic."

Is virtio nic still support ?

— Reply to this email directly, view it on GitHub https://github.com/LibreQoE/LibreQoS/issues/429#issuecomment-1843267932, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRU435YIISTOQNUUCYX4ZDYICOAXAVCNFSM6AAAAABACVTOO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGI3DOOJTGI . You are receiving this because you were mentioned.Message ID: @.***>

sgnsys3 commented 11 months ago

@thebracket Thanks for information I think I can close this issue