If mod_security
is configured in Oracle HTTP Server in Red Hat Enterprise Linux (RHEL) or Oracle Linux (OL) 7, Oracle HTTP Server fails to start. This error condition occurs because there is no symbolic link /lib64/liblzma.so.0
The generated error looks like the following:
iblzma.so.0: cannot open shared object file: No such file or directory
Log in as a root user.
To create a symbolic link, /lib64/liblzma.so.0, run the following command:
cd /lib64 ln -s liblzma.so.5.0.99 liblzma.so.0
ls -al *liblzma*
Exit root.
Start Oracle HTTP Server.
For example, startComponent.sh ohs1, where ohs1 is the Oracle HTTP Server instance you want to start.