chaos_calmer icon indicating copy to clipboard operation
chaos_calmer copied to clipboard

Can't go into the luci web manage page when device runs a long time , For me the time is 42days

Open truelv opened this issue 4 years ago • 0 comments

Below shows the error message. /usr/lib/lua/luci/dispatcher.lua:562: Failed to execute function dispatcher target for entry '/'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:562: Failed to execute firstchild dispatcher target for entry '/admin'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:562: Failed to execute function dispatcher target for entry '/admin/status'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:562: Failed to execute template dispatcher target for entry '/admin/status/overview'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to load template 'admin_status/index'. Error while parsing template '/usr/lib/lua/luci/view/admin_status/index.htm': No such file or directory stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:562: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:306: in function </usr/lib/lua/luci/dispatcher.lua:305>

I use Telnet to go into the file system and see index.htm is only in /overlay/usr/lib/lua/luci/view/admin_status/index.htm /rom/usr/lib/lua/luci/view/admin_status/index.htm

and they are abnormal treebear@Witown:/overlay/usr/lib/lua/luci/view/admin_status# ls -l lrwxrwxrwx 1 treebear root 18 Feb 25 10:33 index.htm -> (overlay-whiteout) treebear@Witown:/overlay/usr/lib/lua/luci/view/admin_status# ls -l lrwxrwxrwx 1 treebear root 18 Feb 25 10:33 index.htm -> (overlay-whiteout)

Then I look at Top information, it goes well because cpu and memory has lots of idle resource: Mem: 134908K used, 121092K free, 0K shrd, 6116K buff, 45960K cached CPU: 0% usr 2% sys 0% nic 97% idle 0% io 0% irq 0% sirq Load average: 0.04 0.12 0.13 2/80 17638 PID PPID USER STAT VSZ %VSZ %CPU COMMAND 17638 14983 treebear R 1512 1% 2% top 24433 1882 treebear S 57108 22% 0% /usr/bin/ppcloud 1465 1 treebear S 10060 4% 0% /usr/sbin/dnsmasq -C /var/etc/dnsmasq 1827 1 treebear S 4224 2% 0% /usr/sbin/lighttpd -f /etc/lighttpd/l 1201 1 treebear S 1544 1% 0% /sbin/netifd 1924 1 treebear S 1528 1% 0% /sbin/syslogd -l 7 -O /etc/log/system 3636 1831 treebear S 1520 1% 0% {update_cur_stat} /bin/sh /usr/sbin/u 14983 1759 treebear S 1520 1% 0% -ash 1759 1 treebear S 1516 1% 0% /usr/sbin/telnetd 1804 1 treebear S 1512 1% 0% /usr/sbin/ntpd -n -u 86400 -r 600 -p 471 1 treebear S 1512 1% 0% /bin/ash --login 1882 1 treebear S 1512 1% 0% {witownapp.sh} /bin/sh /usr/sbin/wito 1927 1 treebear S 1508 1% 0% /usr/sbin/crond start 1348 1201 treebear S 1508 1% 0% udhcpc -R -p /var/run/udhcpc-eth0.5.p 1925 1 treebear S 1504 1% 0% /sbin/klogd 1831 1 treebear S 1504 1% 0% {runing_status_m} /bin/sh /usr/sbin/r 17637 3636 treebear S 1500 1% 0% sleep 10 1 0 treebear S 1360 1% 0% /sbin/procd 1782 1 treebear S 1084 0% 0% /sbin/mountd -f 923 1 treebear S 980 0% 0% arp_broadcast lan

I try to use rm -rf /tmp/luci-* but it seems useless

Does this issue comes from openwrt filesystem or it is luci's bug ?

System info: Linux 3.10.34 mipsel lua-5.1.5 openwrt CC

truelv avatar Mar 12 '20 06:03 truelv