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
ISDEV : fatal error -9088: Trying to Import a Visual Studio Setup or Merge Module Project (.vdproj) Into an InstallShield … 8Number of Views Sequence A Custom Action In A Merge Module 10Number of Views Information on Merge Module 5Number of Views Add a Custom Merge Module to an InstallShield Project 17Number of Views Where can I get Merge Module updates? 9Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago