Hi,
I'm having a similar problem. My ocsinventory server log file is showing an error: "[error] Cannot establish communication : 301 Moved Permanently
I have installed the OCS server and the agent in a virtual machine in Virtual Box, I'm using Ubuntu 12.04 as operation system. I manage to log into OCS server, but it cannot get any information from the agent.
Any clue?
Thanks in advance