We are getting "Bad Gateway" on a WR1043ND uhttpd, OpenWRT Chaos Calmer.
This is a mission critical device that can't be restarted at the moment. We've already tried to reinstall LuCI using opkg update; opkg --force-maintainer --force-reinstall install uhttpd
, with no results. The system still works perfectly as a router, and the SSH logread
shows:
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.880000] jffs2: warning: (9584) jffs2_get_inode_nodes: Eep. No valid nodes for ino #215.
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.890000] jffs2: warning: (9584) jffs2_do_read_inode_internal: no data nodes found for ino #215
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.900000] jffs2: iget() failed for ino #215
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.900000] jffs2: warning: (9584) jffs2_get_inode_nodes: Eep. No valid nodes for ino #215.
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.910000] jffs2: warning: (9584) jffs2_do_read_inode_internal: no data nodes found for ino #215
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.920000] jffs2: iget() failed for ino #215
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.930000] jffs2: warning: (9584) jffs2_get_inode_nodes: Eep. No valid nodes for ino #215.
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.940000] jffs2: warning: (9584) jffs2_do_read_inode_internal: no data nodes found for ino #215
Fri Apr 5 18:42:45 2019 kern.warn kernel: [786737.950000] jffs2: iget() failed for ino #215
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: /usr/bin/lua: /www/cgi-bin/luci:2: module 'luci.cacheloader' not found:
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no field package.preload['luci.cacheloader']
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file './luci/cacheloader.lua'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/share/lua/luci/cacheloader.lua'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/share/lua/luci/cacheloader/init.lua'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/luci/cacheloader.lua'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/luci/cacheloader/init.lua'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file './luci/cacheloader.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/luci/cacheloader.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/loadall.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file './luci.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/luci.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: no file '/usr/lib/lua/loadall.so'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: stack traceback:
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: [C]: in function 'require'
Fri Apr 5 18:42:45 2019 daemon.err uhttpd[29947]: /www/cgi-bin/luci:2: in main chunk
We've tested write with WinSCP on some of the logged paths, and it was denied with an error, while another similar device allowed.
Any suggestions on how recover the uhttpd without restarting/flashing a newer firmware will be appreciated.