<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello, 
<div><br>
</div>
<div>Currently I'm trying to set up DTN2 on top of the Voyage OS. I use Barkeley DB 4.7, Oasys 1.4.0, and DTN2.7.0.</div>
<div>All the installations were success and I can initialize the database using <br>
<div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><b>#daemon/dtnd -c /home/host1/Desktop/dtn/dtn.conf --init-db, </b>like shown below:</div>
<div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">/dtn2/dtn-2.7.0/daemon/dtnd -c /usr/voyagedtn/dtn.conf --init-db<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063735.254015 /dtnd notice] random seed is 254015<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063735.255015 /dtnd notice] DTN daemon starting up... (pid 8997)<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063735.288015 /dtnd notice] initializing persistent data store<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063735.401015 /dtnd error] Initializing datastore which already exists.<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">voyage:~/dtn2/dtn-2.7.0# daemon/dtnd -c /usr/voyagedtn/dtn.conf         <o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063751.467015 /dtnd notice] random seed is 467015<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063751.468015 /dtnd notice] DTN daemon starting up... (pid 9000)<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313063752.291015 /dtn/bundle/daemon notice] loading bundles from data store<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">voyage dtn%<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<b><span style="line-height: 15px; color: windowtext; "><br>
</span></b></div>
</div>
<div>However, when I tried to run the daemon using </div>
<div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span class="Apple-style-span" style="line-height: 22px; "><b>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">voyage:~/dtn2/dtn-2.7.0# daemon/dtnd -c /usr/voyagedtn/dtn.conf -l info <span class="Apple-style-span" style="font-weight: normal; ">the error happen in Oasys_tclreadline, as shown below:</span><o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.132015 /dtnd notice] random seed is 132015<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.133015 /dtnd notice] DTN daemon starting up... (pid 9078)<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.158015 /dtnd info] parsing configuration file /usr/voyagedtn/dtn.conf...<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.160015 /dtnd info] dtnd parsing configuration...<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.166015 /dtn/interface/table info] adding interface tcp0 (tcp)<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.167015 /dtn/interface/table info] adding interface udp0 (udp)<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.168015 /dtn/link/link1_tcp info] new link link1_tcp [192.168.1.25:4556 dtn:none ONDEMAND tcp state=AVAILABLE]<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.170015 /dtnd info] dtnd configuration parsing complete<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.172015 /dtn/storage info] initializing db name=DTN (not shared), dir=/usr/voyagedtn/db<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.243015 /dtn/storage info] datastore /usr/voyagedtn/db was cleanly shut down<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.249015 /dtn/bundle/daemon info] REGISTRATION_ADDED 0 <a href="dtn://voyage.bytewalla.com">dtn://voyage.bytewalla.com</a><o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.250015 /dtn/bundle/daemon info] REGISTRATION_ADDED 2 <a href="dtn://voyage.bytewalla.com/ping">dtn://voyage.bytewalla.com/ping</a><o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.250015 /dtn/bundle/daemon notice] loading bundles from data store<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.251015 /dtn/bundle/daemon info] LINK_CREATED link1_tcp [192.168.1.25:4556 dtn:none ONDEMAND tcp state=AVAILABLE]<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.252015 /dtn/bundle/daemon info] ROUTE_ADD <a href="dtn://android.bytewalla.com/*">dtn://android.bytewalla.com/*</a> -> link1_tcp (FORWARD)<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.253015 /dtn/bundle/daemon info] ROUTE_ADD <a href="dtn://city.bytewalla.com/*">dtn://city.bytewalla.com/*</a> -> link1_tcp (FORWARD)<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.254015 /dtn/bundle/daemon info] LINK_AVAILABLE link1_tcp [192.168.1.25:4556 dtn:none ONDEMAND tcp state=AVAILABLE]<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">[1313064004.756015 /dtnd info] starting console on 127.0.0.1:5050<o:p></o:p></span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313064004.926015 /dtn/tclcmd info] can't load oasys_tclreadline: can't find package oasys_tclreadline<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; ">[1313064004.927015 /dtn/tclcmd info] fall back to simple command loop<o:p></o:p></span></div>
</b></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<b><span style="line-height: 15px; color: windowtext; "></span></b><b><span style="line-height: 15px; color: windowtext; "> </span></b></div>
</div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span class="Apple-style-span" style="line-height: 15px; "><b><span class="Apple-style-span" style="font-weight: normal; line-height: 22px; "><b>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; ">I'm still troubleshoot this and dont have any idea how to fix it yet.. Please drop some idea if you have any clue about this.</span></span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span class="Apple-style-span" style="font-weight: normal; line-height: 15px; "><br>
</span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span class="Apple-style-span" style="font-weight: normal; line-height: 15px; ">Aidi</span></div>
<div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; ">
<span style="line-height: 15px; color: windowtext; "><span class="Apple-style-span" style="font-weight: normal; "><br>
</span></span></div>
</b></span></b></span></div>
<div>
<div>
<div>On 10 aug 2011, at 22.01, Bjorn Pehrson wrote:</div>
<br class="Apple-interchange-newline">
<div bgcolor="#ffffff" text="#000000">On all questions regarding DTN you should include Michel, Herve and me, <br>
<br>
On 08/09/2011 02:50 PM, Laili Aidi wrote:
<blockquote cite="mid:548E07EE-5D1C-4EEB-BA36-6224198D5789@kth.se" type="cite">Dear Bjorn & Harve,
<div><br>
</div>
<div>Please find the WSN/DTN TASK 1 Deliverable: Voyage & DTN2 on ALIX Board installation guide V1.0 in this link </div>
<div><b><a moz-do-not-send="true" href="http://csd.xen.ssvl.kth.se/csdlive/content/wsndtn-gateway">http://csd.xen.ssvl.kth.se/csdlive/content/wsndtn-gateway</a></b></div>
<div><br>
</div>
<div>
<div>Currently, we're still facing problem when trying to initialize the database using this command (PART 5 - Step 5), page 19: </div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal 'Courier New'; ">
<b><font class="Apple-style-span" face="Verdana" size="2"><span class="Apple-style-span" style="font-size: 10px; ">#daemon/dtnd -c /home/host1/Desktop/dtn/dtn.conf --init-db</span></font></b></div>
</div>
</div>
<div><b><br>
</b></div>
<div>We have reinstalled and reconfigured the libdb, barkeley DB and DTN again, using:</div>
<div>- libdb5.1</div>
<div>- Barkeley DB 5.1</div>
<div>- DTN 2.7 (newest version)</div>
<div><br>
</div>
<div><b>
<div style="font-weight: normal; ">and add " LD_LIBRARY_PATH " to the env variables using </div>
<div style="font-weight: normal; "><b>
<div style="display: inline !important; ">export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.5.1/lib:$LD_LIBRARY_PATH</div>
</b></div>
<div style="font-weight: normal; "><br>
</div>
<div style="font-weight: normal; ">But the DTN still cannot initialize the database (as shown in the picture below). in the it is mentioned: <a moz-do-not-send="true" href="http://www.dtnrg.org/docs/code/DTN2/doc/manual/configuration.html">http://www.dtnrg.org/docs/code/DTN2/doc/manual/configuration.html</a></div>
<div style="font-weight: normal; "><i>"The name of the configuration file is usually set with the -c argument. If the -c argument is missing, dtnd will try to load </i><tt><i><font class="Apple-style-span" face="Verdana">/etc/dtn.conf</font></i></tt><i>. If
 that file is not readable, it will try to read</i><tt><i><font class="Apple-style-span" face="Verdana">daemon/dtn.conf</font></i></tt><i>. If that file is not readable, it will log a warning and continue without a configuration file. Y</i><b><i>ou may still
 configure dtnd by hand at the</i></b><b><i> </i></b><tt><b><i><font class="Apple-style-span" face="Verdana">dtn%</font></i></b></tt><b><i> </i></b><b><i>prompt.</i></b><i>"</i></div>
