Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么aria2运行不了呀 #12155

Open
1 task done
Lemon1151 opened this issue May 12, 2024 · 4 comments
Open
1 task done

为什么aria2运行不了呀 #12155

Lemon1151 opened this issue May 12, 2024 · 4 comments

Comments

@Lemon1151
Copy link

详细叙述

为什么aria2运行不了呀

重复 issue

  • 没有类似的 issue

具体型号

xioabao-nas 24.5.1

详细日志

DA78F2610178B5BA59DB68813AC3D83A

@melodicule
Copy link

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

daemon.err aria2: Please create download dir first.

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

@qingtian110
Copy link

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

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

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

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

就可以正常启动。

@f1owkang
Copy link

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

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

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

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

就可以正常启动。

楼上正解,已验证成功

@poromony
Copy link

poromony commented Jun 2, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants