Solved

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

Posted on 2008-10-27
4
1,017 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now