aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb what is it doing?  (Read 5181 times)

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
amuleweb what is it doing?
« on: September 21, 2004, 02:50:57 AM »

Hi folks!

I'm using aMule-2.0.0rc5 on my gentoo-linux (2004.1) machine (emerged with ACCEPT_KEYWORDS="~x86" in my "/etc/make.conf").

I'm having troubles with "amuleweb" at the moment. It displays all the messages as described in Stefanero's How-To (the "webserver started..." stuff).
I tried to connect to the built-in webserver with telnet by invoking the typical HTTP-Commands:

Code: [Select]
rpoisel@fileserver_eth0 rpoisel $ telnet localhost 4711
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
HOST:fileserver


^]
telnet> quit
Connection closed.

Has anybody out there experienced similar problems? Did I put the aMule.tmpl into the right directory? (~/.aMule/aMule.tmpl)?
The connection is not refused, there are no error messages displayed in my graphical user interface (connecting to port 4712 generates an error message, as described).

Thanks in advance,
please help me, I'm glad about using aMule - but not over vnc, it's to slow for me.

Regards from Austria,
Rainer
« Last Edit: September 21, 2004, 02:52:33 AM by dubbaluga »
Logged

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
RE: amuleweb what is it doing?
« Reply #1 on: September 21, 2004, 08:19:59 AM »

Strace output:
===========

(execution per "strace amuleweb")

nothing unusual until:

Code: [Select]
//Much longer (read7,...)
read(7, "\n", 1)                        = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "g", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "l", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "m", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "y", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "z", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, ":", 1)                         = 1
read(7, "8", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ";", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "%", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "w", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "b", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "m", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "y", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "z", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, ":", 1)                         = 1
read(7, "8", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ";", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "%", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "w", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "b", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "m", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "y", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "z", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, ":", 1)                         = 1
read(7, "8", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ";", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "%", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "w", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "b", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "m", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "y", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "z", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, ":", 1)                         = 1
read(7, "8", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ";", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "%", 1)                         = 1
read(7, "u", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "f", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "w", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "b", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "i", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "u", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, " ", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "y", 1)                         = 1
read(7, "p", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "c", 1)                         = 1
read(7, "h", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "c", 1)                         = 1
read(7, "k", 1)                         = 1
read(7, "b", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "x", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, " ", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "m", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "d", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "w", 1)                         = 1
read(7, "n", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "o", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, " ", 1)                         = 1
read(7, "v", 1)                         = 1
read(7, "a", 1)                         = 1
read(7, "l", 1)                         = 1
read(7, "u", 1)                         = 1
read(7, "e", 1)                         = 1
read(7, "=", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, "%", 1)                         = 1
read(7, "s", 1)                         = 1
read(7, "\"", 1)                        = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "d", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "<", 1)                         = 1
read(7, "/", 1)                         = 1
read(7, "t", 1)                         = 1
read(7, "r", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "\n", 1)                        = 1
read(7, "<", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "M", 1)                         = 1
read(7, "P", 1)                         = 1
read(7, "L", 1)                         = 1
read(7, "_", 1)                         = 1
read(7, "S", 1)                         = 1
read(7, "E", 1)                         = 1
read(7, "A", 1)                         = 1
read(7, "R", 1)                         = 1
read(7, "C", 1)                         = 1
read(7, "H", 1)                         = 1
read(7, "_", 1)                         = 1
read(7, "R", 1)                         = 1
read(7, "E", 1)                         = 1
read(7, "S", 1)                         = 1
read(7, "U", 1)                         = 1
read(7, "L", 1)                         = 1
read(7, "T", 1)                         = 1
read(7, "_", 1)                         = 1
read(7, "L", 1)                         = 1
read(7, "I", 1)                         = 1
read(7, "N", 1)                         = 1
read(7, "E", 1)                         = 1
read(7, "_", 1)                         = 1
read(7, "E", 1)                         = 1
read(7, "N", 1)                         = 1
read(7, "D", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, "-", 1)                         = 1
read(7, ">", 1)                         = 1
read(7, "\n", 1)                        = 1
read(7, "", 1)                          = 0
brk(0)                                  = 0x80d7000
brk(0x80d8000)                          = 0x80d8000
brk(0)                                  = 0x80d8000
brk(0x80d9000)                          = 0x80d9000
close(7)                                = 0
gettimeofday({1095744683, 203852}, NULL) = 0
select(5, NULL, [4], NULL, {600, 0})    = 1 (out [4], left {600, 0})
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "\26\0", 2, 0)                  = 2
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
gettimeofday({1095744684, 955721}, NULL) = 0
select(5, NULL, [4], NULL, {600, 0})    = 1 (out [4], left {600, 0})
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "\255\336\355\376\26\0\0\0", 8, 0) = 8
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
gettimeofday({1095744684, 956458}, NULL) = 0
select(5, NULL, [4], NULL, {600, 0})    = 1 (out [4], left {600, 0})
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "PREFERENCES GETWSPORT\0", 22, 0) = 22
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
gettimeofday({1095744684, 959154}, NULL) = 0
select(5, NULL, [4], NULL, {600, 0})    = 1 (out [4], left {600, 0})
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "\355\376\255\336\0\0\0\0", 8, 0) = 8
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
gettimeofday({1095744684, 959628}, NULL) = 0
gettimeofday({1095744684, 959674}, NULL) = 0
gettimeofday({1095744684, 959740}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 960032}, NULL) = 0
gettimeofday({1095744684, 960081}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 960263}, NULL) = 0
gettimeofday({1095744684, 960310}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 960485}, NULL) = 0
gettimeofday({1095744684, 960531}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 960707}, NULL) = 0
gettimeofday({1095744684, 960752}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 960948}, NULL) = 0
gettimeofday({1095744684, 960994}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 961171}, NULL) = 0
gettimeofday({1095744684, 961216}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 961391}, NULL) = 0
gettimeofday({1095744684, 961436}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 961611}, NULL) = 0
gettimeofday({1095744684, 961657}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 961831}, NULL) = 0
gettimeofday({1095744684, 961895}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 962071}, NULL) = 0
gettimeofday({1095744684, 962117}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 962292}, NULL) = 0
gettimeofday({1095744684, 962337}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 962512}, NULL) = 0
gettimeofday({1095744684, 962557}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 962732}, NULL) = 0
gettimeofday({1095744684, 962778}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 3, 0
) = 0
gettimeofday({1095744684, 962971}, NULL) = 0
gettimeofday({1095744684, 963016}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
gettimeofday({1095744685, 770514}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
recv(4, "\5", 1, MSG_PEEK)              = 1
gettimeofday({1095744685, 776834}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
gettimeofday({1095744685, 781072}, NULL) = 0
gettimeofday({1095744685, 782393}, NULL) = 0
select(5, [4], NULL, NULL, {600, 0})    = 1 (in [4], left {600, 0})
recv(4, "\5\0", 2, 0)                   = 2
gettimeofday({1095744685, 786303}, NULL) = 0
gettimeofday({1095744685, 787402}, NULL) = 0
gettimeofday({1095744685, 788470}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
gettimeofday({1095744685, 792008}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
recv(4, "\255", 1, MSG_PEEK)            = 1
gettimeofday({1095744685, 796831}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
select(5, [4], NULL, NULL, {600, 0})    = 1 (in [4], left {600, 0})
recv(4, "\255\336\355\376\5\0\0\0", 8, 0) = 8
gettimeofday({1095744685, 802837}, NULL) = 0
gettimeofday({1095744685, 803881}, NULL) = 0
gettimeofday({1095744685, 804961}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
gettimeofday({1095744685, 808725}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
recv(4, "4", 1, MSG_PEEK)               = 1
gettimeofday({1095744685, 813498}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
select(5, [4], NULL, NULL, {600, 0})    = 1 (in [4], left {600, 0})
recv(4, "4711\0", 5, 0)                 = 5
gettimeofday({1095744685, 819484}, NULL) = 0
gettimeofday({1095744685, 820542}, NULL) = 0
gettimeofday({1095744685, 821799}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
gettimeofday({1095744685, 825309}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN, revent
s=POLLIN}], 3, 0) = 1
recv(4, "\355", 1, MSG_PEEK)            = 1
gettimeofday({1095744685, 830357}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
select(5, [4], NULL, NULL, {600, 0})    = 1 (in [4], left {600, 0})
recv(4, "\355\376\255\336\0\0\0\0", 8, 0) = 8
sched_get_priority_max(0)               = 0
sched_get_priority_min(0)               = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
pipe([7, 8])                            = 0
clone(child_stack=0x80c9d60, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND)
= 2107
write(8, "[\202\0@\5\0\0\0\0\0\0\0\3506e@\300\363\377\277\307\201"..., 148) = 14
8
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(8, "\240\220f@\0\0\0\0P\365\377\277\260VB@\350X\f\10\0\0\0"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([]
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(1, "Web Server: Started\n", 20Web Server: Started
)   = 20
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40
dc3000
write(1, "amuleweb$ ", 10amuleweb$ )              = 10
read(0,
WSThread: Thread started
WSThread: created service
WSThread: created socket listening on :4711
0x40dc3000, 1024)               = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
read(0,

Output ends at this point. Nothing happens. Even if I connect to port 4711 (it's possible as mentioned).
What about the strange "SIGRTMIN"-Signal? Does it really need to get timeofday so often?

Thanks for reading!
Regards,
Rainer
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amuleweb what is it doing?
« Reply #2 on: September 21, 2004, 12:14:32 PM »

dubbaluga,

aMuleweb works for me, and I get:

$ telnet localhost 4711
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

$ telnet localhost 4712
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

Code: [Select]
...
gettimeofday({1095761831, 288690}, NULL) = 0
select(4, [3], [], [3], {600, 0})       = 1 (in [3], left {600, 0})
recv(3, "4", 1, MSG_PEEK)               = 1
select(4, [3], NULL, NULL, {600, 0})    = 1 (in [3], left {600, 0})
recv(3, "4711", 4, 0)                   = 4
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf65db000
mprotect(0xf65db000, 4096, PROT_NONE)   = 0
clone(child_stack=0xf6fdbb08, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xf6fdbbf8, {entry_number:6, base_addr:0xf6fdbbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xf6fdbbf8) = 7217
futex(0x82748dc, FUTEX_WAKE, 1)         = 1
write(1, "Web Server: Started\n", 20Web Server: Started
)   = 20
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 8), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf65da000
write(1, "aMuleweb$ ", 10aMuleweb$ )              = 10
read(0,
WSThread: Thread started
WSThread: created service
WSThread: created socket listening on :4711

Could it be that you have a firewall blocking you? Try "iptables -n -L" as root.

Cheers!
Logged

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
Don't think it's the firewall
« Reply #3 on: September 21, 2004, 12:44:36 PM »

Hi,

and thank you very much!

I don't think it's the firewall blocking my requests (I'm regrettably no specialist in this area :( ). Here is my output of "iptables -n -L":

Code: [Select]
Chain INPUT (policy DROP)
target     prot opt source               destination        
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:4662
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:4711
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:4712
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5801
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5901
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state INVALID,NEW,RELATED,ESTABLISHED

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        

I think it must be one of these dump errors, easy to repair and airy to overlook X(

Regards,
Rainer
« Last Edit: September 21, 2004, 01:33:51 PM by dubbaluga »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amuleweb what is it doing?
« Reply #4 on: September 21, 2004, 03:42:41 PM »

dubbaluga,

Your firewall seems ok, but you should try a test by disabling it. Firewall rules are tricky. Try this as root:

$ iptables-save > ipt.sav
$ iptables -F

run your tests...

$ iptables-restore < ipt.sav

It is strange, but i dont get the HTTP header on telnet, but any browser works.

Cheers!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuleweb what is it doing?
« Reply #5 on: September 21, 2004, 03:50:12 PM »

I wonder if he's telneting webserver or EC
Logged

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
No it can't be the firewall
« Reply #6 on: September 21, 2004, 05:03:29 PM »

So, i completely shut down the whole firewall (since the machine is already protected through a netgear router).

Same as before :(

My "iptables -n -L" now shows:
Code: [Select]
Chain INPUT (policy ACCEPT)
target     prot opt source               destination        

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

This is my "amuleweb"-output:

Code: [Select]
rpoisel@fileserver_eth0 tmp $ amuleweb

This is amuleweb (WebInterface)

Enter password for mule connection (return if no pass defined):

Creating client...
Now doing connection...
Using host localhost port 4712

Trying to connect (timeout = 10 sec) ...
Succeeded ! Connection established

---------------------------------
|       aMule Web Server        |
---------------------------------


Use 'Help' for command list

Web Server: Started
amuleweb$
WSThread: Thread started
WSThread: created service
WSThread: created socket listening on :4711

"netstat -tan" shows:

Code: [Select]
fileserver_eth0 music # netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:960             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:32768           0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:4711            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:4712            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:940             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:6001            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:4662            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      
tcp      393      0 192.168.0.100:4711      192.168.0.13:32938      ESTABLISHED
tcp       38      0 127.0.0.1:4711          127.0.0.1:32774         CLOSE_WAIT  
tcp        0      0 192.168.0.100:5901      192.168.0.13:32937      ESTABLISHED
tcp        0      0 127.0.0.1:4712          127.0.0.1:32773         ESTABLISHED
tcp        0      0 127.0.0.1:32773         127.0.0.1:4712          ESTABLISHED
tcp        0      0 192.168.0.100:22        192.168.0.13:32771      ESTABLISHED
tcp        0      0 192.168.0.100:22        192.168.0.13:32772      ESTABLISHED

So it's listening on all interfaces.

What is meant with "EC"?

Thx for reading!
Regards,
Rainer
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuleweb what is it doing?
« Reply #7 on: September 21, 2004, 05:13:04 PM »

hey

have you read the webserver HowTo on wiki.amule.org !?!
you have to use the webbrowser and browse to
http://localhost:4711
stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuleweb what is it doing?
« Reply #8 on: September 21, 2004, 05:26:05 PM »

Ah, so he's not telnetting at EC :)


(BTW: for knowing what EC is, I'll post later. busy now).
Logged

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
Yes,...
« Reply #9 on: September 21, 2004, 06:34:05 PM »

...i read the webserver how-to very often.

I applied all the values in the config-files as described...
Maybe I should sleep over it for a night...

Thx!

Regards,
Rainer
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuleweb what is it doing?
« Reply #10 on: September 21, 2004, 07:41:49 PM »

upssala :)
I forgot something which I should read more carefull :)

you are running gentoo and I asume you also run the ebuild from gentoo...
so there is a tiny little mistake in taht ebuild :)

it does not download and install wxBase :) and that is why your webserver starts...but well does not work really good ;)
unmerge and install wxBAse then reemerge the amule again...and I think that will do ....
so but we dont make the ebuilds

Stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."