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

推荐订阅源

Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
The Register - Security
The Register - Security
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
博客园_首页
U
Unit 42
T
Tailwind CSS Blog
G
GRAHAM CLULEY
F
Full Disclosure
V
Vulnerabilities – Threatpost
T
Tenable Blog
月光博客
月光博客
P
Privacy & Cybersecurity Law Blog
P
Privacy International News Feed
K
Kaspersky official blog
Scott Helme
Scott Helme
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
N
News and Events Feed by Topic
T
The Exploit Database - CXSecurity.com
N
News and Events Feed by Topic
有赞技术团队
有赞技术团队
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
LINUX DO - 最新话题
Recorded Future
Recorded Future
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Help Net Security
Help Net Security
The GitHub Blog
The GitHub Blog
Cisco Talos Blog
Cisco Talos Blog
SecWiki News
SecWiki News
P
Proofpoint News Feed
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
罗磊的独立博客
S
Security Affairs
M
MIT News - Artificial intelligence
L
LINUX DO - 热门话题
美团技术团队
Simon Willison's Weblog
Simon Willison's Weblog
T
Threat Research - Cisco Blogs
Stack Overflow Blog
Stack Overflow Blog
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
V
Visual Studio Blog

博客园 - 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