Nginx ERROR with CentOS 7 during install.py - fix SELinux -> Permissive

John, You are the mentor genius as always. I mistakenly thought selinux was something in the install.py script so I started my search there.That led me to how it operates and then back to the core OS itself. So, I did more research to see what exactly it was and why it was in the OS. The Dastardly NSA (national security agency) evidently pushed for this as a kernel module some time ago and it gets in the way of several things.

So, I used the follownig commands to check and set it properly BEFORE running the install script:

sudo getenforce ← this command returns the status

In my case the status came back as “Enforcing”

sudo setenforce 0 <–this command set the status to Permissive

Once this step is done the install.py script will in fact get past the NGINX errors I posted at the top of this thread.

However, the script then encounters another fatal error further down the line and still does not finish.

No matter. I still wanted to let @clarkej know his solution was the correct one for getting past the NGINX error.

BKM

1 Like