aMule Forum
English => aMule Help => Topic started by: linuxfever on January 24, 2008, 10:35:59 AM
-
Hello,
I installed and configured amule. When I point my browser to http://myIP:4711 then I see the login screen of the aMule Webinterface. But when I type in the password, the browser displays "Connection refused". Sometimes some images were loaded before the webserver crashes. After the crash, "ps" on the console shows me that amuleweb isn't running anymore. I have to restart amuled to load the webserver again. amulecmd works well. Anybody knows this issue? What can I do?
sorry about my english ;)
Thanks!
-
I need more information to address your problem. What version is that? Did you compiled it yourself? Can you produce core dump of webserver?
-
Version of aMule, amuleweb and amulecmd is 2.1.3.
I haven't compiled it by myself. I'm running Linux on my NSLU2 (SlugOS), so I installed aMule with the ipk-package from the nslu2-linux.org optware-feed. I followed this tutorial for installation: http://www.nslu2-linux.org/wiki/Optware/Amule
aMule itself runs well, but amuleweb crashes everytime I log into the webinterface
-
I don't know nslu2, is it possible to open a terminal and run amuleweb manually, so that you can see its output?
-
I started amuleweb manually. this is the output from start til the crash on Login:
This is amuleweb 2.1.3
Creating client...
Succeeded! Connection established to aMule 2.1.3
--------------------------------------
| aMule Web Server |
--------------------------------------
Use 'Help' for command list
Web Server: Started
WSThread: Thread started
aMuleweb$ WSThread: created socket listening on :8080
Processing request [original]:
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php
Session ok, not logged in
Processing request [original]:
Session ok, not logged in
Checking password
Password ok
Processing request [redirected]: index.php
Illegal instruction
-
Ok, we are almost there. Are you able to run amuleweb inside gdb on this hardware? Or maybe generate a core file to analyze it with gdb? We need to find out where it has crashed. For now I know it was after src/webserver/src/WebServer.cpp:1885.
-
From my (retired) experience, this totally seems like a aligment issue.
-
Hi,
sorry but I don't know what gdb is.
Has it something to do with a graphical interface? Then No, there is no X-server running o the machine
Or is it about development/compiling? Unfortunately I have no experience i such things.
I had no idea, that this is so complicated, I thought it is simply a wrong setting in my amule.conf
-
linuxfever,
gdb is the debugger, no relation to X whatsoever. You see, we must find out the exact line of the crash, and using a debugger can help a lot. Maybe take a look here:
http://www.amule.org/wiki/index.php/Backtraces
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind
Also, there are lots of information here:
http://www.amule.org/wiki/index.php/Main_Page
Cheers!
-
Version of aMule, amuleweb and amulecmd is 2.1.3.
I haven't compiled it by myself. I'm running Linux on my NSLU2 (SlugOS), so I installed aMule with the ipk-package from the nslu2-linux.org optware-feed. I followed this tutorial for installation: http://www.nslu2-linux.org/wiki/Optware/Amule
AFAIK - this version is broken. My opinion - buggy compiler, which creates floating point opcodes for CPU without FP unit. amuleweb failing on invalid opcode where floating point division is performed.