LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2012, 08:24 AM   #1
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Rep: Reputation: Disabled
nam not working ns2.33


Hi,
I installed ns2.33 on fedora 16 but nam is not working.
i downloaded and unpacked nam 1.14. I copied it to usr/local/bin.

when i run a tcl script it gives following error :

"stop"
[root@localhost programs]# ns 5nodes.tcl
ns: finish: couldn't execute "nam": permission denied
while executing
"exec nam out.nam &"
(procedure "finish" line 6)
invoked from within
"finish"

please sugest

thanks in anticipation
 
Old 04-20-2012, 09:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
May be nam lost the executable mode ?

cd /usr/local/bin/
su
chmod +x nam



.

Last edited by knudfl; 04-20-2012 at 09:34 AM.
 
Old 04-20-2012, 11:23 AM   #3
afsha2719
LQ Newbie
 
Registered: Apr 2012
Posts: 14
Blog Entries: 1

Rep: Reputation: Disabled
not working

its giving the same error again
 
Old 04-20-2012, 01:03 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
May be you got a nam for the wrong architecture ?

The command 'uname -m' will show if you have i686 (32bits)
or x86_64 (64bits)

And the file command : file /usr/local/bin/nam
will show which nam you have.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding for Nam graph in NS2 Madhu S H Linux - Software 1 01-17-2012 04:16 AM
[SOLVED] ns2 nam not working in fedora 14 mujtiba Linux - Newbie 7 05-24-2011 07:30 AM
[SOLVED] NS2 Nam Issue atb2010 Linux - Newbie 2 03-17-2011 09:52 AM
problem with opening nam in ns2 MLinux Linux - General 1 11-16-2010 04:01 AM
nam window is not display in ns2 pratapmeher Linux - Newbie 7 10-21-2010 02:08 AM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration