LinuxQuestions.org
Help answer threads with 0 replies.
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 07-13-2012, 03:48 PM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
TraNSv1.2 is unable to execute NS2


Hello
i use TraNSv1.2 in fedora 15. the sumo partition works but the program is unable to execute NS2 command. i test ns2 after configuration it works good.

the error is
Quote:
Processing command: /home/nadia/work/sumo-0.9.8/src/sumo -n /home/nadia/work/transv1.2/TraNSv1.2/examples/roadmaps/manhattan_crop.net.xml -r /home/nadia/work/transv1.2/TraNSv1.2/examples/vehicleroutes/manhattan_crop_30.rou.xml -b 0 -e 20 --remote-port 8888 --penetration 1.0

Process error while executing command:
Error: On processing option '--remote-port':
No option with the name 'remote-port' exists.
Error: The parameter '8888' is not allowed in this context.
Switch or parameter name expected.
Error: On processing option '--penetration':
No option with the name 'penetration' exists.
Error: The parameter '1.0' is not allowed in this context.
Switch or parameter name expected.
Error: Could not parse commandline options.
Quitting (on error).

Execute: /home/nadia/work/ns-allinone-2.35/ns-2.35 /home/nadia/work/transv1.2/TraNSv1.2/traci/tracicommands-examples/changeRoute/changeRoute_manhattan_30.tcl
Processing command: /home/nadia/work/ns-allinone-2.35/ns-2.35 /home/nadia/work/transv1.2/TraNSv1.2/traci/tracicommands-examples/changeRoute/changeRoute_manhattan_30.tcl

java.io.IOException: Cannot run program "/home/nadia/work/ns-allinone-2.35/ns-2.35": java.io.IOException: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:448)
at java.lang.Runtime.exec(Runtime.java:345)
at ch.epfl.trans.util.CommandProcessor.executeCommand(CommandProcessor.java:59)
at ch.epfl.trans.util.CommandProcessor.executeCommand(CommandProcessor.java:44)
at ch.epfl.trans.TraNS.simulate(TraNS.java:532)
at ch.epfl.trans.TraNS.actionPerformed(TraNS.java:454)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6268)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6033)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 44 more
Error executing /home/nadia/work/ns-allinone-2.35/ns-2.35 /home/nadia/work/transv1.2/TraNSv1.2/traci/tracicommands-examples/changeRoute/changeRoute_manhattan_30.tcl
is there anyone to help me, please?

thanks

Last edited by nadia_kh; 07-14-2012 at 12:48 PM.
 
Old 07-16-2012, 10:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Don't post the same question three times. Thread reported
 
Old 07-16-2012, 05:42 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
java.io.IOException: Cannot run program "/home/nadia/work/ns-allinone-2.35/ns-2.35":
java.io.IOException: error=13, Permission denied
'ns-2.35/' is a directory : Cannot be executed.

Could it be a line in a script that is missing something ?
? Should it have been: /home/nadia/work/ns-allinone-2.35/ns-2.35/file?

.
 
  


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
Unable to install ns2.34 on ubuntu 11.10 san_as Linux - Software 1 05-01-2012 11:25 AM
how to execute syn flood in ns2 rashmi.naveen Linux - Newbie 1 12-30-2011 06:36 PM
unable to interpret ns2 naren123.k Programming 5 03-26-2011 05:53 AM
Unable to install NS2 on fedora 5 azamjiva Linux - Newbie 19 10-08-2008 03:16 PM
unable to Run NS2 imania Linux - Networking 2 08-23-2008 11:56 AM

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

All times are GMT -5. The time now is 03:28 AM.

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