Coder Social home page Coder Social logo

未知错误 about ttyd HOT 4 CLOSED

tsl0922 avatar tsl0922 commented on May 22, 2024
未知错误

from ttyd.

Comments (4)

hiboyhiboy avatar hiboyhiboy commented on May 22, 2024

[2016/09/01 12:05:41:2700] NOTICE: Initial logging level 7
[2016/09/01 12:05:41:2703] NOTICE: Libwebsockets version: 1.7.5 root@hiboy-VirtualBox-
[2016/09/01 12:05:41:2704] NOTICE: IPV6 compiled in and enabled
[2016/09/01 12:05:41:2705] NOTICE: libev support not compiled in
[2016/09/01 12:05:41:2711] NOTICE: Threads: 1 each 65536 fds
[2016/09/01 12:05:41:2728] NOTICE: mem: platform fd map: 262144 bytes
[2016/09/01 12:05:41:2731] NOTICE: mem: per-conn: 308 bytes + protocol rx buf
[2016/09/01 12:05:41:2733] NOTICE: canonical_hostname = RT-N56U_B1
[2016/09/01 12:05:41:2734] NOTICE: Compiled with OpenSSL support
[2016/09/01 12:05:41:2735] NOTICE: Using non-SSL mode
/opt/bin/ttyd: '/lib/' is not an ELF file
/opt/bin/ttyd: '/opt/lib/' is not an ELF file
/opt/bin/ttyd: '/opt/lib/' is not an ELF file
[2016/09/01 12:05:41:2776] NOTICE: OpenSSL doesn't support ECDH
[2016/09/01 12:05:41:2781] NOTICE: Listening on port 7681
[2016/09/01 12:05:41:2782] NOTICE: TTY configuration:
[2016/09/01 12:05:41:2784] NOTICE: start command: login
[2016/09/01 12:05:41:2785] NOTICE: reconnect timeout: 10s
[2016/09/01 12:05:41:2786] NOTICE: close signal: SIGHUP (1)
[2016/09/01 12:05:46:3018] NOTICE: HTTP connect from ::ffff:192.168.123.4 (192.168.123.4), path: /
[2016/09/01 12:05:47:8666] NOTICE: HTTP connect from ::ffff:192.168.123.4 (192.168.123.4), path: /auth_token.js
[2016/09/01 12:05:47:8759] ERR: Capping pmd rx to 128
[2016/09/01 12:05:47:8761] ERR: ok
[2016/09/01 12:05:48:1439] ERR: pthread_create
[2016/09/01 12:05:50:0031] NOTICE: wsi 0x56df88: TIMEDOUT WAITING on 3 (did hdr 0, ah (nil), wl 0, pfd events 0)
[2016/09/01 12:05:50:0035] NOTICE: wsi 0x56db50: TIMEDOUT WAITING on 3 (did hdr 0, ah (nil), wl 0, pfd events 0)
[2016/09/01 12:05:54:0031] NOTICE: wsi 0x56d8e0: TIMEDOUT WAITING on 13 (did hdr 1, ah (nil), wl 0, pfd events 0)
[2016/09/01 12:05:54:0033] NOTICE: sending SIGHUP to process 0
Hangup

from ttyd.

tsl0922 avatar tsl0922 commented on May 22, 2024

我只在 openwrt 上测试过,而且是安装到系统目录的,应该和系统目录不可写没什么关系。

/opt/bin/ttyd: '/lib/' is not an ELF file

如果是安装到非系统目录,ldconfig 配置没问题吧?

[2016/09/01 12:05:48:1439] ERR: pthread_create

pthread_create 没执行成功,也就是 fork 进程失败了。

from ttyd.

tsl0922 avatar tsl0922 commented on May 22, 2024

@hiboyhiboy 我昨晚试了在 rt-n56u 的源码上编译 ttyd 进固件,路由器上运行没有问题,和你的区别就是编译到了系统目录并打包进了固件。

from ttyd.

tsl0922 avatar tsl0922 commented on May 22, 2024

我修改后的编译脚本和 Makefile 参考这里:https://github.com/tsl0922/rt-n56u ,这个 issue 不属于软件 bug,所以先关闭了。

from ttyd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.