Closed GoogleCodeExporter closed 9 years ago
Original comment by dan.schm...@gmail.com
on 20 Oct 2010 at 2:19
Hi there,
I think the problem is that perhaps our section on running kaddemo doesn't
explain very well what the process is.
What you want to do first is run the line:
./kaddemostatic -p 5000 --externalip your_ip --externalport 5000 --noconsole
--nodeinfopath .
You need to substitute your ip in the externalip field. You can also change the
port 5000 to any other taht suits you best. This first node generates a file
named .kadconfig, and each subsequent node that you want to set up should have
a particular copy of it. That's why the next instructions are:
// Create a directory for the particular node
mkdir KnodeInfo5001
// Copy the .kadconfig file for that node in particular
cp .kadconfig KnodeInfo5001/
// Run the node specifying the path to the .kadconfig that it should read
./kaddemostatic -p 5001 -k KnodeInfo5001/.kadconfig
In these lines, the name of the directory was chosen to correspond with the
chosen port that we specify (i.e. 5001). This can be changed to suit other
needs with no problem.
The importance or having the correct details of the first node is paramount,
since that's what gets written to the .kadconfig and what all the other nodes
will search.
Regarding the packages generated, you should have a .deb package that is the
one that corresponds to ubuntu. This installer, however, installs just the
libraries and headers of the project, since kaddemo is not yet considered
anything but an example.
Hope this helps.
Dan
Original comment by dan.schm...@gmail.com
on 20 Oct 2010 at 3:53
Thanks for your answer.
Hmm i think i understand how it works. And i even tried it with the other
parameters ....so i tries it on many ways.
First i tried as you said, with bootstrapping logfile from first node.
That doenst work.
So i tried it again with the exact parameters of the first node (not the file,
i used the correct adress of the first server). It doesnt work, i always cant
get a connection.
So i think i did everything right.
It doesnt matter if i install that ubuntu .deb file ? where is it after
installation ?
Greetings
Original comment by p.wer...@tu-bs.de
on 20 Oct 2010 at 4:09
Can it depens on admin rights ?
I tried to use every command with sudo...still no success..
The first node starts and even tell me that its running on the right parameters.
But the second cant get any connection to it. Not with kadconfig file, and even
not when i use the parameters directly when i start the second one...i always
got :
(5001) UDT connect to 192.168.1.115:5000 -- Connect setup failure: connection
timed out.
Failed to join node to the network.
maybe you know some help
Original comment by p.wer...@tu-bs.de
on 20 Oct 2010 at 4:12
Are you sure your own ip is 192.168.1.115?
Original comment by dan.schm...@gmail.com
on 20 Oct 2010 at 4:15
maybe this could help ....
the first node cant even ping or find itself....is that right ?
Original comment by p.wer...@tu-bs.de
on 20 Oct 2010 at 4:17
It is worth noting this is a very old version now (many updates since), but
should work. Perhaps you should try running it all ass root to ensure no admin
problems. Also try
sudo iptables -L -n
To make sure there is no fire-walling set up. Personally I would select a port
larger than 5000 (even 5001).
Original comment by irvine.d...@gmail.com
on 20 Oct 2010 at 4:17
ah i got the damn fault...sry for bothering you. must be my own stupid ;)
thanks
Original comment by p.wer...@tu-bs.de
on 20 Oct 2010 at 4:19
Is the IP of your computer 192.168.1.115? Could you please post the result of
an ifconfig?
Original comment by dan.schm...@gmail.com
on 20 Oct 2010 at 4:19
ok, no problem. let us know if you have any other problems.
Original comment by dan.schm...@gmail.com
on 20 Oct 2010 at 4:23
mhh im a little bit shy to post the solution....
but ok ;) im stupid this time.
I simply dont use the wrong external ip adress.
used your 192.168.1.115 ....my one ist 192.168.0.39.....
so hit me !!! ;)
Original comment by p.wer...@tu-bs.de
on 20 Oct 2010 at 4:23
Original issue reported on code.google.com by
p.wer...@tu-bs.de
on 20 Oct 2010 at 2:12