LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ns: stop: couldn't execute "nam": permission denied while executing "exec nam (https://www.linuxquestions.org/questions/linux-newbie-8/ns-stop-couldnt-execute-nam-permission-denied-while-executing-exec-nam-4175524760/)

Niraj Mishra 11-08-2014 01:32 AM

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"

knudfl 11-08-2014 06:57 AM

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

-


All times are GMT -5. The time now is 02:55 PM.