请教一个老毛子固件的 clash 的问题

2023-03-09 10:16:45 +08:00
 xuqiccr

启动的时候老是报“启动失败, 注意检 clash 是否下载完整,10 秒后自动尝试重新启动”😅
完整日志如下:
Mar 9 09:57:54 crond[7646]: crond (busybox 1.29.3) started, log level 8 Mar 9 09:57:54 [ file ] : 下载完成 /opt/bin/clash Mar 9 09:57:54 [ clash ] : 下载 premium (闭源版) 主程序: https://github.com/Dreamacro/clash/releases/tag/premium Mar 9 09:57:54 [ file ] : 找不到 /opt/bin/clash ,重新下载数据,请稍后 Mar 9 09:57:55 [ clash ] : 找不到 /opt/bin/clash ,安装 opt 程序 Mar 9 09:57:55 [ opt ] : opt 挂载正常:tmpfs Mar 9 09:57:55 [ clash ] : 下载 premium (闭源版) 主程序: https://github.com/Dreamacro/clash/releases/tag/premium Mar 9 09:57:55 [ file ] : 找不到 /opt/bin/clash ,重新下载数据,请稍后 Mar 9 09:57:57 crond[9557]: crond (busybox 1.29.3) started, log level 8 Mar 9 09:57:59 [ file ] : 下载完成 /opt/bin/clash Mar 9 09:58:01 crond[10272]: crond (busybox 1.29.3) started, log level 8 Mar 9 09:58:03 [ clash ] : 找不到 yq ,安装 opt 程序 Mar 9 09:58:03 [ opt ] : opt 挂载正常:tmpfs Mar 9 09:58:03 [ file ] : 找不到 /opt/bin/yq ,重新下载数据,请稍后 Mar 9 09:58:08 [ file ] : 下载完成 /opt/bin/yq Mar 9 09:58:10 [ clash ] : 初次启动会自动下载 geoip 数据库文件:/opt/app/clash/config/Country.mmdb Mar 9 09:58:10 [ clash ] : 备注:如果缺少 geoip 数据库文件会启动失败,需 v0.17.1 或以上版本才能自动下载 geoip 数据库文件 Mar 9 09:58:40 [下载] : 下载失败: [/opt/app/clash/config/Country.mmdb ] URL: [ https://gcore.jsdelivr.net/gh/alecthw/mmdb_china_ip_list@release/lite/Country.mmdb ] Mar 9 09:58:40 [下载] : 重新下载: [/opt/app/clash/config/Country.mmdb ] URL: [ https://opt.cn2qq.com/opt-file/Country.mmdb ] Mar 9 09:59:13 [下载] : 下载失败: [/tmp/checkmd5/7350 ] URL: [ https://gcore.jsdelivr.net/gh/alecthw/mmdb_china_ip_list@release/lite/Country.mmdb ] Mar 9 09:59:13 [下载] : 重新下载: [/tmp/checkmd5/7350 ] URL: [ https://opt.cn2qq.com/opt-file/Country.mmdb ] Mar 9 09:59:15 [下载] : 下载 [/opt/app/clash/config/Country.mmdb ] 成功,2 次下载 md5 匹配! [ https://gcore.jsdelivr.net/gh/alecthw/mmdb_china_ip_list@release/lite/Country.mmdb ] Mar 9 09:59:16 [ clash ] : 初始化 clash dns 配置 Mar 9 09:59:19 [ clash ] : 变更 clash dns 端口 listen 0.0.0.0:8053 跳过自动开启第三方 DNS 程序但是继续把 DNS 绑定到 8053 端口的程序 Mar 9 09:59:19 [ clash ] : 初始化 clash 配置 Mar 9 09:59:20 [ clash ] : 允许局域网的连接 Mar 9 09:59:20 [ clash ] : HTTP 代理端口:7890 Mar 9 09:59:21 [ clash ] : SOCKS5 代理端口:7891 Mar 9 09:59:22 [ clash ] : redir 代理端口:7892 Mar 9 09:59:22 [ clash ] : 删除 Clash 配置文件中原有的 DNS 配置 Mar 9 09:59:24 [ clash ] : 设置日志输出: error Mar 9 09:59:25 [ clash ] : 将 DNS 配置 /tmp/clash/dns.yml 以覆盖的方式与 /opt/app/clash/config/config.yaml 合并 Mar 9 09:59:25 [ clash ] : 初始化 clash 配置完成!实际运行配置:/opt/app/clash/config/config.yaml Mar 9 09:59:25 [ clash ] : 初始化 clash 双开 mixed 代理 Mar 9 09:59:30 [ clash ] : 初始化 clash 双开 配置完成!实际运行配置:/opt/app/clash/config2/config.yaml Mar 9 09:59:30 [ clash ] : 代理 TCP 和 UDP 流量 Mar 9 09:59:30 [ clash ] : 启动路由自身流量走透明代理 Mar 9 09:59:30 [ clash ] : 运行 /opt/bin/clash Mar 9 09:59:32 [ clash ] : 启动失败, 注意检 clash 是否下载完整,10 秒后自动尝试重新启动

