Hi Everyone,
I am using veins for my project. For this I am following VEINS tutorial given at
http://veins.car2x.org/tutorial/ . Till day before yesterday every example given in veins was running fine without any error But now I am getting the following error:
Loading images from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/bitmaps: *: 0 Loading images from /home/sandeep/omnetpp-4.1/images: *: 0 misc/*: 70 abstract/*: 90 maps/*: 9 background/*: 4 device/*: 195 status/*: 28 old/*: 111 block/*: 320 msg/*: 55
Plugin path: ./pluginsOMNeT++ Discrete Event Simulation (C) 1992-2010 Andras Varga, OpenSim Ltd.
Version: 4.1, build: 100611-4b63c38, edition: Academic Public License -- NOT FOR COMMERCIAL USESee the license for distribution terms and warranty disclaimer
Setting up Tkenv...Loading NED files from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples: 67
Loading NED files from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src: 189RUNTIME ERROR. A cRuntimeError exception is about to be thrown, and you
requested (by setting debug-on-errors=true in the ini file) that errorsabort execution and break into the debugger.
You should now probably be running the simulation under gdb or anotherdebugger. The simulation kernel will now raise a SIGABRT signal which will
get you into the debugger. If you are not running under a debugger, you canstill use the core dump for post-mortem debugging. Once in the debugger,
view the call stack (in gdb: "bt" command) to see the context of theruntime error.
<!> Error in module (TraCIScenarioManagerLaunchd) scenario.manager (id=3) during network initialization: Model error: Could not read 4 bytes from TraCI server, got only 0: Connection reset by peer.
TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?
Simulation terminated with exit code: 134Command line: /home/sandeep/omnetpp-4.1/bin/opp_run -r 0 -n /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples:/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src -l /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src/inet /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/omnetpp.ini
Working directory: /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd
PATH=/home/sandeep/omnetpp-4.1/bin::/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/sandeep/omnetpp-4.1/bin:/home/sandeep/omnetpp-4.1/bin
LD_LIBRARY_PATH=/home/sandeep/omnetpp-4.1/lib::/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/../lib/amd64:/usr/lib64/mpi/gcc/openmpi/lib64:/usr/lib64/xulrunner-addons
OMNETPP_IMAGE_PATH=/home/sandeep/omnetpp-4.1/images The output in terminal is
sandeep@linux-oh07:~> cd omnetpp-4.1/samples/sommer-inet-sommer-fa9561bsandeep@linux-oh07:~/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b> cd etc
sandeep@linux-oh07:~/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/etc> python sumo-launchd.py -vv -c sumoLogging to /tmp/sumo-launchd.log
Listening on port 9999Connection from 127.0.0.1 on port 39202Handling connection from 127.0.0.1 on port 39202
Got TraCI message of length 2Got TraCI command of length 1Got TraCI command 0x0
Got CMD_GETVERSIONGot TraCI message of length 287Got TraCI command of length 282
Got TraCI command 0x75Got CMD_FILE_SEND for "sumo-launchd.launch.xml"
Got CMD_FILE_SEND with data "<launch> <copy file="net.net.xml"/>
<copy file="routes.rou.xml"/> <copy file="sumo.sumo.cfg" type="config"/>
<basedir path="/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/"/> <seed value="0"/>
</launch>"Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-tNf2hdBase dir is /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/
Seed is 0Finding free port number...Claiming lock on port
...found port 47133Starting SUMO (sumo -c sumo.sumo.cfg) on port 47133, seed 0Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 1)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 2)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 3)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 4)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 5)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 6)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 7)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 8)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 9)
Error ([Errno 111] Connection refused)Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 10)
Error ([Errno 111] Connection refused)Releasing lock on portCleaning up
Result: "None"Aborting on error: [Errno 111] Connection refusedClosing connection from 127.0.0.1 on port 39202
Can anyone please help me?
Thans You!
--
Neeraj Mudgil
M.Tech Computer Engg.(2010-12)
NIT Kurukshetra
Contact: 09992300873
*
**(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´ Smiling!
`·.¸.·´ *
--
Neeraj Mudgil
M.Tech Computer Engg.(2010-12)
NIT Kurukshetra
Contact: 09992300873
(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´
Smiling!
`·.¸.·´