Hi.
I also stuck in the deployment feature.It seems not run out of the box on a fresh installed environment under Ubuntu 16.04 (see my post in this forum),
Because of your error message, have a look at:
Check config:
# vim /etc/apache2/conf-available/z-ocsinventory-server.conf
[...]
#Web Service for plugin engine
<Location /ocsplugins>
<IfModule mod_authz_core.c>
# Apache 2.4
# Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
order deny,allow
allow from 127.0.0.1
</IfModule>
#SetHandler perl-script
PerlHandler Apache::Ocsinventory::Plugins::Apache
</Location>
[...]
Check rights:
# chmod -R -v 755 /var/lib/ocsinventory-reports/download
If you find the time let me know if it works.