Ok it seems that blobs and bundles directory needed more space. I have set in both my nodes the storage path to /overlay/TMP/bundles and /overlay/TMP/blobs. I tried to send a 5M file.
*@Sender_side*: root@OpenWrt:~/outboxfolder# tar -cf - output5M | dtnsend dtn://host1/inboxRe ceiver Transfer stdin to dtn://host1/inboxReceiver ************************************ root@OpenWrt:/# dtnd -v -c /tmp/ibrdtn.config --badclock Tue Feb 11 14:49:04 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config Tue Feb 11 14:49:04 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Tue Feb 11 14:49:04 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config Tue Feb 11 14:49:04 2014 INFO BundleCore: Local node name: dtn://host3 Tue Feb 11 14:49:04 2014 INFO BundleCore: Forwarding of bundles enabled. Tue Feb 11 14:49:04 2014 INFO NativeDaemon: using simple bundle storage in /overlay/TMP/bundles Tue Feb 11 14:49:04 2014 INFO NativeDaemon: using BLOB path: /overlay/TMP/blobs Tue Feb 11 14:49:04 2014 INFO SimpleBundleStorage: 0 Bundles restored. Tue Feb 11 14:49:04 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Tue Feb 11 14:49:04 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556 Tue Feb 11 14:49:04 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551 Tue Feb 11 14:49:04 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Tue Feb 11 14:49:04 2014 INFO DiscoveryAgent: add interface wlan0 Tue Feb 11 14:49:04 2014 INFO DHTNameService: DHT initialized on Port: 9999 with ID: Tue Feb 11 14:49:04 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt() Tue Feb 11 14:49:04 2014 INFO NativeDaemon: Using epidemic routing extensions Tue Feb 11 14:49:04 2014 INFO EpidemicRoutingExtension: Initializing epidemic routing module Tue Feb 11 14:49:05 2014 WARNING DHTNameService: bootstrapping from default domain failed with error: -2 Tue Feb 11 14:49:06 2014 WARNING DHTNameService: bootstrapping from default domain failed with error: -2 Tue Feb 11 14:49:13 2014 NOTICE NodeEvent: Node dtn://host1 available Tue Feb 11 14:49:51 2014 NOTICE BundleReceivedEvent: Bundle received [0.1] dtn://host3/YigNFjYqIsyFMIuS (local) Tue Feb 11 14:49:51 2014 NOTICE QueueBundleEvent: New bundle queued [0.1] dtn://host3/YigNFjYqIsyFMIuS Tue Feb 11 14:49:51 2014 NOTICE BundleEvent: bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS received Tue Feb 11 14:49:51 2014 NOTICE ConnectionEvent: connection setup dtn://host1 Tue Feb 11 14:49:51 2014 NOTICE ConnectionEvent: connection up dtn://host1 Tue Feb 11 14:50:17 2014 NOTICE BundleCore: singleton bundle delivered: [0.1] dtn://host3/YigNFjYqIsyFMIuS Tue Feb 11 14:50:17 2014 NOTICE TransferCompletedEvent: transfer of bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS to dtn://host1 completed Tue Feb 11 14:50:17 2014 NOTICE BundlePurgeEvent: purging bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS Tue Feb 11 14:50:17 2014 NOTICE BundleEvent: bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS deleted Tue Feb 11 14:50:17 2014 NOTICE BundleEvent: bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS forwarded
*@Receiver_side* root@OpenWrt:/etc/config# dtnd -v -c /tmp/ibrdtn.config --badclock Mon Feb 10 16:07:25 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config Mon Feb 10 16:07:25 2014 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Feb 10 16:07:25 2014 INFO Configuration: Configuration: /tmp/ibrdtn.config Mon Feb 10 16:07:25 2014 INFO BundleCore: Local node name: dtn://host1 Mon Feb 10 16:07:25 2014 INFO BundleCore: Forwarding of bundles enabled. Mon Feb 10 16:07:25 2014 INFO NativeDaemon: using simple bundle storage in /overlay/TMP/bundles Mon Feb 10 16:07:25 2014 INFO NativeDaemon: using BLOB path: /overlay/TMP/blobs Mon Feb 10 16:07:25 2014 INFO SimpleBundleStorage: 0 Bundles restored. Mon Feb 10 16:07:25 2014 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Feb 10 16:07:25 2014 INFO NativeDaemon: TCP ConvergenceLayer added on wlan0:4556 Mon Feb 10 16:07:25 2014 INFO DiscoveryAgent: listen to [ff02::142]:4551 Mon Feb 10 16:07:25 2014 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Feb 10 16:07:25 2014 INFO DiscoveryAgent: add interface wlan0 Mon Feb 10 16:07:25 2014 INFO DHTNameService: DHT initialized on Port: 9999 with ID: Mon Feb 10 16:07:25 2014 ERROR IPNDAgent: join failed on wlan0; 99: setsockopt() Mon Feb 10 16:07:25 2014 INFO NativeDaemon: Using epidemic routing extensions Mon Feb 10 16:07:25 2014 INFO EpidemicRoutingExtension: Initializing epidemic routing module Mon Feb 10 16:07:26 2014 NOTICE NodeEvent: Node dtn://host3 available Mon Feb 10 16:08:04 2014 NOTICE ConnectionEvent: connection up dtn://host3 Mon Feb 10 16:08:31 2014 NOTICE BundleReceivedEvent: Bundle received [0.1] dtn://host3/YigNFjYqIsyFMIuS from dtn://host3 Mon Feb 10 16:08:31 2014 NOTICE QueueBundleEvent: New bundle queued [0.1] dtn://host3/YigNFjYqIsyFMIuS Mon Feb 10 16:08:31 2014 NOTICE BundleEvent: bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS received Mon Feb 10 16:08:54 2014 NOTICE BundleEvent: bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS delivered Mon Feb 10 16:08:54 2014 NOTICE BundlePurgeEvent: purging bundle [0.1] dtn://host3/YigNFjYqIsyFMIuS
************************** root@OpenWrt:~# dtninbox inboxReceiver inboxFolder/ Segmentation fault
While I was able to retrieve a 4M file, I am stuck with this segmentation fault in 5M file. What do u think is going wrong?
Thanks, Theodoros
On Tue, Feb 11, 2014 at 3:43 PM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
Am 11.02.2014 15:24, schrieb Theodoros Bourchas:
I will try changing these parameters, but I still never receive in the daemons running, messages like these: https://mail.ibr.cs.tu-bs.de/pipermail/ibr-dtn/2013-February/000305.html
NOTICE option is enabled somehow?
If you enable the logfile options in /etc/config/ibrdtn and start the daemon with /etc/init.d/ibrdtn start, the output will be in the log files. If you start the daemon manually you have to enable the NOTICE messages with "-v" to see them (see dtnd -h for more options).
$ dtnd -h IBR-DTN version: 0.10.2 Syntax: dtnd [options] -h|--help display this text -c <file> set a configuration file -D daemonize the process -k stop the running daemon -p <file> store the pid in this pidfile -i <interface> interface to bind on (e.g. eth0) -d <level> enable debugging and set a verbose level -q enables the quiet mode (no logging to the console) -t <threads> specify a number of threads for parallel event processing -v be verbose - show NOTICE log messages --version show version and exit --noapi disable API module --nodiscovery disable discovery module --timestamp enables timestamps for logging instead of datetime values
Kind regards, Johannes Morgenroth
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig