LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2014, 01:32 AM   #1
Niraj Mishra
LQ Newbie
 
Registered: Oct 2014
Posts: 8

Rep: Reputation: Disabled
ns: stop: couldn't execute "nam": permission denied while executing "exec nam


num_nodes is set 3
N (0.000000): Routing agent is initialized for node 0
INITIALIZE THE LIST xListHead - editado
N (0.000000): Routing agent is initialized for node 1
NumNodes: 1
N (0.000000): Routing agent is initialized for node 2
NumNodes: 2
S (1.000000): send beacon by 0
N (1.000000): sink node is set to 0, start beaconing
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 41.5
SORTING LISTS ...DONE!
===
setdest
set destination - mobilenode.cc
x: 25.000000; y: 25.000000; s: 1.000000
chamando novometodo
S (11.000000): send beacon by 0
S (21.000000): send beacon by 0
S (31.000000): send beacon by 0
S (41.000000): send beacon by 0
S (51.000000): send beacon by 0
S (61.000000): send beacon by 0
S (71.000000): send beacon by 0
S (81.000000): send beacon by 0
S (91.000000): send beacon by 0
S (101.000000): send beacon by 0
S (111.000000): send beacon by 0
S (121.000000): send beacon by 0
S (131.000000): send beacon by 0
S (141.000000): send beacon by 0
S (151.000000): send beacon by 0
S (161.000000): send beacon by 0
S (171.000000): send beacon by 0
S (181.000000): send beacon by 0
S (191.000000): send beacon by 0
S (201.000000): send beacon by 0
S (211.000000): send beacon by 0
S (221.000000): send beacon by 0
S (231.000000): send beacon by 0
S (241.000000): send beacon by 0
S (251.000000): send beacon by 0
S (261.000000): send beacon by 0
S (271.000000): send beacon by 0
S (281.000000): send beacon by 0
S (291.000000): send beacon by 0
S (301.000000): send beacon by 0
S (311.000000): send beacon by 0
S (321.000000): send beacon by 0
S (331.000000): send beacon by 0
S (341.000000): send beacon by 0
S (351.000000): send beacon by 0
S (361.000000): send beacon by 0
S (371.000000): send beacon by 0
S (381.000000): send beacon by 0
S (391.000000): send beacon by 0
S (401.000000): send beacon by 0
S (411.000000): send beacon by 0
S (421.000000): send beacon by 0
S (431.000000): send beacon by 0
S (441.000000): send beacon by 0
S (451.000000): send beacon by 0
S (461.000000): send beacon by 0
S (471.000000): send beacon by 0
S (481.000000): send beacon by 0
S (491.000000): send beacon by 0
ns: stop: couldn't execute "nam": permission denied
while executing
"exec nam nam-wfrp-802-15-4.nam &"
(procedure "stop" line 6)
invoked from within
"stop"
 
Old 11-08-2014, 06:57 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Either you have a corrupt 'nam' .... or 'nam' isn't executable.

Adding the executable bit : $ chmod +x nam


Nam packages for Linux OS's :
CentOS 7, 64bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam-1.15-1.SL7.x86_64.rpm
CentOS 6, Fedora, 64bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam-1.14-1.el6.i686.rpm
CentOS 6, Fedora, 32bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam-1.14-1.el6.i686.rpm
Ubuntu 14, 64bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam_1.15-10-ubuntu14_amd64.deb
Ubuntu, 64bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam_1.14_amd64.deb
Ubuntu, 32bits https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam_1.15-10_i386.deb

-
 
  


Reply

Tags
nam-bin, nam-binary



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
how to fix "sudo: unable to execute /bin/ls: Permission denied"? nagendrar Linux - Newbie 12 09-14-2012 06:55 AM
[SOLVED] ChrootDirectory in sftp and "Couldn't get handle: Permission denied" errors brittonv Linux - Security 11 04-26-2010 11:08 AM
nam:couldn't connect to display ":0.0 swift_a2002 Linux - Software 2 08-28-2009 01:26 AM
Failed to execute child process "ooffice" (Permission denied) Mol_Bolom Linux - Software 2 03-11-2009 04:23 PM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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