aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem with amule webserver  (Read 4172 times)

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Problem with amule webserver
« on: February 26, 2006, 01:16:42 AM »

I run amuled on my xbox. On start everything runs perfect. I can run the webinterface in my browser and at first time it runs. But after 2 or 3 times, the webserver seems to crash and I cant reach it. Amuled runs further without any error. What can I do, that the webserver does not crash?
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Problem with amule webserver
« Reply #1 on: February 26, 2006, 02:16:54 AM »

As the forum description says "Questions about our board, NOT ABOUT AMULE"... moved to 'aMule Help'. ;)
Logged
Current aMule CVS builds for OS X can be found here.

lfroen

  • Guest
Re: Problem with amule webserver
« Reply #2 on: February 26, 2006, 08:20:31 AM »

Quote
What can I do, that the webserver does not crash?
Provide me more detailed info about the crash (versions, logs, backtraces) so I will have chance to fix the bug(s).
Logged

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Problem with amule webserver
« Reply #3 on: February 26, 2006, 11:46:07 AM »

My OS is Gentoox Home v4.0.

I run amule 2.1.0 and the actual cvs, at both the same problem.

I've got no backtrace, because amule dont crash, only the webserver crash and is not reachable.

Do you need more information?
Logged

lfroen

  • Guest
Re: Problem with amule webserver
« Reply #4 on: February 26, 2006, 01:37:46 PM »

Quote
Do you need more information?
Yes. If amuleweb created core dump, load it into gdb and use "bt" command. At least provide log printed on console.
Logged

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Problem with amule webserver
« Reply #5 on: February 26, 2006, 08:34:28 PM »

what I have to do for it?
Logged

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Problem with amule webserver
« Reply #6 on: February 27, 2006, 01:51:08 PM »

ok here is the backtrace:

(gdb) bt
#0  0x4003faa6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

(gdb) bt full
#0  0x4003faa6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

(gdb) thread apply all bt

Thread 6 (Thread 65541 (LWP 1562)):
#0  0x4003faa6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

Thread 4 (Thread 32771 (LWP 1559)):
#0  0x4003faa6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

Thread 2 (Thread 32769 (LWP 1557)):
#0  0x4048161a in poll () from /lib/libc.so.6
#1  0x40038c80 in __pthread_manager () from /lib/libpthread.so.0
#2  0x40038f83 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x40489daa in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 1554)):
#0  0x4003f2cb in read () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()
#0  0x4003faa6 in nanosleep () from /lib/libpthread.so.0

I hope it is correct?
Logged

lfroen

  • Guest
Re: Problem with amule webserver
« Reply #7 on: February 27, 2006, 05:07:23 PM »

Quote
I hope it is correct?
Sorry, but I don't see it crashed. All threads are runnable. Something went wrong there. Please post console log after running amuleweb without -q flag.
Logged

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Problem with amule webserver
« Reply #8 on: February 27, 2006, 06:45:52 PM »

CECSocket error: Input/Output error
CECSocket error: Input/Output error
CECSocket error: Input/Output error
CECSocket error: Input/Output error
CECSocket error: Input/Output error
CECSocket error: Input/Output error
CECSocket error: Input/Output error
PHP Error: Argument of 'foreach' must be array
CECSocket error: Input/Output error

thats the output.

Amule does not crash! It is only the webserver that crashes. So that amule is running, but I cant reach the webserver with my Browser!
« Last Edit: February 27, 2006, 06:46:09 PM by chkoehler24 »
Logged

chkoehler24

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Problem with amule webserver
« Reply #9 on: March 02, 2006, 12:07:51 PM »

So can you help me or not?

What does this output means?

A while after that, the webserver crashes...
Logged

lfroen

  • Guest
Re: Problem with amule webserver
« Reply #10 on: March 02, 2006, 01:34:12 PM »

Quote
What does this output means?
This output means that amuleweb detects error in communication with core. After that, it doesn't crash - it  hang. This probably indicate bug in EC socket  code.

Quote
So can you help me or not?
I will try to locate the bug.

Can you try to run amuleweb on another machine ? I want to understand whether problem on server or client side.
Logged