aMule Forum
English => aMule Help => Topic started by: bisounux on January 23, 2007, 04:55:14 PM
-
Hey
I have a problem with my amuleweb.
Context :
- I launch amuled ==> OK
- I launch amuleweb ==> OK
- I connect to http://myIP:4711 ==>OK (login page)
- I log in ==> OK
In the default interface i can click everywhere except on Kad and Statistics. If I do that amuleweb crash :evil:!!!!
Here my log :
Error: can't open file '/root/.aMule/webserver/php-default/amule_stats_download.png' (error 2: No such file or directory)
CFileImage: failed to open /root/.aMule/webserver/php-default/amule_stats_download.png
Segmentation fault: 11 (core dumped)
It can't find the file. I copy scr/webserver in ~/.aMule/ but it still doesn't work.
Please help me, I look for this probleme since ten hours, but I can't find a solution.
Thanks for reply.
-
Well, first of all, it's not a good idea running aMule as root. Second, try installing it, that usually solves all of the problems (aMule seems not to be installed, since it's looking for files in the homdir that should be getting from the installation dir)
Regards.
-
You're right, it's not a good idea to run aMule as root.
I had install aMule with ports. (make install) I have made install but it doesn't work.
Why do you think that my aMule is not install ?
Is it possible that an error occurred until the install process ?
Perhaps it's only amuleweb which isn't install...
When I put pkg_info | grep aMule
, aMule 2.1.3_2 appear !
Thanks for your help, it's very usefull
Regards
-
What do you mean ports? are you running aMule on FreeBSD? (I know FreeBSD uses ports for software...) if not, tell us which OS are you using. Or try getting some of the latest CVS (SVN) versions and compile aMule yourself.
Regards.
-
Yes, aMule's running on FreeBSD 6.2.
I compile aMule 2.1.3_2 (with "make") and install it ("make PREFIX="/MyPath" install").
I try lot of things since my last post but it doesn't work.
Amuled works well (I can dowload and upload files), but amuleweb doesn't work, when i go on stats or kad page, amuleweb stop !! It stop due a lack of image.
Processing request [redirected]: amuleweb-main-shared.php
Session ok, logged in
Session ok, logged in
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
Processing request [original]: amuleweb-main-stats.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-stats.php
Session ok, logged in
Session ok, logged in
23:08:19: Error: can't open file '/usr/home/foo/amule/share/gnome/amule/webserver/php-default/amule_stats_download.png' (error 2: No such file or directory)
CFileImage: failed to open /usr/home/foo/amule/share/gnome/amule/webserver/php-default/amule_stats_download.png
Segmentation fault: 11
Where i can find this files ? I think that only dynamics image don't work, like progress bar, stats and others ....
I'm glad that you answered.
Regards.
P.S : aMule's running, now, with a normal user....(thanks :) )
-
Hi bisounux!
Dynamics images need libpng and libgd (and their development files i.e. the header/includes).
Please make sure you have installed/compiled these two packages.
-
Hey,
Thank you for your help.
I install this "gstreamer-plugins-libpng-0.10.5_1,2" ( libpng for FreeBSD (http://www.freebsd.org/cgi/ports.cgi?query=libpng&stype=all&sektion=all) ) and this "fpc-libgd-2.0.4_1 " (libgd for FreeBSD (http://www.freebsd.org/cgi/ports.cgi?query=libgd&stype=all&sektion=all)). But it still doesn't work... ;( (i'm stupid, sorry !!)
Do you think that it good lib or not ?
I must notify that i install libs, amule in a different path than the default path. Is it important ?
Thank you very much for your reply.
Regards.
-
Hi bisounux!
No, you're mistaken. The port names are without the 'lib' prefix.
GD: http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gd/
PNG: http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/png/
If there are problems finding libgd or libpng:
--with-gdlib-prefix=PREFIX prefix where gdlib is installed
--with-libpng-prefix=PREFIX prefix where libpng is installed
(Check out ./configure --help for more prefix-switches in case I choose the wrong ones)
-
Can you please post backtrace of the problem? Even if file is missing or dynamic images disabled, code is not supposed to crash.
-
Hey,
Where I can find backtrace ?
I don't try new lib now... I hope that it will work.
Thank you for your help.
Regards
-
Hey,
Arf !! ;( It's doesn't work.... I'm mad...I've the same problem with amuleweb!!
Ameled work well except an error at launch : execvp(amuleweb, --amule-config-file=/home/quentin/.aMule/amule.conf) failed with error 2!
ERROR: Error You requested to run webserver from startup, but the amuleweb binary cannot be run. Please install the package containing aMule webserver, or compile aMule using --enable-webserver and run make install
It's too strange for me. I really don't understand where is the problem ?
Because amuleweb is install. I can lauch it ($: ~/amule/bin/.amuleweb ). And it works...really bad, but it works...
I'm desperate...
Thanks for your help. I really need it.
Regards
-
wiki page about backtraces (http://www.amule.org/wiki/index.php/Backtraces)
aMule can't find amuleweb in $PATH (well...I hope it works the same way on BSD as on Linux...) and that's why it doesn't work.
Rename .amuleweb to amuleweb (without the dot) and update $PATH before running aMule.
e.g.
#!/bin/bash
export PATH=$PATH:/home/quentin/amule/bin
amule