4335 次点击
所在节点    问与答
21 条回复
Lqxc
2023-03-09 10:38:17 +08:00
看看 /opt/bin/clash 这个文件是否存在?
ysc3839
2023-03-09 10:45:05 +08:00
tmpfs 内存不足了吧,不过我也不确定内存不足会不会自动删文件
xuqiccr
2023-03-09 10:56:50 +08:00
@Lqxc #1 是有的
zenze
2023-03-09 11:03:26 +08:00
手工下载 然后放进去
pista
2023-03-09 11:29:30 +08:00
governcoco
2023-03-09 12:55:38 +08:00
重启试试
ITisCool
2023-03-09 13:26:31 +08:00
前几天遇到过,情况是最近新版的 clash 废弃掉了一个 dns 选项,改一下为 enhanced-mode: fake-ip 就行了
xuqiccr
2023-03-09 13:31:20 +08:00
@ITisCool #7 🐂🍺,果然好了!
xuqiccr
2023-03-09 14:31:49 +08:00
@ITisCool #7 大佬!在配置中加了 enhanced-mode: fake-ip 之后启动成功了,但是 clash web 管理页面打开是一片空白,访问 google 是响应时间过长,不知道大佬有什么想法不🥺
Trinityuan
2023-03-18 16:30:05 +08:00
@xuqiccr 你这个最后解决了吗
xuqiccr
2023-03-20 08:49:18 +08:00
@Trinityuan #10 后来自己懒得搞了,V50 找了个老哥帮我搞定了
lvxing888
2023-03-22 16:08:57 +08:00
@ITisCool 感谢大佬
orphcrisz
2023-03-31 10:04:41 +08:00
试过 winscp 进路由器删了 clash/导入 clash 都不行,最后回退到 23-01-05 版本就解决了。进群翻了一下聊天几率,先开 ss 再更 clash 也是可以解决的,但是我试 ss 会 dns 抽风,一直连不上网。
kwingart
2023-04-21 18:54:39 +08:00
配置中已经有了 enhanced-mode: fake-ip ,还是报这样的错误
pr 21 18:40:22 [下载] : 下载 [/opt/app/clash/config/Country.mmdb] 成功,2 次下载 md5 匹配! [https://gcore.jsdelivr.net/gh/alecthw/mmdb_china_ip_list@release/Country.mmdb]
Apr 21 18:40:22 crond[1939]: crond (busybox 1.29.3) started, log level 8
Apr 21 18:40:22 [clash] : 停止 clash 服务器订阅
Apr 21 18:40:23 dnsmasq[26818]: exiting on receipt of SIGTERM
Apr 21 18:40:23 dnsmasq[2266]: started, version 2.89 cachesize 1024
Apr 21 18:40:23 dnsmasq-dhcp[2266]: DHCP, IP range 192.168.16.2 -- 192.168.16.244, lease time 1d
Apr 21 18:40:23 dnsmasq-dhcp[2266]: DHCP, sockets bound exclusively to interface br0
Apr 21 18:40:23 dnsmasq[2266]: read /etc/hosts - 8 names
Apr 21 18:40:23 dnsmasq[2266]: read /etc/storage/dnsmasq/hosts - 0 names
Apr 21 18:40:23 dnsmasq-dhcp[2266]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Apr 21 18:40:23 dnsmasq[2266]: illegal option at line 1 of /tmp/dnsmasq.servers
Apr 21 18:40:27 crond[3787]: crond (busybox 1.29.3) started, log level 8
Apr 21 18:40:30 [clash] : 初始化 clash dns 配置
Apr 21 18:40:33 [clash] : 变更 clash dns 端口 listen 0.0.0.0:8053 跳过自动开启第三方 DNS 程序但是继续把 DNS 绑定到 8053 端口的程序
Apr 21 18:40:33 [clash] : 初始化 clash 配置
Apr 21 18:40:34 [clash] : 允许局域网的连接
Apr 21 18:40:37 [clash] : redir 代理端口:7892
Apr 21 18:40:37 [clash] : 删除 Clash 配置文件中原有的 DNS 或其他配置
Apr 21 18:40:40 [clash] : 将 DNS 或其他配置 /tmp/clash/dns.yml 以覆盖的方式与 /opt/app/clash/config/config.yaml 合并
Apr 21 18:40:41 [clash] : 设置日志输出: error
Apr 21 18:40:42 [clash] : 初始化 clash 配置完成!实际运行配置:/opt/app/clash/config/config.yaml
Apr 21 18:40:42 [clash] : 仅代理 TCP 流量
Apr 21 18:40:42 [clash] : 启动路由自身流量走透明代理
Apr 21 18:40:42 [clash] : 运行 /opt/bin/clash
Apr 21 18:40:44 [clash] : 启动失败, 注意检 clash 是否下载完整,10 秒后自动尝试重新启动
cocogovern
347 天前
@kwingart @xuqiccr 请问是怎么解决的啊,谢谢
xuqiccr
346 天前
@cocogovern 好像是新版的固件问题,我是 V50 找的别人帮我远程解决了,所以我也不知道具体怎么解决哈哈
cocogovern
346 天前
@xuqiccr 能介绍一下那人吗,谢谢
xuqiccr
346 天前
@cocogovern #17 我帮你问一下他
Pil0tXia
94 天前
@xuqiccr 老哥请问能介绍一下那人吗?我在更新 clash 版本后也遇到和你同样的情况了
xuqiccr
93 天前
@Pil0tXia 他没理我了,你加一下#5 的群,在那个群里问吧

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/922491

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX