aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: WebServer - No such file or directory  (Read 2728 times)

GreenF

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
WebServer - No such file or directory
« on: July 27, 2006, 10:56:44 AM »

When I navigate on WebServer (For the first time), I receive ..
AM: Error: can't open file '/usr/local/share/amule/webserver/php-default/amule_stats_kad.png' (error 2: No such file or directory)

or
AM: Error: can't open file '/usr/local/share/amule/webserver/php-default/amule_stats_upload.png' (error 2: No such file or directory)

and the WebServer turn off.
I use amuled.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: WebServer - No such file or directory
« Reply #1 on: July 27, 2006, 02:57:11 PM »

Welcome GreenF!

Do you have libgd and libpng installed? As the pictures are generated dynamically during runtime you need these two (iirc).

But usually this shouldn't cause a crash, could you please compile aMuleWeb with debug enabled (configure-flag --enable-debug) and run it in gdb? (See the wiki for a manual on how to use gdb)
Logged

GreenF

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: WebServer - No such file or directory
« Reply #2 on: July 27, 2006, 03:19:15 PM »

i have installed GD, but now it's
Error: can't open file '/usr/local/share/amule/webserver/php-default/red.gif' (error 2: No such file or directory)

 ;(

-EDIT-
i have no segfault, the webserver is just ... offline after the error :\
ps aux return:
p2p       1378  0.5  0.0      0     0 pts/0    Z+   15:23   0:00 [amuleweb]
if that can help you :D
« Last Edit: July 27, 2006, 03:25:49 PM by GreenF »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: WebServer - No such file or directory
« Reply #3 on: July 27, 2006, 05:59:56 PM »

libgd AND libpng are required and after the installation you need to recompile amuleweb
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."

lfroen

  • Guest
Re: WebServer - No such file or directory
« Reply #4 on: July 29, 2006, 09:47:14 PM »

Quote
AM: Error: can't open file '/usr/local/share/amule/webserver/php-default/amule_stats_kad.png' (error 2: No such file or directory)

You install must be broken. Have you checked if you actually have those files?
Logged