OHS 12.2.x privilege ports (<1024) UNIX
29/06/2017 -
En versiones previas a la 12.2.x, como ya se indicaba en este post, el procedimiento para iniciar el OHS en los puertos inferiores a 1024 ha ido modificando con el tiempo y esta versión no iba a ser menos que las anteriores. Dicho procedimiento se ha simplificado en esta última versión y las tareas a realizar son las siguientes:
- Parar los procesos de OHS:
1
$DOMAIN_HOME
/bin/stopComponent
.sh ohs1
- Como usuario root modificar el propietario del fichero “launch” y sus permisos:
12
chown
root $ORACLE_HOME
/ohs/bin/launch
chmod
4750 $ORACLE_HOME
/ohs/bin/launch
- Modificar el fichero $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs1/httpd.conf (o ssl.conf si se va a securizar). En este caso modificamos ssl.conf:
1234567891011
###################################################################
# Oracle HTTP Server mod_ossl configuration file: ssl.conf #
###################################################################
# The Listen directive below has a comment preceding it that is used
# by tooling which updates the configuration. Do not delete the comment.
#[Listen] OHS_SSL_PORT
Listen 443
[...]
#[VirtualHost] OHS_SSL_VH
<VirtualHost *:443>