解决 xinetd "Transport endpoint is not connected"



我试图得到一个简单的websocket代理与xinetd工作。

代理在这里:https://github.com/kumina/wsproxy(basic proxy for vnc)

这是我的xinetd/wsproxy配置:

service wsproxy
{
    type        = UNLISTED
    socket_type = stream
    protocol    = tcp
    user        = root
    wait        = no
    port        = 8080
    server      = /usr/sbin/wsproxy
    server_args = 5000 9999 
    disable     = no
    log_type    = SYSLOG daemon info
    flags       = NOLIBWRAP
}

也尝试了各种更改,如'等待=是'和'等待=否'仍然是相同的结果

我在syslog中得到了100个这样的条目:

ubuntu xinetd[3707]: warning: can't get client address:...
...Transport endpoint is not connected

,最后:

xinetd[8283]: Deactivating service wsproxy due to excessive incoming connections.        

xinetd正在运行,并且在netstat中。

扯我的头发,不知道为什么它不运行。

(运行ubuntu 11.04 x64)

有什么想法吗?

您确定后端vncserver已启动并正在运行吗?即使wsproxy本身正在运行(通过telnet localhost 8080检查),如果vncserver没有运行,您可能会遇到这个问题。

用Debian Squeeze (i386)和Scientific Linux (x86_64)检查xinetd-config是否正确。很有魅力。

相关内容

最新更新