aMule Forum

English => aMule Help => Topic started by: k4be on March 26, 2005, 07:59:16 PM

Title: can't start
Post by: k4be on March 26, 2005, 07:59:16 PM
i installed amule (it was really hard job) and it doesn't start... only jumping amule icon appears for few seconds and nothing else.. :( i can't describe it clearly because my english is not so good :|

how to change 'Slackware' from my info? I'm using Knoppix now.
Title: Re: can't start
Post by: stefanero on March 26, 2005, 08:44:56 PM
huh?

well to change slackware, go to profile and tehn edit...

knoppix is based on debian, how did you install it?
Title: Re: can't start
Post by: k4be on March 27, 2005, 11:24:05 AM
i deleted amule, ot it with 'apt-get install amule' and still doesn't work... what to do?
Title: Re: can't start
Post by: stefanero on March 27, 2005, 11:55:52 AM
check if you still have a
.eMule fie in your home dir, from teh last time amule ran...

if so delete it, but realy check close since its a hidden file
ls -la
shows them all.
Title: Re: can't start
Post by: k4be on March 27, 2005, 12:05:37 PM
this file does not exist, i also tell that amule has never been running before - it simply can't start.
Title: Re: can't start
Post by: stefanero on March 27, 2005, 01:57:26 PM
how do you start amule?

can you start it from console and tell me the backtrace taht it gives?
Title: Re: can't start
Post by: k4be on March 27, 2005, 02:19:16 PM
Code: [Select]
root@d1:~# amule
amule: error while loading shared libraries: libssl.so.0: cannot open shared object file: No such file or directory
root@d1:~#
If i start with shortcut, it seems to run normally, but nothing appears. File libssl.so is in /usr/lib.
Title: Re: can't start
Post by: stefanero on March 27, 2005, 02:21:55 PM
well it does not appear because of that error ;)

can you install openssl-devel and restart?
Title: Re: can't start
Post by: k4be on March 27, 2005, 02:28:51 PM
i installed it from slackware packages and from net, nothing changed.
Title: Re: can't start
Post by: phoenix on March 27, 2005, 02:40:23 PM
There is probably a missing link, for some reason:
$ ls -l /usr/lib/libssl.so
lrwxrwxrwx  1 root root 26 Dec 14 20:01 /usr/lib/libssl.so -> ../../lib/libssl.so.0.9.7a

So, what I suggest is:

1) find libssl.so.0. In my case:

$ whereis libssl.so.0
libssl.so: /lib/libssl.so.4 /usr/lib/libssl.so

$ ls -l /lib/libssl.so.*
-rwxr-xr-x  1 root root 213600 Oct  5 10:01 /lib/libssl.so.0.9.7a
lrwxrwxrwx  1 root root     16 Jan 16  2004 /lib/libssl.so.4 -> libssl.so.0.9.7a

2) Add a link for it, if it does not exist:
$ ln -s /lib/libssl.so.0.9.7a /usr/lib/libssl.so
$ ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.4

3) re-run aMule and see what is the next error message. What? You thought it would be easy? :) Your system has some brain damage, don't be surprised...

Cheers!
Title: Re: can't start
Post by: stefanero on March 27, 2005, 03:42:55 PM
btw ...when you run knoppix you cannot use your slackware packages anymore!!!!!!!!!!
Title: Similar situation
Post by: wolf4914 on April 01, 2005, 03:36:51 AM
Hi ! I had amule running fine in Mandrake 10.1 but it was hanging my cable modem every 2-3 hours - I changed the number of connections per 5 sec from 20 to 10 and on the next login it will hang on me.\
  Then I removed it and reinstalled. On a new install it crashes with this backtrace:
[vadim@localhost vadim]$ amule
Initialising aMule
Userhash loaded: AB1ED3D3B00EEC3F48B007D3BD576FA0
Caught unknown exception on CKnownFileList::Init()
*** UDP socket at 4665
*** reading servers
Loading temp files from /home/vadim/.aMule/Temp.
Empty dir /home/vadim/.aMule/Incoming/ shared
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.AICH Thread: No new files found.
AICH Thread: Thread terminated.
*** TCP socket at 4662
ListenSocket: Ok.
*** UDP socket at 4672
Segmentation fault (core dumped)
 The client itself also says on a startup (I can see GUI for 2-3 sec )
External connections disabled in aMule.config file and that  server.met file was not lo I checked my .aMule directory  and here is the output:
[vadim@localhost .aMule]$ ls -al
total 32
drwx------   4 vadim vadim 4096 0@ 31 20:18 ./
drwxr-xr-x  45 vadim vadim 4096 0@ 31 20:18 ../
-rw-r--r--   1 vadim vadim  365 0@ 31 20:15 cryptkey.dat
drwxr-x---   2 vadim vadim 4096 0@ 31 20:15 Incoming/
-rw-r-----   1 vadim vadim    0 0@ 31 20:18 known2.met
-rw-r-----   1 vadim vadim    0 0@ 31 20:15 known.met
-rw-r--r--   1 vadim vadim    9 0@ 31 20:18 lastversion
-rw-r--r--   1 vadim vadim  820 0@ 31 20:18 logfile
srwx------   1 vadim vadim    0 0@ 31 20:18 muleconn=
-rw-r-----   1 vadim vadim   61 0@ 31 20:15 preferences.dat-rw-r--r--   1 vadim vadim    0 0@ 31 20:15 shareddir.datdrwxr-x---   2 vadim vadim 4096 0@ 31 20:1  
   I am pretty sure it has to do with previous installation - but can not figure it out!
    Thanks !
Title: Re: can't start
Post by: phoenix on April 01, 2005, 05:11:42 AM
wolf4914,

Try to generate a gdb backtrace:
http://www.amule.org/wiki/index.php/Backtraces

Cheers!
Title: Re: can't start
Post by: wolf4914 on April 02, 2005, 12:34:06 AM
I followed the instructions - this is the output:
Starting program:  gdb
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)
/path/to/core/file/core.6815: No such file or directory.
(gdb) bt
No stack.
(gdb) bt full
No stack.
                                            ?????????????
Title: Re: can't start
Post by: Xaignar on April 02, 2005, 12:50:11 AM
Heh, run it like this "gdb ", for instance, I usually do this:
gdb src/amule
run

bt
Title: Re: can't start
Post by: wolf4914 on April 02, 2005, 12:58:19 AM
vadim@localhost vadim]$ gdb bash: path/to/amule: No such file or directory
[vadim@localhost vadim]$ gdb src/amule
GNU gdb 6.2-2mdk (Mandrakelinux)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...src/amule: No such file or directory.

(gdb) amule runs, crashes
Undefined command: "amule".  Try "help".
(gdb) /home/vadim/.amule
Undefined command: "".  Try "help".
(gdb)
Title: Re: can't start
Post by: phoenix on April 02, 2005, 04:54:07 AM
wolf4914,

Please read:
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind

Cheers!
Title: Re: can't start
Post by: wolf4914 on April 04, 2005, 11:24:33 AM
Thanks for your time - too much reading and  trouble for nothing - even when it was running it was hanging my cable modem every 2 hours and speeds were low. I switched to Edonkey2000 - my speeds are in 200's and no problem with the modem - oh well aMule is not for my system I guess..... Thanks again
Title: Re: can't start
Post by: donkey_eyed on June 28, 2005, 11:44:47 PM
Quote
Originally posted by phoenix

$ whereis libssl.so.0
libssl.so: /lib/libssl.so.4 /usr/lib/libssl.so

I have just installed amule and am getting

Quote
amule: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

But when I do the step above all I get is

Quote
libssl.so:

Nothing else!

What has gone wrong?

I just re-installed Mandrake 10.1 again and amule is "amule-2.0.3-2.1.101ise.i586.rpm"

Thanks for any help!
Title: Re: can't start
Post by: phoenix on June 29, 2005, 05:55:38 AM
$ ls -l /lib/libssl.so.4
lrwxrwxrwx  1 root root 16 Jan 16  2004 /lib/libssl.so.4 -> libssl.so.0.9.7a
$ rpm -qf /lib/libssl.so.0.9.7a
openssl-0.9.7a-42.1

So, install openssl first.

Cheers!
Title: Re: can't start
Post by: stefanero on June 29, 2005, 06:43:55 AM
huh? looks to me you are using the completly wrong mdk rpm....

try to take one from here: they are made by waredevil and seam to work nice
http://linfreak.zapto.org/

stefanero