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][ubuntu feisty] Why isn't working?  (Read 2707 times)

saxtro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
[amuleweb][ubuntu feisty] Why isn't working?
« on: April 17, 2007, 01:02:36 AM »

Hi all,
they are some days i have some strange crashes with amuleweb.
The crashes comes because there are some missing files like amule_stats_kad.png, amule_stats_conncount.pnp, amule_stats_upload.png
when i execute
Code: [Select]
$ cas -p
HTML file created.
Segmentation fault (core dumped)
the HTML output will create but cas forgot to add the image
The problem occur  with the self compiled amuled 2.1.3 but also with the ubuntu's repository amule
to fix the problem i've painted some custom.png
Any idea?
Logged

saxtro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #1 on: April 24, 2007, 10:58:19 PM »

here a log of amule
Code: [Select]
$ amule
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/utente/.aMule/Temp.
Loading PartFile 5 of 5
All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:6674
*** TCP socket (TCP) listening on 0.0.0.0:6671
*** Client UDP socket (extended eMule) at 0.0.0.0:6262
Adding file /home/utente/.aMule/Temp/001.part.met to shares
Adding file /home/utente/.aMule/Temp/004.part.met to shares
Adding file /home/utente/.aMule/Temp/005.part.met to shares
Adding file /home/utente/.aMule/Temp/006.part.met to shares
Adding file /home/utente/.aMule/Temp/007.part.met to shares
10:57:07 PM: Error: can't open file '/usr/share/amule/webserver/php-default/blue1.gif' (error 2: No such file or directory)

another crash
Code: [Select]
$ amuleweb --amule-config-file=/home/utente/.aMule/amule.conf
Template  not found, reverting to default

02:27:32 AM: Error: can't open file '/usr/share/amule/webserver/php-default/amule_stats_download.png' (error 2: No such file or directory)
CFileImage: failed to open /usr/share/amule/webserver/php-default/amule_stats_download.png
Segmentation fault (core dumped)
when it dont found an image amuleweb crash...
up, none know how fix? (except with custom images...)
« Last Edit: April 25, 2007, 02:56:36 AM by saxtro »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #2 on: April 25, 2007, 05:07:02 AM »

Hi saxtro!

Do yo have libpng and libgd installed?
Logged

saxtro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #3 on: April 26, 2007, 01:36:46 AM »

Hi wuischke!
i have on my sistem
libgd1-xpm
libgd2-xpm
libpng3
libpng12-0
from feisty's repositories
i need some other lib?
thx for the support
Logged

lfroen

  • Guest
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #4 on: April 26, 2007, 07:42:51 AM »

I suspect that what actually happen is that amuleweb you running has been compiled without PNG support. Is there some way (I don't have Debian/Ubuntu at my disposal) to verify what "configure" flags were used during package build?
Logged

saxtro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #5 on: April 27, 2007, 01:05:10 AM »

I dont know how verify, anyway i'm recompiling amule in this way:
configure parametres:
Code: [Select]
./configure --prefix=/usr --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc --with-zlib --with-gdlib-config=/usr/bin/gdlib-config --with-libpng-config=/usr/bin/libpng-config --with-wx-config=/usr/bin/wx-config --with-x --with-gnu-ld
configure script, end of work
Code: [Select]
Configure script has finished system check.

  Configured aMule 2.1.3 for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.1
                                       crypto++              embedded
                                       libpng                1.2.15beta5
                                       libgd                 2.0.34
                                       zlib                  1.2.3
during configure i've seen this:
Code: [Select]
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... ./configure: line 6934: test: 1beta5: integer expression expected
./configure: line 6937: test: 1beta5: integer expression expected
no (version 1.2.15beta5 is not new enough)
configure:
        WARNING: libpng-devel >= 1.2.0 is needed for amuleweb
you think i can continue with make command?

edit: compiled without problems but...
Code: [Select]
$ amuled
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/utente/.aMule/Temp.
Loading PartFile 5 of 5
All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:6674
*** TCP socket (TCP) listening on 0.0.0.0:6671
*** Client UDP socket (extended eMule) at 0.0.0.0:6262
Adding file /home/utente/.aMule/Temp/001.part.met to shares
Adding file /home/utente/.aMule/Temp/002.part.met to shares
Adding file /home/utente/.aMule/Temp/003.part.met to shares
Adding file /home/utente/.aMule/Temp/004.part.met to shares
Adding file /home/utente/.aMule/Temp/007.part.met to shares
01:47:55 AM: Error: can't open file '/usr/share/amule/webserver/php-default/red.gif' (error 2: No such file or directory)

amuleweb crash after the log in like the compiled from ubuntu staff, i have to copy red.gif, black.gif and blu.gif in the folder of webserver, and missing.png too to let amuleweb work, but i lost the stats images ;(
« Last Edit: April 27, 2007, 01:50:34 AM by saxtro »
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][ubuntu feisty] Why isn't working?
« Reply #6 on: April 27, 2007, 02:25:35 AM »

saxtro,

This is a known issue with debian, IIRC, and has already been fixed in current CVS tarballs. As you are a user capable of compiling stuff, I recommend that you get a recent aMule tarball here:
http://www.hirnriss.net/?area=cvs

Cheers!
Logged

saxtro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: [amuleweb][ubuntu feisty] Why isn't working?
« Reply #7 on: April 27, 2007, 11:31:02 AM »

Hi all,
i have compiled the 20070427 cvs tarball
Code: [Select]
$ amule  --even-if-lfroen-complains-this-will-stay -v
aMule CVS using wxGTK2 v2.8.1 (Snapshot: Fri Apr 27 07:02:02 CEST 2007) (OS: Linux)
it work good now :)
i need just to create some aliases with -even-if-lfroen-complains-this-will-stay option embedded, without it amule (compiled now with monolithic enaled) and amuled dont start...
thx all guys
Logged