New install of ocsinventory, all modules on the same (debian) server. /ocs-reports seems to be working fine now, but when I install the agent on a test machine it can't reach the server module located at /ocsinventory
The relevant line in the agent logs is:
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #403>
I've also tried manually pointing a browser at http://x.x.x.x/ocsinventory and I do indeed get a 403 error. When I do the same from the server itself I get a blank page, which I assume is intended.
I do not have a firewall or any network-level blocks between the agent computer and the server. I assume I have misconfigured something.
If I compare permissions between /usr/share/ocsinventory-reports and /usr/share/ocsinventory-server, the only difference is that /ocsinventory-reports is owned by www-data www-data and ocsinventory-server is owned by root root. Is it possible that's the source of my problem? I'm hesitant to just go changing owners without fully understanding who the owner is *supposed* to be.