Tuesday, October 22, 2013

NS-2 Error


Application initialization failed: Can't find a usable init.tcl in the following 

directories:
 
../../../linux/lib/tcltk/lib/tcl8.3 ../../../linux/lib/tcltk/lib/tcl8.3



Solution:


1. Go to location root-usr-local-bin by giving following command in terminal

cd /usr/local/bin


2. There you would find the ns file. We just need to remove it by giving following command


rm ns


3. Thats it, you are done. Now your ns starts running successfully.