Introduction
When running an installer on a Linux installation that does not have netstat installed the following exception reported in the installer log,
Exception: isPortAvaiable() : while get the available ip port Cannot run program "netstat": error=2, No such file or directory
java.io.IOException: Cannot run program "netstat": error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at java.base/java.lang.Runtime.exec(Runtime.java:592)
at java.base/java.lang.Runtime.exec(Runtime.java:416)
at java.base/java.lang.Runtime.exec(Runtime.java:313)
at com.zerog.ia.installer.rmi.RmiServer.isPortAvaiable(Unknown Source)
Steps to solve the issue:
The merge module needs to be configured to display its progress in the parent's progress, in absence of Netstat/net-tool in linux it will display the error message in the installer log.
1. Use the following command to install the netstat/net-tool package,
apt-get install net-tools
2. Then Build and run the installer and check the log.
Outcome:
After Install the netstat/net-tool package in linux/Ubuntu, the exception will disappear in the log.
Related Articles
How to Write Custom Messages in the DEBUG log using lc_log? 472Number of Views Error may appear in beacon-services.log files: "Error occurred while saving the log file. Exception: {0} Stream does not s… 7Number of Views ISDEV : fatal error -9088: Trying to Import a Visual Studio setup or merge module project (.vdproj) into an InstallShield … 3Number of Views WriteRemoteFileEvidenceMatchCounts import writer step may fail with error: Failed to import inventory devices with error m… 5Number of Views Information on Merge Module 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago