Have you checked the suid bit on your cgi-wrapper executable? I had the same problem on Ubuntu.
# ls -l /usr/sbin/cgi-wrapper
-rwsr-xr-x 1 root root 31352 Jun 11 2017 /usr/sbin/cgi-wrapper
If you don't see -rws in the first 4 characters then
# chmod 4755 /usr/sbin/cgi-wrapper
Regards,
Steven
IT Consultant for
FastTech Support [www.fasttech.support]