aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crashes in aMule and problems with amuled  (Read 3051 times)

PhoenixX

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Crashes in aMule and problems with amuled
« on: December 29, 2004, 05:21:49 PM »

Hi!

  I installed linux recently and had to install some ed2k client - I found aMule :). I'm running my Slackware 10 as a router for local systems( with ip masqerading).
  I got problems running the gui version in KDE - it starts up ok and works just fine - even downloads/uploads things at times. However, if I try to minimize it, it vanishes. The same happens when i open the preferences dialog and close it with ok. Also, if I just click outside the window, it's gone.
  Another thing is, I wanted to run the daemon and generally use amulecmd. However, when I start the daemon it adds files from the temp dir( copied from eMule, could that be the problem? ) and then it says something like this:
Quote
*** TCP socket at 4662
ListenSocket: Ok.
*** UDP socket at 4672
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: No new files found.
AICH Thread: Thread terminated.
And this is where it stops - nothing happens no matter how long I wait....

 I built aMule with the options: --disable-debug --enable-optimise --enable-amulecmd --enable-amule-daemon. Also, I have wxGTK 2.5.3 installed. If I start amulecmd from another console I get:
Quote
Connection Failed. Unable to connect to the specified host

  I'm new to all this, so please answer as if you were explaining something to a
4-year old kid...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Crashes in aMule and problems with amuled
« Reply #1 on: December 29, 2004, 06:20:34 PM »

It's quite normal that amuled doesn't output any more messages.

For amulecmd to work, you have to enable external connections,
either in aMule GUI app:
  Preferences->Remote Controls->Enable External Connections and Use TCP instead of local unix socket

or by editing the configuration file ~/.eMule:
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712   <- any port here you want to use
ECPassword=    <- leave empty or md5sum of the password

you can easily generate a password hash by
echo "" | md5sum | awk '{print $1}'
Logged
concordia cum veritate

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Crashes in aMule and problems with amuled
« Reply #2 on: December 29, 2004, 06:21:04 PM »

hey

for amulecmd to work you need to enable some things in your eMule config  
check the howto for the webserver
http://wiki.amule.org

adn tehn webserver. this is same thing for amulecmd since tehy use the same way to connect to amuled

if you have any problem still, ask :)

stefanero
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: Crashes in aMule and problems with amuled
« Reply #3 on: December 29, 2004, 09:24:56 PM »

Quote
It's quite normal that amuled doesn't output any more messages.

Use amuled -o to see log output on stdout.
Logged

PhoenixX

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Crashes in aMule and problems with amuled
« Reply #4 on: December 29, 2004, 11:06:26 PM »

Thanks everyone! I'll try it and see what comes of it :)

//edit : works! except for one thing...i connect to the linux server via a ssh connection( i'm using putty) and in the first session i ran amuled. In the second session I ran amulecmd and everything seemed ok. But when i closed amulecmd and it's session amuled disconnected from the server....
 Now, this might be a simple thing, but please bear with me - I got linux since last week...So: is there a way to run amuled in the background?( it doesn't return to the prompt....) Also, what about that disconnection thing? Third, what about the gui? I don't mind since i won't be using, but i'm curious about it just vanishing after what seems to be a prefectly normal operation...:)
« Last Edit: December 29, 2004, 11:34:05 PM by PhoenixX »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Crashes in aMule and problems with amuled
« Reply #5 on: December 30, 2004, 03:30:32 PM »

have you tried running it like this:

amuled &

notice the ampersand at the end. This way, amule will run, but return to the console inmediatly, what is called daemon mode. This works for every program I've tried with.

Regards.
Logged

PhoenixX

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Crashes in aMule and problems with amuled
« Reply #6 on: December 30, 2004, 05:18:13 PM »

Thanks skolnick - exactly what i was looking for :)
Logged