-
Notifications
You must be signed in to change notification settings - Fork 346
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
[Bug] has invalid keys: data_providers, servers #803
Comments
open /etc/mosdns/hosts: no such file or directory |
I had the same issue in version 5.3.1 |
报错提示已经很明显了“open /etc/mosdns/hosts: no such file or directory”,都不看日志或者前面我的回答的吗? |
在提交之前,请确认
mosdns 版本
几乎最新版本
操作系统
ubuntu
Bug 描述和复现步骤
2024-03-20T13:57:26.474Z INFO working directory changed {"path": "/etc/mosdns"}
Error: fail to load config, failed to unmarshal config: 1 error(s) decoding:
'' has invalid keys: data_providers, servers
2024-03-20T13:57:26.478Z FATAL fail to load config, failed to unmarshal config: 1 error(s) decoding:
'' has invalid keys: data_providers, servers
2024-03-20T14:05:57.139Z INFO working directory changed {"path": "/etc/mosdns"}
2024-03-20T14:05:57.142Z INFO main config loaded {"file": "/etc/mosdns/config.yaml"}
Error: failed to init plugin [BUG]OpenWrt 服务脚本不能启动程序 #4 hosts, failed to init plugin: failed to read file #0 /etc/mosdns/hosts, open /etc/mosdns/hosts: no such file or directory
2024-03-20T14:05:57.144Z FATAL failed to init plugin [BUG]OpenWrt 服务脚本不能启动程序 #4 hosts, failed to init plugin: failed to read file #0 /etc/mosdns/hosts, open /etc/mosdns/hosts: no such file or directory
2024-03-20T14:15:23.744Z INFO working directory changed {"path": "/etc/mosdns"}
2024-03-20T14:15:23.747Z INFO main config loaded {"file": "/etc/mosdns/config.yaml"}
2024-03-20T14:17:45.469Z INFO working directory changed {"path": "/etc/mosdns"}
2024-03-20T14:17:45.471Z INFO main config loaded {"file": "/etc/mosdns/config.yaml"}
使用的配置文件
mosdns 的 log 记录
The text was updated successfully, but these errors were encountered: