Getting Error in config.txt file of NetSim Simulator - networking

When I open NetSim's Config.txt file after Simulation I get the following error:
Error in config file ---
1) Unknown xml tag "UPDATE_TIMER" in line number 166.
Tag path: TETCOS_NETSIM/NETWORK_CONFIGURATION/DEVICE_CONFIGURATION/DEVICE
[3] /LAYER [2]/ROUTING_PROTOCOL/PROTOCOL_PROPERTY
However, Simulation runs Successfully. What does this mean?

You need to specify the missing parameters in the Configuration file which are mentioned in the "ConfigLog.txt". Since, NetSim will crash if all the required parameters are not configured, NetSim addresses this issue by enabling default values where ever required. Error produced in the "ConfigLog.txt" because the value for the "UPDATE_TIMER" for "ROUTING_PROTOCOL" is not specified in the Configuration file. In order to obtain accurate metrics for the desired scenario you need to update your Configuration.xml file.

Related

Files not being parsed by Gnatchop

Gnatchop - I am trying to run several files through gnatchop and I am getting 3 error messages for every file. I originally thought that the error was simply the permissions were wrong. But I changed the permissions and I still get the errors.
file.a: parse errors detected
file.a: chop may not be successful
file.a: error parsing offset info
Is there something I need to do to the files before I run them through Gnatchop?

PHP CodeSniffer: ERROR: The specified sniff code "Generic.Files.LineEndings.InvalidEOLChar" is invalid

My attempt to exclude the check for the EOL char on my Windows machine always results in this error message:
>vendor\bin\phpcs.bat --standard=PSR2 --exclude=Generic.Files.LineEndings.InvalidEOLChar src\version.php
ERROR: The specified sniff code "Generic.Files.LineEndings.InvalidEOLChar" is invalid
Run "phpcs --help" for usage information
Can't figure out what I'm doing wrong. I have installed PHP CodeSniffer via composer and am running version 3.4.0.
The --exclude CLI argument accepts 3-part sniffs codes, but you've passed in a 4-part error code.
In your case, the sniff code is Generic.Files.LineEndings and that sniff only generates a single error code, so you'll be fine ignoring the entire sniff:
vendor\bin\phpcs.bat --standard=PSR2 --exclude=Generic.Files.LineEndings src\version.php
If you want to exclude individual error codes, or if you just want to lock down a standard for your project, you'll need to use a ruleset.xml file: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset

"Failed to open dir" error when generating a PDF file with TCPDF

I'm trying to generate a PDF with TCPDF. I have the data to render in the PDF, I created the controller for that, but I'm getting the following error:
Warning: opendir(/home/symfony/pricing/web/tcpdf/fonts/): failed to open dir: No such file or directory
500 Internal Server Error - ContextErrorException
I don't know where it comes from.
Any suggestion?
Thanks!
it means opendir() can't find the directory supplied. try to search your files for 'web/tcpdf/fonts/' to locate that code and supply the correct location of the fonts

Netflix Turbine standalone war configuration

I am trying to configure Hystrix monitoring with Turbine aggregator.
I have successfully exposed Hystrix stream.
I would like to inject custom configuration into turbine war so I downloaded turbine-web-1.0.0.war and put into archive WEB-INF/config.properties with following content:
turbine.ConfigPropertyBasedDiscovery.default.instances=127.0.1.1
turbine.instanceUrlSuffix=:8080/testapp/hystrix.stream
When I start Turbine aggregator it logs following errors:
java.lang.IllegalArgumentException: Illegal character in authority at index 7: http://<instance1b>:80/hystrix.stream
at java.net.URI.create(URI.java:852)
at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69)
at com.netflix.turbine.monitor.instance.InstanceMonitor.init(InstanceMonitor.java:305)
at com.netflix.turbine.monitor.instance.InstanceMonitor.access$100(InstanceMonitor.java:103)
at com.netflix.turbine.monitor.instance.InstanceMonitor$2.call(InstanceMonitor.java:235)
Truncated. see log file for complete stacktrace
Caused By: java.net.URISyntaxException: Illegal character in authority at index 7: http://<instance1b>:80/hystrix.stream
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.parseAuthority(URI.java:3186)
at java.net.URI$Parser.parseHierarchical(URI.java:3097)
at java.net.URI$Parser.parse(URI.java:3053)
at java.net.URI.<init>(URI.java:588)
Truncated. see log file for complete stacktrace
I have no idea where instance1b comes from as my configuration doesn't contain anything like this.
If this is not correct what would be correct approach to use standalone turbine war.
Thank you
You need to store it at WEB-INF/classes/config.properties. Its still picking default file at WEB-INF/classes/config.properties, hence throwing such error.

fast export unexplained failure

I have roughly 14 million records that I am attempting to export from a Teradata table to file using a fast export connection object.
There is no size limit for fast export files on our Linux system, and there is 1.2 TB of available space in the target directory.
The session fails, and gives the following errors:
READER_2_1_1 FEXP_87011 Process [16022] exited with status [12]
SDKS_38200 Partition-level [SOURCE_TABLE_NAME]: Plug-in #305400 failed in deinit()
I googled the error message, and found this post:
Here
I followed the recommendations in the port to delete the .out file in the temp directory, delete the files that were partially filled in the target directory, and drop the error table and delete the log file. This did not fix the issue and the session still fails with the same error messages.
Try to use TPT Export plug-in instead. Also you can try to execute this FastExport using bteq scripts directly on your unix environment.

Resources