惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Palo Alto Networks Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
S
Schneier on Security
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cyberwarzone
Cyberwarzone
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
GbyAI
GbyAI
Security Latest
Security Latest
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
C
Cisco Blogs
博客园 - 【当耐特】
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
B
Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Attack and Defense Labs
Attack and Defense Labs
The Last Watchdog
The Last Watchdog
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Project Zero
Project Zero
WordPress大学
WordPress大学
L
LINUX DO - 最新话题
F
Fortinet All Blogs
L
LINUX DO - 热门话题
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
MongoDB | Blog
MongoDB | Blog
Latest news
Latest news
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
The Hacker News
The Hacker News
爱范儿
爱范儿
O
OpenAI News
J
Java Code Geeks
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More

博客园 - wenus

树莓派做下载服务器 aria2 篇 免费 cdn Mware vCenter Server 识别固态硬盘为(非SSD)是什么原因? XXX esx.problem.syslog.nonpersistent.formatOnHost not found XXX 增强VPS SSH账号安全:改端口,禁用Root,密钥登录,Denyhosts防暴力攻击 FreeBSD从零开始---安装后配置(三) FreeBSD从零开始---安装后配置(一) FreeBSD从零开始---安装后配置(二) ngrok 配置 - wenus 安装Nginx作为Windows服务自启动运行 nginx secure_link下载防盗链 htaccess高级应用:防盗链阻止迅雷下载以及限制访问 制作HP MicroServer Gen8可用的ESXi 5.x SD/TF卡启动盘 FreeBSD 10 中文环境 Web服务器禁止range请求 Apache性能优化、超时设置,linux 重启apache mysql 日志,临时文件. 如何使用tar对整个文件夹打包? freebsd 记事之PHP环境搭建
搞定迅雷固件在TP-LINK WR720N,127.0.0.1 9000 获取不到激活码
wenus · 2016-10-20 · via 博客园 - wenus

本帖最后由 exzzzipad 于 2014-7-2 22:33 编辑

基本情况:
设备:TP-LINK WR720N
目前固件:[antclan][20120825]720N-4M-NAS-withSAMBA-squashfs
存储情况:外插了个8G U盘,开启了extroot
Xware版本:Xware1.0.15_mipseb_32_uclibc

故障现象:
无法连接到本机9000端口

这个颜色背景的字符是我输入的命令

我的portal文件位于/app/Xware1.0.15_mipseb_32_uclibc/下面
cd /app/Xware1.0.15_mipseb_32_uclibc/

root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc#./portal
try again...(has tried 19 time(s)).
getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
wget: can't connect to remote host (127.0.0.1): Connection refused
xunlei service is not ready now.
fail to get xunlei service info finaly.
finished.

排障过程:
1、netstat -apn | grep '8002\|9988\|9000' (回车键左边的单上引号)看不到进程监..听9000端口,只有8002跟9988有在监..听,
tcp        0      0 0.0.0.0:8002            0.0.0.0:*               LISTEN      7503/vod_httpserver
tcp        0      0 0.0.0.0:9988            0.0.0.0:*               LISTEN      7501/ETMDaemon
初步判断是./lib/EmbedThunderManager没有运行。
2、直接执行
root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc#./lib/EmbedThunderManager 
出现报错提示
./lib/EmbedThunderManager: can't load library 'libpthread.so.0'
看来是少了运行库。
3、google了一下“openwrt libpthread.so.0 opkg”,(回复可见下面的解决方法,这样可以让更多人看到)

游客,如果您要查看本帖隐藏内容请回复


处理完成后,再次执行步骤2,没有再报错了
root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc# ./lib/EmbedThunderManager
Usage: EmbedThunderManager LICENSE [--verbose]

OK,现在直接./portal,成功运行,获取到激活码

root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc# ./portal 
initing...

try stopping xunlei service...
killall: EmbedThunderManager: no process killed

setting xunlei runtime env...
port: 9000 is usable.

YOUR CONTROL PORT IS: 9000

starting xunlei service...
execv: /app/Xware1.0.15_mipseb_32_uclibc/lib/ETMDaemon.

getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
xunlei_portal.tmp        0T --:--:-- ETA
the active key is not valid.

try again...(has tried 1 time(s)).
getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
xunlei_portal.tmp        0T --:--:-- ETA

THE ACTIVE CODE IS: **************

go to http://yuancheng.xunlei.com, bind your device with the active code.
finished.

其他机型上类似问题也可以按同样的步骤运行,
第1步看几个程序是否运行了,这个是通过查看进程及端口判断的。
第2步是看程序为什么不能运行,缺了什么运行库,这个是通过尝试运行程序查看报错提示判断。
第3步通过查找运行库的关键词,安装对应的软件包。

http://luyou.xunlei.com/forum.ph ... mp;extra=#pid112171