Coder Social home page Coder Social logo

为什么aria2运行不了呀 about lede HOT 4 OPEN

Lemon1151 avatar Lemon1151 commented on July 19, 2024
为什么aria2运行不了呀

from lede.

Comments (4)

melodicule avatar melodicule commented on July 19, 2024

我猜你的系统日志里面有这样一行

daemon.err aria2: Please create download dir first.

查看你的aria2配置->文件和目录,确认指定的下载目录是否存在,目录的所有者是不是aria2

from lede.

qingtian110 avatar qingtian110 commented on July 19, 2024

因为 lede 的 feeds 太老旧,没人维护或同步。你的原因是 openssl 升级了 7494eb1

aria2 则需要 procd_add_jail_mount "/usr/lib" 才能运行在 openssl 3 上。

手动改下文件 /etc/init.d/aria2

添加这样的内容:sbwml/feeds_packages_net_aria2@cfaa722

就可以正常启动。

from lede.

f1owkang avatar f1owkang commented on July 19, 2024

因为 lede 的 feeds 太老旧,没人维护或同步。你的原因是 openssl 升级了 7494eb1

aria2 则需要 procd_add_jail_mount "/usr/lib" 才能运行在 openssl 3 上。

手动改下文件 /etc/init.d/aria2

添加这样的内容:sbwml/feeds_packages_net_aria2@cfaa722

就可以正常启动。

楼上正解,已验证成功

from lede.

poromony avatar poromony commented on July 19, 2024

因为 lede 的 feeds 太老旧,没人维护或同步。你的原因是 openssl 升级了 7494eb1

aria2 则需要 procd_add_jail_mount "/usr/lib" 才能运行在 openssl 3 上。

手动改下文件 /etc/init.d/aria2

添加这样的内容:sbwml/feeds_packages_net_aria2@cfaa722

就可以正常启动。

我这里还是不行,我是启用了ssl,证书和密钥直接用的uhttpd 的文件,之前都是正常的,最近一次编译后一直报错,系统日志如下:
Sun Jun 2 16:48:43 2024 daemon.info aria2c[27967]: jail: exec-ing /usr/bin/aria2c
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: Parse error in /mnt/nvme0n1p1/software/aria2/run_files/aria2.conf.main
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--rpc-certificate'.
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: -> [OptionHandlerImpl.cc:556] errorCode=1 Could not get file status: No such file or directory
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: Usage:
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: --rpc-certificate=FILE Use the certificate in FILE for RPC server.
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: The certificate must be in PEM format.
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: Use --rpc-private-key option to specify the
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: private key. Use --rpc-secure option to enable
Sun Jun 2 16:48:43 2024 daemon.err aria2c[27967]: encryption.
Sun Jun 2 16:48:43 2024 daemon.info aria2c[27967]: jail: jail (27968) exited with exit: 28

from lede.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.