aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem at amule start up  (Read 2649 times)

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Problem at amule start up
« on: February 23, 2005, 05:59:13 PM »

Hi guys,

Ive had RC8 working on my ubuntu warty for a while now without problems, but the other day i restarted the computer and tried to start amule to no avail, this is what it does:
Quote
user@machine:~ $ amule
Initialising aMule
Userhash loaded: A11C3C97F50E3FDDFECE24E567AD6F56
*** UDP socket at 6445
And it just stays there forever, the GUI never comes up. I tried recompiling it, but the problem persist, any clues?


Thanks.
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
More info
« Reply #1 on: February 24, 2005, 08:08:48 AM »

ok, i found this other threat where this solution is given:
Quote
1. Do "amule &" (without ") to put it to background.

2. Do ls | grep emule to check if its running after calling it.

3. Rename ~/.eMule and restart

But it doesnt work for me, i tried renaming the .eMule file without luck.
I tried as well renaming the .aMule dir but more or less the same thing, apart from the "----This is the first time you run aMule 2.0.0rc8----" window that comes up, and the 'no cryptkey.dat found' message found on the console:

Quote
user@machine:~ $ amule
Initialising aMule
Saving userhash: 496C82106C0EA4141F0F8B5CE9716F4C
Userhash loaded: 496C82106C0EA4141F0F8B5CE9716F4C
*** UDP socket at 6445
No cryptkey.dat found, creating

But it remains there forever just as before.

About what im using aMule 2.0.0rc8 on a Ubuntu warty with kernel 2.6.8.1-4-686, and i compiled everything from source, aMule, GTK, etc ...(folowing the wiki instructions)

Any help would be apreciated, im desperate, Thanks!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Problem at amule start up
« Reply #2 on: February 24, 2005, 11:31:45 AM »

Your post is a little confuse, so let me re-state what you should do, and apparently you have done:

$ rm ~/.eMule
$ rm -rf ~/.aMule
$ amule &

And then the last two message it prints is:
Userhash loaded: 496C82106C0EA4141F0F8B5CE9716F4C
*** UDP socket at 6445
No cryptkey.dat found, creating

Is that so? Well, the only way out is to compile aMule with debug information and run it inside gdb to see where is is stopping. And if you are willing to try this, please try it with a CVS snapshot, rc8 is too old code and there were lots of bug fixes since then. Get one here:
http://www.hirnriss.net/?area=cvs

And read these links:
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind
http://www.amule.org/wiki/index.php/Backtraces

What you have to do is start the program with gdb and after it locks you break with a ctrl-c and post the backtrace in the backtraces forum or in this thread.

If you have any doubts or problems, please ask, there are lots of people here to help you.

Good luck!
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: Problem at amule start up
« Reply #3 on: February 25, 2005, 08:05:27 AM »

Hi Phoenix,

Thanks for your reply, at the end i found out that the problem was that for some reason i had installed the ubuntu wxWidgets. I remove them and followed the wiki to make sure i got rid of them for sure, and then recompile everything with sucess, so i have aMule 2.0.0 rc8 working now.

But before compiling rc8, i tried with the latest cvs tarball (aMule-cvs-20050224.tar.bz2) with no luck, this is what i get:

Quote
make[5]: Entering directory `/home/vader/install_files/amule-cvs/src/kademlia'
make[5]: No se hace nada para `all-am'.
make[5]: Leaving directory `/home/vader/install_files/amule-cvs/src/kademlia'
make[4]: Leaving directory `/home/vader/install_files/amule-cvs/src/kademlia'
make[4]: Entering directory `/home/vader/install_files/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..      -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-amule.o -MD -MP -MF ".deps/amule-amule.Tpo" \
  -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp; \
then mv -f ".deps/amule-amule.Tpo" ".deps/amule-amule.Po"; \
else rm -f ".deps/amule-amule.Tpo"; exit 1; \
fi
amule.cpp: En member function `void CamuleApp::AddLogLine(const wxString&)':
amule.cpp:1827: error: `const' duplicado
amule.cpp:1833: error: `const' duplicado
make[4]: *** [amule-amule.o] Error 1
make[4]: Leaving directory `/home/vader/install_files/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vader/install_files/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vader/install_files/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vader/install_files/amule-cvs'
make: *** [all] Error 2

How comes rc8 compiles fine but cvs doesnt? do i need to update wxWidgets (I actually have wxGTK-2.4.2 & wxBase-2.4.2)?? I search the wiki but couldnt find no info on that.

Thanks again.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Problem at amule start up
« Reply #4 on: February 25, 2005, 01:45:44 PM »

feralertx,

This const problem was my fault, I broke this tarball for wx-2.4.2. Today's tarball is fine, and if you don't want to redownload, just delete the two const's that it will be correct.

Don't use rc8 if you can use a tarball, rc8 is too old and buggy.

Cheers!
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: Problem at amule start up
« Reply #5 on: February 25, 2005, 03:52:13 PM »

Hi phoenix,

As i tell you in this other thread, thanks to your help, i now have todays tarball compiled and working...

 :baby:  :P :D
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Problem at amule start up
« Reply #6 on: February 26, 2005, 02:26:55 AM »

Hey, good to know I was of some help. Be welcome and have a nice aMule experience! ;)
Logged