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  (Read 5319 times)

airbedman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
amuleweb
« on: October 05, 2006, 12:42:53 PM »

I downloaded the os x binary version of this and only had the aMule binary, is there a separate amuleWeb binary, if not how do I configure this, the preferences have all been set, except the template, which again I don't seem to have.

Any help?
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: amuleweb
« Reply #1 on: October 05, 2006, 01:51:19 PM »

The aMule binary for Mac OS X is actually, like most OS X apps, an application bundle (i.e. a folder that does not look like a folder at first glance). Do a right-click (or a control-click if you don't have a multi-button mouse) on the aMule application in the Finder, and then choose "Show package contents" and you will see what's inside the application bundle. If you look into "Contents/MacOS" you will see a "amuleweb" file. That is the actual amuleweb binary that comes with aMule.

You can either start it manually from the Terminal using "/yourPathToAmule/aMule.app/Contents/MacOS/amuleweb" or by enabling webserver within the aMule preferences so that amuleweb is started when aMule is launched. For instructions on how to set up amuleweb, look around a bit in the wiki.

:)


EDIT:
The template is already bundled with aMule too. It's in "Resources/webserver/" within aMule.app.
Logged
Current aMule CVS builds for OS X can be found here.

airbedman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amuleweb
« Reply #2 on: October 05, 2006, 02:01:36 PM »

Excellent, i never realized that!

It's my first Mac, just got it last week, so am a little green about this stuff.
Logged

airbedman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Still no luck
« Reply #3 on: October 06, 2006, 08:38:04 AM »

When I start up a aMule a process is started called "(amuleweb)" - yes it has brackets, with a date of "1Jan70" which uses 0 mem/cpu.  It still does not respond.  Has anyone any ideas?
I have attached a pic of my remote controls screen, can anyone see what I am doing wrong.

In the Web template dialog I have tried all sorts of combinations, including the complete path from the root, the path from the resources etc, to no avail, what should be in there?
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amuleweb
« Reply #4 on: October 08, 2006, 07:16:35 AM »

It sounds like amuleweb is crashing.  Check the console.log to see if it wrote anything.  To see console.log, launch /Applications/Utilities/Console.app.  Copy what's written there when you launch aMule, and paste it to this thread.

Also, if it wrote a crash report, you can use Console to view that, too.  Press the Logs toolbar button and navigate to ~/Library/Logs > CrashReporter > amuleweb.crash.log.  Note that there are probably numerous reports in that log file, separated by asterisks ("****").  Select the latest one and save it to a file.  Then attach it to a post here, too.
Logged

airbedman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amuleweb
« Reply #5 on: October 08, 2006, 07:58:12 AM »

Hi,

Thanks for the help.  amuleweb is not generating anything in CrashReporter and when I run aMule I get the following in the console.log

Quote
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
Loading temp files from /Users/andy/Library/Application Support/aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /Users/andy/Documents/aMule Downloads/Movies/ shared
Empty dir /aMule/ shared
Enter password for mule connection:
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
amule(330,0x2017c00) malloc: ***  Deallocation of a pointer not malloced: 0xb009c8f5; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
amule(330,0x2017c00) malloc: ***  Deallocation of a pointer not malloced: 0xb009c8f1; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

Any ideas?
Logged

airbedman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amuleweb
« Reply #6 on: October 09, 2006, 05:49:49 PM »

Anyone?
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: amuleweb
« Reply #7 on: October 22, 2006, 06:00:51 PM »

Have you tried starting amuleweb manually through the terminal (by cd'ing into the folder with the aMule app and then running "./aMule.app/Contents/MacOS/amuleweb")?
Logged
Current aMule CVS builds for OS X can be found here.