Koozali.org: home of the SME Server

OCS Inventory Error on Installed Server

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
OCS Inventory Error on Installed Server
« 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
Des Dougan

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Re: OCS Inventory Error on Installed Server
« Reply #1 on: February 09, 2010, 09:09:08 PM »
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
Des Dougan

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: OCS Inventory Error on Installed Server
« Reply #2 on: February 18, 2010, 11:23:05 AM »
No. AFAIK, OCS agent doesn't support inventory over HTTPS (not yet at least, it's on the roadmap)

Regards
C'est la fin du monde !!! :lol: