Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How does amulecmd works ? i can't connect to it.

Posted on 2008-10-27
4
Medium Priority
?
1,067 Views
Last Modified: 2012-06-27
Hello all :)

I'm using linux fc9, i've installed amule, and i want to control it from the amulecmd command.
when i run the /usr/sbin/amulecmd It ask for a password - and i don't know how to define it in the running amule except the amule.conf file ( - and i also have a lot of fields for password....)

and then it just stuck on "Creating client..." and exit on Timeout ....

how to make it work ?

Thanks.


0
Comment
Question by:sysbezeqint
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Mysidia
ID: 22817878
See instructions for  configuring aMuleCMD on the wiki:
http://www.amule.org/wiki/index.php/AMuleCMD

Open amule.conf in a text editor and find the
[ExternalConnect]
section

Find the line that starts with
ECPassword=


and set  it accordingly.


Then generate a   remote.conf  file in your  .aMule directory if you have not
use the instructions at the above URL

but essentially the command line given is
''
    amulecmd --create-config-from=/home/username/.aMule/amule.conf
''
on a local system
or
''
    amulecmd -h hostname -p ECport -P ECpassword -w
''
on a remote system.
0
 

Author Comment

by:sysbezeqint
ID: 22830070
that's what i did and it doesn't work ...

they're both on the same computer.
i'm loading one amule, in the X window.

and from ssh connection i want to run amulecmd, and it gave me the "Creating client..." line
and exit on Timeout ....
0
 

Author Comment

by:sysbezeqint
ID: 22860506
I did strace to that command

connect(3, {sa_family=AF_INET, sin_port=htons(1234), sin_addr=inet_addr("82.81.25.39")}, 16) = -1 EINPROGRESS (Operation now in progress)
gettimeofday({1225610088, 207030}, NULL) = 0
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2197, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2197, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7b000
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2197
_llseek(4, -2, [2195], SEEK_CUR)        = 0
read(4, "\n\n", 4096)                   = 2
close(4)                                = 0
munmap(0xb7f7b000, 4096)                = 0
select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)
gettimeofday({1225610088, 261505}, NULL) = 0
select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)
gettimeofday({1225610088, 312712}, NULL) = 0
select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)
gettimeofday({1225610088, 364511}, NULL) = 0
select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)
gettimeofday({1225610088, 416843}, NULL) = 0
select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)
gettimeofday({1225610088, 468712}, NULL) = 0

Open in new window

0
 

Accepted Solution

by:
sysbezeqint earned 0 total points
ID: 22874244
Sorry, found the probelm ....

in the amule.conf file - i need to put MD5 password
and run amulecmd -P <my password> when some amule is up (either amule with GUI / amuled)
0

Featured Post

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question