Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: ddougan on February 08, 2010, 01:15:52 AM
-
I have installed the OCS contrib on my SME 7.4 system and am able to access the Web interface. The installation instructions indicate that the SME Server should be seen on the application, but mine isn't.
I therefore ran the inventory command manually:
[root@jeeves files]# ocsinventory-agent -s localhost
[error] Cannot establish communication : 404 Not Found
[info] Don't send the inventory
With debug on:
[root@jeeves files]# ocsinventory-agent -i -s localhost --debug
[debug] Log system initialised
[debug] Accountinfo file: /var/lib/ocsinventory-agent/localhost/ocsinv.adm
[debug] Failed to load `/etc/ocsinventory-agent/modules.conf': 0. No external module will be used.
[debug] OCS Agent initialised
[debug] Failed to load Ocsinventory::Agent::Backend::OS::BSD::Mem: Global symbol "$unit" requires explicit package name at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend/OS/BSD/Mem.pm line 31.
Global symbol "$unit" requires explicit package name at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend/OS/BSD/Mem.pm line 32.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend.pm line 69.
As far as I can see, I followed the instructions correctly. Does anyone have any idea what this issue is?
Thanks,
Des
-
I figured out that the problem is caused by me having Plone installed and therefore having port 80 redirected to the Plone site. I can access the application - it's just the agents that have an issue. Is there a way to force them to use https?
Des
-
No. AFAIK, OCS agent doesn't support inventory over HTTPS (not yet at least, it's on the roadmap)
Regards