Nam Error (not Running) With Ns2.32 On Ubuntu 12.04

I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04

i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command

sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)

then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .

I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.

if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.


Similar Content



Ns 2 Segmentation Fault Error

i'm new to linux and ns2 platform, i'm doing my thesis and trying to run AODV code, i got the following error, anyone can sort me out

thanks in advance

$ ns DSR.tcl
num_nodes is set 50
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
Segmentation fault (core dumped)

Segmentation Fault (core Dumped ) Error In Ns2.34

I did some changes in the LAR protocol and suppose the new protocol is named as ABC .
When i am doing make clean and then make.
object file "ABC.o" was successfully created.
Then i tried to run tcl file , nothing has been written in the trace file and it gave me the following error

21052015$ ns234 new.tcl scen1 setting other default settings...
removing unecessary packet headers...
num_nodes is set 100
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
Segmentation fault (core dumped)

I tried a lot but unable to find out where is the error. I am unable to find out the point of error . Is it in .cc file or in .tcl file.
Could someone please help me.
My work is stucked and i searched a lot but didn't get anything.

please please .............. help me

Error While Installing Ns2.33 In Ubuntu 10.04

hello sir,
i was trying to install ns2.33 in ubuntu10.04. i have followed the procedure. in which after the validation there was a command to creat a symlink. the command was, $sudo ln -s/home/neha/ns-allinone-2.33/ns-2.33/ns/usr/bin/ns.
i m tried this command all the way asa much asa possible. but an error has been arrived. the error is "ln: invalid option '/' ". please help me to solve this problem.

To Install Different Ns2 Versions On My System

hello kudfl,

I was working on ns2.32 . But now i require ns2.34 also . I read some of threads and found it is possible to have two diffrent ns2 versions on the same machine.
Installed ns2.32 and ns2.34 in diffrent directories.
Installed successfully . when i type ns % sign appears . But i dont know which ns version it is running ?

i read ur thread 2 on the following link
http://www.linuxquestions.org/questi...ne-4175503576/

so i delete the path varibale for ns2.32 from bashrc file .
and did the following
ns-2.32/ : $ cp ns ns-orig
cp ns-orig /usr/local/bin/
but it is giving me error : permission denied .

working on ubuntu 12.04
plz advise further

rgds
sims

Segmentation Fault (core Dump)

Hi
i ve installed ns2.35 in ubantu14.04,
i hav successfully run tcl script, bt when i've tried to execute nam command, it gave me " Segmentation fault (core dump)" .
although i can sucessfully run awk & Xgraph commands, bt unable to run nam
plz help me out...

Checking Version Of Ns2 Installed Ubuntu 12.04

i installed ns2 using following 4 commands
sudo apt-get update
sudo apt-get install ns2
sudo apt-get install nam
sudo apt-get install tcl
sudo apt-get install xgraph

on ubuntu 12.04

but how to know that which version of ns2 is installed???????

I Try To Install Ns2.33 On Ubuntu 10.10 In Order To Run ZRP Protocol

Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory

2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#

Then save the file and close.

3.Write the following command to update the system
$ sudo apt-get update

4.download the two files from the following link and save it in the home directory

gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing

5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb

6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++

7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install

9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing

but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#

so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help

Zrp Installation Problem

INITIALIZE THE LIST xListHead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...


** what does this means??***

Cobbler Get-loaders

HI Guys,

I'm New In linux and I got a project Installing Spacewalk 2.2 on Centos6.5.

I have successfully Install Spacewalk and I have completed almost
everything regarding spacewalk like

I have done with this
@ created channels and base channel
@ distributions
@ profile
@ kickstart etc...

Now come to the error-:

Getting error while "cobbler get-loaders"

its shows me task complete but actually not downloading loaders.

So I have check with yum install cobbler get-loaders
but again it says cobbler is already installed.

I have fed up with this error I have tried my best to solve
this error but could not.

Your help will be appreciated.

Thanks in advance.
milan

Problem In Installing The Software Using The Command Line

Hi all,
i am new to linux, i am using Centos 6. There is some problem in the network settings as i am able to browse internet from a browser but when i am trying to use the terminal (using ping command) for any of the website (say www.google.com) nothing is happening. suppose i want to install some software (like hdf5), when i am using "sudo yum install hdf5" it shows large number of error massages like "error could not connect to the host". It would be a great help if someone provide the solution.
Thanks in advance.

Durgesh