-
Notifications
You must be signed in to change notification settings - Fork 504
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
设备重启后ADH不能正常启动和重定向 #134
Comments
我也遇到了,凑合解决办法是禁止AdGuardHome服务自启,rc.local中加入“service AdGuardHome start”命令。 不过我现在不用luci-app-adguardhome了,启动脚本搞的很复杂改一大堆设置,其实我只需要启动adguardhome程序。 |
我也遇到了同样的问题。 |
看了一下 https://github.com/rufengsuixing/luci-app-adguardhome/blob/master/root/etc/init.d/AdGuardHome#L492 似乎是启动脚本里面写死了“/usr/bin/AdGuardHome/AdGuardHome”这个路径用来在开机启动的时候判断程序是否启动成功,但是现在的路径默认是“/usr/bin/AdGuardHome”,导致误判断把AdGuardHome配置给重置并关掉了。 解决: |
binpath '/usr/bin/AdGuardHome/AdGuardHome' |
是的我也遇到了这个情况。但是小白不太会用命令行。 |
遇到了类似的问题。附上日志 2022/12/16 16:13:23.203843 [fatal] initing hosts container: hosts container: path at index 0: stat etc/hosts: os: DirFS with empty root |
编辑
原因是os库升级了,默认不带 |
这是高手! |
MT7981的OPENWRT路由器,我是96年开始玩486电脑的老年人,做过一点A51,C51,一直在WIN平台转,今年才开始学习LINUX和OPENWRT。 |
建议学习下这篇文章。 |
提交之前
在你提交问题之前请回答以下问题
你可以删掉提交之前这个部分
问题详细信息
核心版本:v0.108.0
核心版本:v0.108.0
OpenWrt R22.4.1
希望的执行结果
在设备重启后ADH能正常运行
实际的执行结果
设备重启后刚开始时ADH能正常运行和重定向,随后自动关闭,手动启动后ADH的配置一切正常
日志(重要)
系统日志:user.notice root: AdGuardHome no process in 10s cancel redirect
ADH日志:[info] Received signal "hangup"
截图
截图:
更多的信息
此问题好像只在ADH设置为替换dnsmasq模式时才会出现
The text was updated successfully, but these errors were encountered: