aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Can't use External Connection...  (Read 2284 times)

astrotrain

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Can't use External Connection...
« on: November 15, 2007, 07:57:16 PM »

Hi, I've just updated amule-daemon from a CVS debian package using apt-get under Ubuntu Server 7.10.

Here's what I did so far:
I copied my config file from a monolithic install I did as a test on another box (CVS) and replaced back the values from the previous 2.1.3 amule.conf (nothing major, just the client's name and EC password, basically)
I started the daemon, so far so good, the daemon is up, I can connect using amulecmd locally.

I installed the CVS amule-utils-gui on another remote box (also Ubuntu 7.10).
I start amulegui and I get the connection box and input the proper address and port, and password (which works under amulecmd, so I know it's the right one)
Then nothing happens.
I tried running it with --verbose, but I'm not getting anything more, except some locale error with wx (which doesn't hamper the monolithic aMule, so my guess is it's irrelevant...)
All I get from starting it in a terminal is "going to event loop..." and it just stays there.
Any thoughts? Thing is, I'm able to connect from my Windows laptop using an old windows build of the 2.1.3 remote GUI, go figure...

ETA: Installed amulecmd CVS on the remote box, and wasn't able to connect. Found out I was previously able to connect *locally* using amulecmd because I was still using the 2.1.3 version.

Bottom line: External connections to the CVS amule-daemon only seem to work using 2.1.3 stable utils (amulecmd and amulegui). When using amulecmd CVS locally *or* remotely I now get this output:
Code: [Select]
This is amulecmd CVS Thu Nov 15 07:01:55 CET 2007
Enter password for mule connection:

Creating client...
ReadPacket: packet have invalid flags 0
Connection Failed. Unable to connect to the specified host

My guess is this is the same problem preventing amulegui from working as well...
« Last Edit: November 15, 2007, 08:37:12 PM by astrotrain »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Can't use External Connection...
« Reply #1 on: November 25, 2007, 06:37:00 PM »

I'm having the same problem on Ubuntu 7.10.
I'm running the daemon listening on localhost, and both the GUI and the cmd fail to connect. The GUI just hangs after the password prompt, the cmd says
jars@jars-desktop:~$ amulecmd -v
Dies ist amulecmd 2.1.3
Enter password for mule connection:

Erstelle Client...
Verbindung fehlgeschlagen. Verbindung zum angegebenen Host nicht m�glich

Same thing both with the amule 2.1.3  from the distribution and the CVS 20071118.

What about the password in ECPassword in amule.conf ? Is it supposed to be cleartext, or does it have to be encoded somehow ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Can't use External Connection...
« Reply #2 on: November 25, 2007, 06:51:56 PM »

The ECPassword is an MD5sum.

Actually it shouldn't be possible to connect to a CVS version using 2.1.3 amulecmd, you are supposed to use both compiled the same day.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Can't use External Connection...
« Reply #3 on: November 25, 2007, 09:38:26 PM »

Thanks ! That explains a lot.  ;D
I've set the password now using the amule client. Now I can connect to the daemon; as you said in only works when the same version of daemon and client are used.
The GUI of current CVS crashes immedeately however.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Can't use External Connection...
« Reply #4 on: November 25, 2007, 10:54:40 PM »

Oh, bad - could please start the gui in a terminal and post the output here?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Can't use External Connection...
« Reply #5 on: November 26, 2007, 08:57:06 PM »

Here - it's version 20071118 (since CVS 20071125 does not compile).

Code: [Select]
*** glibc detected *** ./amulegui: double free or corruption (out): 0x088bcec0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb75f4d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb75f8800]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7876961]
./amulegui[0x82a4ade]
./amulegui[0x82a516f]
./amulegui[0x82191e1]
./amulegui[0x806b676]
./amulegui[0x806ba83]
./amulegui[0x806c11b]
./amulegui[0x806cbfa]
./amulegui[0x83bdc4a]
./amulegui[0x806b1b2]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb75a1050]
./amulegui[0x8062cd1]
======= Memory map: ========
08048000-0861c000 r-xp 00000000 08:01 426221     /home/jars/work/amule/386/bin/amulegui
0861c000-08624000 rw-p 005d3000 08:01 426221     /home/jars/work/amule/386/bin/amulegui
08624000-08944000 rw-p 08624000 00:00 0          [heap]
b6300000-b6321000 rw-p b6300000 00:00 0
b6321000-b6400000 ---p b6321000 00:00 0
b6444000-b6453000 r-xp 00000000 08:01 522279     /lib/libbz2.so.1.0.4
b6453000-b6454000 rw-p 0000f000 08:01 522279     /lib/libbz2.so.1.0.4
b6454000-b656c000 r-xp 00000000 08:01 67372      /usr/lib/libxml2.so.2.6.30
b656c000-b6571000 rw-p 00118000 08:01 67372      /usr/lib/libxml2.so.2.6.30
b6571000-b6572000 rw-p b6571000 00:00 0
b6572000-b65a4000 r-xp 00000000 08:01 66722      /usr/lib/libcroco-0.6.so.3.0.1
b65a4000-b65a7000 rw-p 00031000 08:01 66722      /usr/lib/libcroco-0.6.so.3.0.1
b65a7000-b65d7000 r-xp 00000000 08:01 66964      /usr/lib/libgsf-1.so.114.0.7
b65d7000-b65da000 rw-p 0002f000 08:01 66964      /usr/lib/libgsf-1.so.114.0.7
b65da000-b65db000 rw-p b65da000 00:00 0
b65db000-b660b000 r-xp 00000000 08:01 67262      /usr/lib/librsvg-2.so.2.18.2
b660b000-b660c000 rw-p 00030000 08:01 67262      /usr/lib/librsvg-2.so.2.18.2
b6618000-b6619000 r-xp 00000000 08:01 130985     /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b6619000-b661a000 rw-p 00000000 08:01 130985     /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b661a000-b6811000 r--p 00000000 08:01 342938     /usr/share/icons/hicolor/icon-theme.cache
b6811000-b6f70000 r--p 00000000 08:01 347564     /usr/share/icons/gnome/icon-theme.cache
b6f70000-b701b000 r--p 00000000 08:01 346316     /usr/share/icons/Tangerine/icon-theme.cache
b701b000-b7181000 r--p 00000000 08:01 344781     /usr/share/icons/Human/icon-theme.cache
b7181000-b720c000 r--p 00000000 08:01 247760     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b720c000-b720e000 r-xp 00000000 08:01 115312     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b720e000-b720f000 rw-p 00001000 08:01 115312     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b720f000-b7215000 r--s 00000000 08:01 489771     /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b7215000-b7218000 r--s 00000000 08:01 489785     /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b7218000-b721c000 r--s 00000000 08:01 489768     /var/cache/fontconfig/921a30a17f0be15c70ac14043cb7a739-x86.cache-2
b721c000-b721d000 r--s 00000000 08:01 489778     /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b721d000-b721e000 r--s 00000000 08:01 489758     /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b721e000-b7221000 r--s 00000000 08:01 489773     /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b7221000-b7222000 r--s 00000000 08:01 489764     /var/cache/fontconfig/75a2cd575a62c63e802c11411fb87c37-x86.cache-2
b7222000-b7225000 r--s 00000000 08:01 489762     /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b7225000-b7227000 r--s 00000000 08:01 489782     /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b7227000-b722f000 r--s 00000000 08:01 489786     /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b722f000-b7235000 r--s 00000000 08:01 489750     /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b7235000-b7236000 r--s 00000000 08:01 489756     /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b7236000-b7238000 r--s 00000000 08:01 489783     /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2
b7238000-b723e000 r--s 00000000 08:01 489780     /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b723e000-b7242000 r--s 00000000 08:01 489748     /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b7242000-b7244000 r--s 00000000 08:01 491829     /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
b7244000-b7245000 r--s 00000000 08:01 489790     /var/cache/fontconfig/fcff1cd55d48a2c86a175e9943c3506d-x86.cache-2
b7245000-b7246000 r--s 00000000 08:01 489787     /var/cache/fontconfig/e9e44584608a73233979f764b5f9dd81-x86.cache-2
b7246000-b7247000 r--s 00000000 08:01 489777     /var/cache/fontconfig/b8613a33de00eecd32d5a94c3c617829-x86.cache-2
b7247000-b724a000 r--s 00000000 08:01 489775     /var/cache/fontconfig/b21a91cee725896328b8cee8091cf747-x86.cache-2
b724a000-b724d000 r--s 00000000 08:01 489791     /var/cache/fontconfig/fd9416c4b92f07c6f59a3a8cf496e9dc-x86.cache-2
b724d000-b724f000 r--s 00000000 08:01 489747     /var/cache/fontconfig/059138ec877db160474b4d5de1248d14-x86.cache-2
b724f000-b7250000 r--s 00000000 08:01 489788     /var/cache/fontconfig/f5a93ac943883aa0fd9a7bfe0f6ec3c1-x86.cache-2
b7250000-b7251000 r--s 00000000 08:01 489752     /var/cache/fontconfig/118d8d5311348bbdf5fe3b106d7c13d4-x86.cache-2
b7251000-b7252000 r--s 00000000 08:01 489772     /var/cache/fontconfig/a1131b7be650f9abae4907495aa5815d-x86.cache-2
b7252000-b7257000 r--s 00000000 08:01 489767     /var/cache/fontconfig/8ab5f685cd6d8ba67c37c908faf08172-x86.cache-2
b7257000-b725c000 r--s 00000000 08:01 489749     /var/cache/fontconfig/0f32d3adc6a232110812e17374eaa446-x86.cache-2
b725c000-b725e000 r--s 00000000 08:01 489765     /var/cache/fontconfig/7b4a97c10f6c0166998ddfa1cf7392fb-x86.cache-2
b725e000-b7261000 r--s 00000000 08:01 489759     /var/cache/fontconfig/61c830dfac3fd78a12654da5e9ba3f56-x86.cache-2
b7261000-b7262000 r--s 00000000 08:01 489784     /var/cache/fontconfig/e0f9e95429e756d56293ed4d63866094-x86.cache-2
b7262000-b7263000 r--s 00000000 08:01 489755     /var/cache/fontconfig/4123634e9c08547d899d0aaff05ebe69-x86.cache-2
b7263000-b7266000 r--s 00000000 08:01 489753     /var/cache/fontconfig/142ecfc435bad6f1fbc2648c1119d5eb-x86.cache-2
b7266000-b726c000 r--s 00000000 08:01 489751     /var/cache/fontconfig/102e5142c2e9e50c5e8ece26694a2dad-x86.cache-2
b726c000-b726d000 r--s 00000000 08:01 489769     /var/cache/fontconfig/92a571655fb1c0ec1c4d6f496220600a-x86.cache-2
b726d000-b7271000 r--s 00000000 08:01 489774     /var/cache/fontconfig/a960c40fc9306f090224a04585f8a963-x86.cache-2
b7271000-b7273000 r--s 00000000 08:01 48977Aborted (core dumped)
jars@jars-desktop:~/work/amule/386/bin$

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon