LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2012, 11:17 PM   #1
jothi8
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Error while accessing tcl file


hi while running default protocol i got this error plz help me

ns:
[code omitted because of length]
: invalid command name "Node/DelayBox"
while executing
"Node/DelayBox instproc init args {
eval $self next $args
$self instvar db_classifier_

set db_classifier_ [new Classifier/DelayBox]

$self insert-entr..."
invoked from within
"if {[ns-hasSTL] == 1} {

Simulator instproc set-nix-routing { } {
Simulator set nix-routing 1
Node enable-module "Nix"
}

Simulator instproc get-link-..."


i got this error when i try to implement the leach in ns2.34 on fedora 14.before that aodv and all other default protocol was run finely.

i don't know where this error is coming.plz help me.

thank u in advance.
 
Old 03-15-2012, 08:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
.. running default protocol ..
Which protocol ? ?

And do not expect a patched ns-2.34/ns to run "non leach files".

For that purpose you will have to save an unpatched binary 'ns'.
I.e. build an ns-allinone-2.34 and copy /rename ns to ns.orig ( ns234.orig ),
and then copy the binary ns.orig to /usr/local/bin/ .
.
 
  


Reply

Tags
ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error running tcl file simulating mpolsr assassin91 Linux - Newbie 1 04-18-2012 09:35 AM
scheduler error in running tcl file humairaafzal73 Linux - Software 0 02-27-2012 10:17 AM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 05:20 PM
tcl error ! wizex Debian 3 09-05-2005 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration