aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Strange problem with aMule - won't start?  (Read 3708 times)

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Strange problem with aMule - won't start?
« on: May 03, 2006, 12:22:51 PM »

Hi!
First, I have to informe everyone that I'm totally new to Linux, and a total newbie in that regard.

Have used eMule for years though, and after setting up a file-server I also wanted to have aMule on that to handle my downloads, freeing up my XP-computer for other tasks.

Have succesfully installed Slackware 10.2, and gotten Samba going and fileserving is working as a charm.

But I can't get aMule going.

When I write "amule" in root (without starting X) nothing happens.
When I write "amule" again, I get "Illegal instruction".

Have also tried starting X and trying to run amule from Terminal the same way gives me the same results...

Have read on this forum, but the closest I get is the tips on the window not showing up because of some settings in .aMule.conf.
I can't find that file, and I also think that I should get the message that aMule is already running if that was the problem...

Any tips for a helpless newbie ? ;)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Strange problem with aMule - won't start?
« Reply #1 on: May 03, 2006, 02:43:20 PM »

Hello  Duckman!

Please try these two commands in the terminal and post the output here:
Code: [Select]
ls /usr/bin | grep amule
ls /usr/local/bin | grep amule

If you have no x-server running, then you'll need amuled, the daemon-version of aMule.
You'll find packages made by theetjuh here. (You have to install both, wx and amule)
The file amule.conf resides in the hidden folder .aMule located in your home-dir.
Open it e.g. by typing vim ~/.aMule/amule.conf . If there's an error 'file not found' then you have to run amule(d) at least once before, it will create the config-file when there is none.
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #2 on: May 03, 2006, 03:59:16 PM »

Quote
Originally posted by wuischke
Hello  Duckman!

Please try these two commands in the terminal and post the output here:
Code: [Select]
ls /usr/bin | grep amule
ls /usr/local/bin | grep amule

If you have no x-server running, then you'll need amuled, the daemon-version of aMule.
You'll find packages made by theetjuh here. (You have to install both, wx and amule)
The file amule.conf resides in the hidden folder .aMule located in your home-dir.
Open it e.g. by typing vim ~/.aMule/amule.conf . If there's an error 'file not found' then you have to run amule(d) at least once before, it will create the config-file when there is none.

Hi, thanks :)

Code: [Select]
ls /usr/bin | grep amule
Gives:
amule*
amulecmd*
amuled*
amuleweb*

The other gives nothing, no error either.
I have installed aMule using the packages in your link. Compiling is a bit beyond my scope at the moment.
I've tried running aMule both with and without X.

The reason I can't find the amule.conf is probably because aMule haven't run jet ;)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Strange problem with aMule - won't start?
« Reply #3 on: May 03, 2006, 04:12:26 PM »

I wonder what the star means. I can't recall that I ever saw it on my machines.
It would be nice if you could execute ls -l /usr/bin | grep amule to provide some more details.
Another thing you should try is to type /usr/bin/amule (or amuled) in order to start amule(d).
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #4 on: May 03, 2006, 04:34:55 PM »

Quote
Originally posted by wuischke
I wonder what the star means. I can't recall that I ever saw it on my machines.
It would be nice if you could execute ls -l /usr/bin | grep amule to provide some more details.
Another thing you should try is to type /usr/bin/amule (or amuled) in order to start amule(d).

Thanks for helping out, I really appreciate it :)

Okay...
ls -l /usr/bin | grep amule:

-rwxr-xr-x  1 root bin  3758100  2006-03-18  12:37  amule*
-rwxr-xr-x  1 root bin    261668  2006-03-18  12:37  amulecmd*
-rwxr-xr-x  1 root bin  2390284  2006-03-18  12:37  amuled*
-rwxr-xr-x  1 root bin    551404  2006-03-18  12:37  amule*

/usr/bin/amule:
"Illegal instruction"

/usr/bin/amuled
"Illegal instruction"
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Strange problem with aMule - won't start?
« Reply #5 on: May 03, 2006, 04:52:01 PM »

