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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & 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高级应用:防盗链阻止迅雷下载以及限制访问 - wenus 制作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