LinuxQuestions.org
Register a domain and help support LQ
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

Closed Thread
 
Search this Thread
Old 07-14-2012, 03:25 PM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
Question TraNSv1.2 problem with ns2.35


Hello
i use TraNSv1.2 in fedora 15. the sumo partition works but the program is unable to execute NS2.35. 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
 
Old 07-16-2012, 09:32 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,132

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Don't post the same question three times. Thread reported
 
Old 07-16-2012, 04:08 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


https://www.linuxquestions.org/quest...s2-4175416578/
https://www.linuxquestions.org/quest...am-4175416979/
 
  


Closed Thread


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
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
TraNSv1.2 is unable to execute NS2 nadia_kh Linux - Newbie 2 07-16-2012 04:42 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
Problem by ns2.33 azarakhsh Linux - Networking 1 06-09-2009 02:56 PM


All times are GMT -5. The time now is 02:23 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