OK, let's try something else (I'm honest: I don't know anything about the error, but I read something that might help):
Please execute:
Code: [Select]
amule --version
amule --help
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #6 on: May 03, 2006, 05:11:23 PM »

Both those give me "Illegal instruction" ... ??
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Strange problem with aMule - won't start?
« Reply #7 on: May 03, 2006, 05:18:58 PM »

you have wxGTK installed?

since you are so good at posting

ls -la /usr/local/bin/wx*

and

ls -la /usr/bin/wx*

what I also could think of that it might be running for the wrong architekture, like 32b amule on a 64b slackware or smth alike
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."

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Strange problem with aMule - won't start?
« Reply #8 on: May 03, 2006, 05:21:23 PM »

Weird. What's your machines processor?
(The next step is maybe to compile aMule on your own...Shouldn't be too hard, except for me not being able to help with installing gcc and other required tools on Slackware in case they are not installed)
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #9 on: May 03, 2006, 05:38:12 PM »

Quote
Originally posted by stefanero
you have wxGTK installed?

since you are so good at posting

ls -la /usr/local/bin/wx*

and

ls -la /usr/bin/wx*

what I also could think of that it might be running for the wrong architekture, like 32b amule on a 64b slackware or smth alike

ls -la /usr/local/bin/wx*:

No such file or directory.

ls -la /usr/bin/wx*:

lrwxrwxrwx   1   root   root   43  2006-05-01  16:33  /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.6*
-rwxr-xr-x  1  root  bin  7696  2005-07-21  20:27  /usr/bin/wxcopy*
-rwxr-xr-x  1  root  bin  6132  2005-07-21  20:27  /usr/bin/wxpaste*
lrwxrwxrwx  1  root   root  8  2006-05-01  16:33  /usr/bin/wxrc -> wxrc-2.6*
-rwxr-xr-x  1  root  bin  90887  2005-11-07  21.19  /usr/bin/wxrc-2.6*


I'm using the Packages I found for Slackware on this forum, and the isos for Slackware I found here:
http://ftp://ftp.slackware.no/pub/linux/slackware/slackware-10.2-iso/


(I hope there are no typos, as I'm posting this from my XP-machine, and I have to write stuff down for then posting it here... I know... I know... it's lame...;) )
« Last Edit: May 03, 2006, 05:42:06 PM by Duckman »
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #10 on: May 03, 2006, 05:40:28 PM »

Quote
Originally posted by wuischke
Weird. What's your machines processor?
(The next step is maybe to compile aMule on your own...Shouldn't be too hard, except for me not being able to help with installing gcc and other required tools on Slackware in case they are not installed)

Uhm.
I'm using an old computer as file-server, to prevent my girlfriend from throwing it away ;)
"If the computer is NOT in use, it is to be thrown away...."...

So it's a P200, 64MB, with a 8 GB and a 250GB diskdrive.

GCC is installed, I spent a week getting samba to run, so that I'm sure of ;)

And thanks for being patient and trying to help guys :)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Strange problem with aMule - won't start?
« Reply #11 on: May 03, 2006, 06:32:30 PM »

OK, there's the problem.
The packages are compiled on an i686-machine and you have an i586.
You have to compile both, wxGTK (or wxBase) and aMule.
You should find all necessary information on the wiki-page about compilation, just ask if you encounter any problems. :)
Logged

Duckman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Strange problem with aMule - won't start?
« Reply #12 on: May 03, 2006, 06:47:07 PM »

Quote
Originally posted by wuischke
OK, there's the problem.
The packages are compiled on an i686-machine and you have an i586.
You have to compile both, wxGTK (or wxBase) and aMule.
You should find all necessary information on the wiki-page about compilation, just ask if you encounter any problems. :)

Ooops..
Sorry for wasting everybodys time...
Guess that teaches me to give all valid info in the first post... *blush*

Thanks for helping out! I guess I'll give compiling a shot now ;)
Logged