openwrt lua 开发运行一段时间后,出现lua错误。

登录Web后只出现LuCI - Lua Configuration Interface - OPENWRT专版 - 恩山无线论坛 - Powered by Discuz!
后使用快捷导航没有帐号?
只需一步,快速开始
请完成以下验证码
请完成以下验证码
查看: 5947|回复: 8
登录Web后只出现LuCI - Lua Configuration Interface
各位大神,时这样的,当我通过网页登录192.168.1.1后,只是出现下面的图
仅仅是一个黑色页面写着 LuCI - Lua Configuration Interface ,然后弹出一个下载窗口,让下载一个luci文件。看了一下午,发现 就是op中的 /www/cgi-bin/luci 这个文件,请问时什么个原因,是因为缺某些库或工具吗?
:/# opkg list-installed base-files - 156-r47068 busybox - 1.22.1-3 chat - 2.4.7-2 comgt - 0.32-23 dnsmasq - 2.71-5 dropbear -
ebtables - 2.0.10-4-1 ebtables-utils - 2.0.10-4-1 file - 5.11-1 firewall -
fstools - .1-914b023eec5a1fccaf386 grep - 2.21-2 hostapd - .1-3 hostapd-common - .1-3 ip - 3.15.0-1 ip6tables - 1.4.21-1 iptables - 1.4.21-1 iptables-mod-conntrack-extra - 1.4.21-1 iptables-mod-ipopt - 1.4.21-1 iw - 3.15-1 iwinfo - 51 jshn - -dffbc09baf71bd433b5 jsonfilter - -cdc760cadbbe41eb9a9 kernel - 3.10.49-1-df560a9cb16a791daa244c kmod-bridge - 3.10.49-1 kmod-cfg80211 - 3.10.49+-1 kmod-crypto-aes - 3.10.49-1 kmod-crypto-arc4 - 3.10.49-1 kmod-crypto-core - 3.10.49-1 kmod-ebtables - 3.10.49-1 kmod-ebtables-ipv4 - 3.10.49-1 kmod-ebtables-ipv6 - 3.10.49-1 kmod-eeprom-93cx6 - 3.10.49-1 kmod-gpio-button-hotplug - 3.10.49-1 kmod-ip6tables - 3.10.49-1 kmod-ipt-conntrack - 3.10.49-1 kmod-ipt-conntrack-extra - 3.10.49-1 kmod-ipt-core - 3.10.49-1 kmod-ipt-ipopt - 3.10.49-1 kmod-ipt-nat - 3.10.49-1 kmod-ipt-nat-extra - 3.10.49-1 kmod-ipt-nathelper - 3.10.49-1 kmod-ipt-u32 - 3.10.49-1 kmod-ipv6 - 3.10.49-1 kmod-leds-gpio - 3.10.49-1 kmod-ledtrig-usbdev - 3.10.49-1 kmod-lib-crc-ccitt - 3.10.49-1 kmod-lib-crc-itu-t - 3.10.49-1 kmod-llc - 3.10.49-1 kmod-mac80211 - 3.10.49+-1 kmod-mii - 3.10.49-1 kmod-nls-base - 3.10.49-1 kmod-nls-utf8 - 3.10.49-1 kmod-ppp - 3.10.49-1 kmod-pppoe - 3.10.49-1 kmod-pppox - 3.10.49-1 kmod-rt2800-lib - 3.10.49+-1 kmod-rt2800-mmio - 3.10.49+-1 kmod-rt2800-pci - 3.10.49+-1 kmod-rt2800-soc - 3.10.49+-1 kmod-rt2x00-lib - 3.10.49+-1 kmod-rt2x00-mmio - 3.10.49+-1 kmod-rt2x00-pci - 3.10.49+-1 kmod-sched-core - 3.10.49-1 kmod-slhc - 3.10.49-1 kmod-stp - 3.10.49-1 kmod-tun - 3.10.49-1 kmod-usb-core - 3.10.49-1 kmod-usb-net - 3.10.49-1 kmod-usb-net-hso - 3.10.49-1 kmod-usb-ohci - 3.10.49-1 kmod-usb2 - 3.10.49-1 libblobmsg-json - -dffbc09baf71bd433b5 libc - 0.9.33.2-1 libcyassl - 3.2.0-1 libgcc - 4.8-linaro-1 libgmp - 6.0.0-1 libip4tc - 1.4.21-1 libip6tc - 1.4.21-1 libiwinfo - 51 libiwinfo-lua - 51 libjson-c - 0.11-2 libjson-script - -dffbc09baf71bd433b5 liblua - 5.1.5-1 libmagic - 5.11-1 libnettle - 2.7.1-1 libnl-tiny - 0.1-3 libopenssl - 1.0.2d-1 libpcap - 1.5.3-1 libpcre - 8.35-2 libpolarssl - 1.3.9-2 libpopt - 1.7-5 libpthread - 0.9.33.2-1 librpc - 0.9.32-rc2-0a2179bbca0ec01dba93d9b5d6d41a7 librt - 0.9.33.2-1 libstdcpp - 4.8-linaro-1 libubox - -dffbc09baf71bd433b5 libubox-lua - -dffbc09baf71bd433b5 libubus - -4c4f35cfddd8a563f2f3 libubus-lua - -4c4f35cfddd8a563f2f3 libuci - .1-1 libuci-lua - .1-1 libustream-polarssl - -fc0b5ec804ee43cab0509c34baefb0 libxml2 - 2.9.2-2 libxtables - 1.4.21-1 lighttpd - 1.4.35-2 lighttpd-mod-cgi - 1.4.35-2 lighttpd-mod-setenv - 1.4.35-2 lsof - 4.86-2 lua - 5.1.5-1 luci - 0.12+git-15.037.3a26-1 luci-app-commands - 0.12+git-15.037.3a26-1 luci-app-firewall - 0.12+git-15.037.3a26-1 luci-app-multiwan - 0.12+git-15.037.3a26-1 luci-base - 0.12+git-15.037.3a26-1 luci-i18n-chinese - 0.12+git-15.037.3a26-1 luci-lib-httpclient - 0.12+git-15.037.3a26-1 luci-lib-json - 0.12+git-15.037.3a26-1 luci-lib-luaneightbl - 0.12+git-15.037.3a26-1 luci-lib-nixio - 0.12+git-15.037.3a26-1 luci-lib-px5g - 0.12+git-15.037.3a26-1 luci-mod-admin-full - 0.12+git-15.037.3a26-1 luci-mod-failsafe - 0.12+git-15.037.3a26-1 luci-mod-rpc - 0.12+git-15.037.3a26-1 luci-proto-hso - 0.12+git-15.037.3a26-1 luci-proto-ipv6 - 0.12+git-15.037.3a26-1 luci-proto-ppp - 0.12+git-15.037.3a26-1 luci-proto-relay - 0.12+git-15.037.3a26-1 luci-ssl - 0.12+git-15.037.3a26-1 luci-theme-bootstrap - 0.12+git-15.037.3a26-1 luci-theme-freifunk-bno - 0.12+git-15.037.3a26-1 luci-theme-freifunk-generic - 0.12+git-15.037.3a26-1 luci-theme-openwrt - 0.12+git-15.037.3a26-1 maccalc - 1 mtd - 20 multiwan - 1.0.22-2 netifd - .1-46c226916fec28dd8ef152a664043e odhcp6c - -f1d45c8bf4acabcf7d648f odhcpd - -a6e2953843eaf6c93764f9feefec85 opkg - 9c97d5ecd4e972bfdf3aee3a5b846d-7 ppp - 2.4.7-2 ppp-mod-pppoe - 2.4.7-2 procd - -c1a558f7d0c1e6c1ffa5a47d557a7b45205eef1d px5g - 3 relayd - -8b20ffae06b9b7fcc6fb52d3b8a80b45ed424e39 resolveip - 2 rsync - 3.1.1-2 swconfig - 10 tc - 3.15.0-1 tcpdump - 4.5.1-4 ubox - .1-31f0ff358b360ee461d845c1b3b5e5d38fa27925 ubus - -4c4f35cfddd8a563f2f3 ubusd - -4c4f35cfddd8a563f2f3 uci - .1-1 uhttpd - -fd8e5e379c23c5fbcec3edf09067 uhttpd-mod-lua - -fd8e5e379c23c5fbcec3edf09067 uhttpd-mod-ubus - -fd8e5e379c23c5fbcec3edf09067 wpad-mini - .1-3 zlib - 1.2.8-1
:/# lsmod act_mirred& && && && &&&2480&&0
act_skbedit& && && && & 1760&&0
arc4& && && && && && &&&1312&&2
cfg80211& && && && &&& rt2x00lib cls_flow& && && && && & 5232&&0
cls_fw& && && && && && &3216&&0
cls_route& && && && && &5008&&0
cls_tcindex& && && && & 3808&&0
cls_u32& && && && && &&&5776&&0
compat& && && && && && &2333&&4 rt2800soc crc_ccitt& && && && && &1019&&2 rt2800lib crc_itu_t& && && && && &1019&&0
crypto_blkcipher& && & 10375&&1 arc4 ebt_802_3& && && && && & 688&&0
ebt_among& && && && && &2096&&0
ebt_arp& && && && && &&&1552&&0
ebt_arpreply& && && && &1040&&0
ebt_dnat& && && && && &&&768&&0
ebt_ip& && && && && && &1248&&0
ebt_ip6& && && && && &&&1552&&0
ebt_limit& && && && && & 976&&0
ebt_mark& && && && && &&&656&&0
ebt_mark_m& && && && && &592&&0
ebt_pkttype& && && && &&&528&&0
ebt_snat& && && && && &&&816&&0
ebt_stp& && && && && &&&1808&&0
ebt_vlan& && && && && &&&912&&0
ebtable_broute& && && &&&752&&0
ebtable_filter& && && &&&912&&0
ebtable_nat& && && && &&&912&&0
eeprom_93cx6& && && && &1807&&1 rt2800pci em_u32& && && && && && & 576&&0
gpio_button_hotplug& &&&6000&&0
ip6_tables& && && && &&&8993&&3 ip6table_raw ip6t_REJECT& && && && & 2336&&2
ip6table_filter& && && & 608&&1
ip6table_mangle& && && &1024&&1
ip6table_raw& && && && & 576&&1
ipt_ECN& && && && && &&&1360&&0
ipt_MASQUERADE& && && & 1136&&1
ipt_REJECT& && && && &&&1776&&2
iptable_filter& && && &&&672&&1
iptable_mangle& && && &&&928&&1
iptable_raw& && && && &&&640&&1
ipv6& && && && && && & ip6t_REJECT leds_gpio& && && && && &2944&&0
mac80211& && && && &&& rt2800lib mii& && && && && && && &3528&&0
nf_conntrack_ftp& && &&&5136&&1 nf_nat_ftp nf_conntrack_ipv6& && & 5104&&3
nf_conntrack_irc& && &&&2784&&1 nf_nat_irc nf_defrag_ipv6& && && & 8855&&1 nf_conntrack_ipv6 nf_nat_ftp& && && && &&&1216&&0
nf_nat_irc& && && && &&&1008&&0
nls_base& && && && && & 5006&&1 nls_utf8 nls_utf8& && && && && &&&864&&0
ppp_async& && && && && &6800&&0
ppp_generic& && && && &20386&&3 pppoe pppoe& && && && && && & 8336&&0
pppox& && && && && && & 1338&&1 pppoe rt2800lib& && && && &&&91457&&3 rt2800soc rt2800mmio& && && && &&&6626&&2 rt2800soc rt2800pci& && && && && &3920&&0
rt2800soc& && && && && &2480&&0
rt2x00lib& && && && &&&35919&&7 rt2800soc rt2x00mmio& && && && &&&1952&&3 rt2800soc rt2x00pci& && && && && &1522&&1 rt2800pci rt2x00soc& && && && && &1266&&1 rt2800soc sch_hfsc& && && && && &13424&&0
sch_ingress& && && && &&&944&&0
slhc& && && && && && &&&4347&&1 ppp_generic tun& && && && && && &&&15439&&0
xt_CLASSIFY& && && && &&&576&&0
xt_CT& && && && && && & 2608&&0
xt_DSCP& && && && && &&&1472&&0
xt_HL& && && && && && & 1296&&0
xt_LOG& && && && && && &9824&&0
xt_NETMAP& && && && && &1152&&0
xt_TCPMSS& && && && && &2704&&2
xt_comment& && && && && &480 53
xt_connbytes& && && && &1520&&0
xt_connlimit& && && && &2720&&0
xt_connmark& && && && & 1040&&0
xt_conntrack& && && && &2144 10
xt_dscp& && && && && && &976&&0
xt_ecn& && && && && && &1280&&0
xt_helper& && && && && & 880&&0
xt_hl& && && && && && &&&784&&0
xt_id& && && && && && &&&480&&0
xt_length& && && && && & 688&&0
xt_limit& && && && && & 1056 20
xt_mac& && && && && && & 608&&0
xt_mark& && && && && && &672&&0
xt_multiport& && && && &1200&&0
xt_recent& && && && && &6320&&0
xt_state& && && && && &&&688&&0
xt_statistic& && && && & 864&&0
xt_tcpmss& && && && && & 992&&0
xt_time& && && && && &&&1664&&0
xt_u32& && && && && && & 976&&0
上面时我现在的配置,大牛能帮忙看下吗?
我的恩山、我的无线
The best wifi forum is right here.
电脑时用firefox浏览器,然后手机上用UC浏览器,都是同样的结果。难道要用IE吗?&
我的恩山、我的无线
The best wifi forum is right here.
电脑时用firefox浏览器,然后手机上用UC浏览器,都是同样的结果。难道要用IE吗?
我的恩山、我的无线
The best wifi forum is right here.
支持。好好{:soso_e120:}{:soso_e121:}
我的恩山、我的无线
The best wifi forum is right here.
你能ping通192.168.1.1麽?
可以ping通啊,wifi都可以连上了&
我的恩山、我的无线
The best wifi forum is right here.
你能ping通192.168.1.1麽?
可以ping通啊,wifi都可以连上了
我的恩山、我的无线
The best wifi forum is right here.
uhttpd 和lighttpd 是不是都占用80端口,修改uhttpd的80端口,用新端口登录路由器即可。
哎呀我去,去掉lighttpd後立刻就能連上了。看來就是因爲兩個服務衝突了導致出現問題,謝謝大神&
我的恩山、我的无线
The best wifi forum is right here.
uhttpd 和lighttpd 是不是都占用80端口,修改uhttpd的80端口,用新端口登录路由器即可。
哎呀我去,去掉lighttpd後立刻就能連上了。看來就是因爲兩個服務衝突了導致出現問題,謝謝大神
请问在哪里去掉Lighttpd啊 ,我找不到啊。&
我的恩山、我的无线
The best wifi forum is right here.
哎呀我去,去掉lighttpd後立刻就能連上了。看來就是因爲兩個服務衝突了導致出現問題,謝謝大神
请问在哪里去掉Lighttpd啊 ,我找不到啊。
我的恩山、我的无线
The best wifi forum is right here.
Powered by你的位置: &
& &解决Openwrt启动一段时间后重启无线无法开启
用LAN连接上SSH重启Network后,再连接上时Putty时出现下面红色的一段时则表示打开的文件数达到限制
root@Router:~# /etc/init.d/network restart
command failed: Too many open files in system (-23)
command failed: Too many open files in system (-23)
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
nl80211: Could not configure driver to use managed mode
nl80211: Driver does not support authentication/association or connect commands
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
Failed to start hostapd for phy0
Configuration file: /var/run/hostapd-phy1.conf
Using interface wlan1 with hwaddr XX:XX:XX:XX:XX:XX and ssid "XXX"
Configuration file: /var/run/hostapd-phy2.conf
Using interface wlan2 with hwaddr XX:XX:XX:XX:XX:XX and ssid "XXX"
扩大文件句柄限制:
vi /etc/sysctl.conf
fs.file-max = 8192
转载请注明: &
与本文相关的文章2635人阅读
openwrt(19)
linux@ubuntu:~/smb/lc_smarthome$&mipsel-openwrt-linux-gcc&lc_tty.c&lc_tty.h&main.c&-lpthread&-o&main
会出现一下错误:
/work/openwrt/trunk/bin/ramips/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld:&warning:&libdl.so.0,&needed&by&/work/openwrt/trunk/bin/ramips/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0,&not&found&(try&using&-rpath&or&-rpath-link)
/work/openwrt/trunk/bin/ramips/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0:&undefined&reference&to&`dlclose'
/work/openwrt/trunk/bin/ramips/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0:&undefined&reference&to&`dlopen'
/work/openwrt/trunk/bin/ramips/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/lib/libpthread.so.0:&undefined&reference&to&`dlsym'
collect2:&error:&ld&returned&1&exit&status
解决方法:在原来基础上加上 -ldl&
即:mipsel-openwrt-linux-gcc lc_tty.c lc_tty.h main.c -ldl -lpthread -o main
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:36230次
排名:千里之外
原创:14篇
转载:13篇
(1)(1)(6)(4)(1)(4)(1)(6)(3)
(window.slotbydup = window.slotbydup || []).push({
id: '4740881',
container: s,
size: '200,200',
display: 'inlay-fix'9875人阅读
Linux(16)
在下载了trunk版本后
cd OpenWrt/trunk/
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig出现了错误
Checking *working-make*... ok.
Checking *case-sensitive-fs*... ok.
Checking *getopt*... ok.
Checking *fileutils*... ok.
Checking *working-gcc*... ok.
Checking *working-g++*... ok.
Checking *ncurses*... ok.
Checking *zlib*... ok.
Checking *gawk*... ok.
Checking *unzip*... ok.
Checking **...
Checking *perl*... ok.
Checking */usr/bin/python2.7*... ok.
Checking *wget*... ok.
Checking **...
Checking *gnutar*... ok.
Checking *svn*... ok.
Checking *libssl*... failed.
Checking *openssl*... ok.
Checking *gnu-find*... ok.
Checking *getopt-extended*... ok.
Checking *file*... ok.
Checking *non-root*... ok.
Build dependency: Please install the openssl library (with development headers)
Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [tmp/.prereq-build] Error 1
make: *** [world] 错误 2
这个错误还需要安装两个软件包:
sudo apt-get install libssl-dev
sudo apt-get install libssl0.9.8
成功后再执行make defconfig就OK了
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1025069次
积分:7150
积分:7150
排名:第3316名
原创:39篇
转载:134篇
评论:196条
(2)(2)(2)(1)(2)(6)(5)(6)(2)(2)(3)(4)(1)(5)(1)(6)(1)(4)(1)(1)(3)(5)(2)(4)(2)(2)(2)(1)(1)(8)(3)(4)(6)(8)(10)(5)(20)(30)
(window.slotbydup = window.slotbydup || []).push({
id: '4740881',
container: s,
size: '200,200',
display: 'inlay-fix'

我要回帖

更多关于 openwrt luasocket 的文章

 

随机推荐