<div style="font-weight: normal; "><br>
</div>
<div style="font-weight: normal; ">But we're not really clear what it means by <i>configure dtnd by hand</i>. However, we plan to troubleshoot it now. Please just drop some idea if you have any clue about this.</div>
<div style="font-weight: normal; "><br>
</div>
<div style="font-weight: normal; "><br>
</div>
<div style="font-weight: normal; ">Aidi</div>
</b></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ">
<div style="word-wrap: break-word; ">
<div><br>
</div>
</div>
</span></span></div>
<div>--<br>
<div>Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span style="color: rgb(0, 0, 0); "><b>From: </b></span>Qing An <<a moz-do-not-send="true" href="mailto:an01040@gmail.com">an01040@gmail.com</a>><br>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span style="color: rgb(0, 0, 0); "><b>Date: </b></span>8 augusti 2011 19.33.06 CEST<br>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span style="color: rgb(0, 0, 0); "><b>To: </b></span><<a moz-do-not-send="true" href="mailto:aidi@kth.se">aidi@kth.se</a>><br>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span style="color: rgb(0, 0, 0); "><b>Subject: </b></span><b>error message</b><br>
</div>
<br>
-- <br>
<div>Best regards</div>
<div>Qing An   安勍</div>
<br>
<span><Mail Attachment.jpeg></span></div>
<div><br>
</div>
<div>
<div><br>
</div>
</div>
<br>
</blockquote>
<br>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>