Red Hat Bugzilla – Bug 592307
setup-ds.pl fails to detect unavailable port on Solaris
Last modified: 2015-01-04 18:42:24 EST
The setup-ds.pl is supposed to check and display an error message if the port number entered is unavailable. On Solaris the setup-ds.pl accepts the port number although it is being used by another server.
How reproducible: consistently.
Steps to Reproduce:
1. Create and run a DS instance with a certain port number.
2. Create another DS instance with the same port number.
In step #2 the port number is accepted, but the new DS instance will fail to start.
The conflicting port number should not be accepted and user should be asked to enter a new port number.
Created attachment 414067 [details]
The portAvailable() has been modified to use connect() instead of bind().