OHS 11g/12c: How to Change SSL Port and Restart:
To change the SSL port and ensure the startComponent script picks up the new value. If multiple domains on the same machine failures will occur if using the same port.
Issue:
<2017-12-22 02:23:42> <INFO> <OHS-0> <(98)Address already in use: AH00072: make_sock: could not bind to address [::]:4443>
<2017-12-22 02:23:42> <INFO> <OHS-0> <(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:4443>
Solution:
Step 1: Change the listen port from 4443 to 4444 in ssl.conf file.
<OHS_HOME>/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1/
Example:
/u01/Middleware/ohs/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1/ssl.conf
Step 2: Save the file.
Step 3: Now start the components.
Example:
cd /u01/Middleware/ohs/user_projects/domains/base_domain/bin
./startNodeManager.sh
./startComponent.sh ohs1