sunshinehker 发表于 2024-9-1 16:49

【求助】OpenWRT 出现500内部服务器错误

本帖最后由 sunshinehker 于 2024-9-1 16:53 编辑

访问OpenWRT的接口页面出现以下错误信息,是在我安装Open克拉斯的依赖之后出现的,用的命令是:
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
但是这些依赖没有完全安装成功,安装libcap-bin这个时失败,因为在源中找不到,然后我进openWRT后台,系统页面也打不开了,接口页面报下面的错,版本是OpenWrt R21.12.25, CPU是IPQ6000, 请问各位大佬该如何解决, 错误信息如下:
Failed to execute arcombine dispatcher target for entry '/admin/network/network'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_network/iface_overview'.
A runtime error occured: /usr/lib/lua/luci/model/network.lua:349: attempt to call field 'checkmac' (a nil value)
stack traceback:
      /usr/lib/lua/luci/model/network.lua:349: in function 'init'
      :2: in main chunk
stack traceback:
      : in function 'error'
      /usr/lib/lua/luci/template.lua:97: in function
      (tail call): ?
      /usr/lib/lua/luci/cbi.lua:257: in function 'render'
      /usr/lib/lua/luci/cbi.lua:266: in function 'render_children'
      :1: in main chunk
stack traceback:
      : in function 'error'
      /usr/lib/lua/luci/template.lua:97: in function
      (tail call): ?
      /usr/lib/lua/luci/cbi.lua:257: in function 'render'
      /usr/lib/lua/luci/cbi.lua:440: in function 'render'
      /usr/lib/lua/luci/dispatcher.lua:927: in function 'target'
      /usr/lib/lua/luci/dispatcher.lua:963: in function </pre>

ca972008 发表于 2024-9-1 16:53

如果ssh能连上,那就在ssh下执行firstboot ,然后reboot,不过设置要重新弄了

sunshinehker 发表于 2024-9-1 16:54

ca972008 发表于 2024-9-1 16:53
如果ssh能连上,那就在ssh下执行firstboot ,然后reboot,不过设置要重新弄了

firstboot 是恢复出厂设置?

ca972008 发表于 2024-9-1 17:00

是的,恢复出厂设置
页: [1]
查看完整版本: 【求助】OpenWRT 出现500内部服务器错误