Koozali.org: home of the SME Server

OCS inventory tools installation

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: OCS inventory tools installation
« Reply #15 on: September 21, 2011, 10:06:56 AM »
Very strange... today only linux agents contact server    OCS-NG_unified_unix_agent_v0.0.9.2, OCS-NG_unified_unix_agent_v1.1.2, no one of windows agent contact, OCS-NG_windows_client_v4061, OCS-NG_WINDOWS_AGENT_v2.0.0.20,

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: OCS inventory tools installation
« Reply #16 on: September 21, 2011, 10:25:39 AM »
I do not know but suddenly the agents reported. but only OCS-NG_windows_client_v4061, no agents on newer versions

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #17 on: September 22, 2011, 04:58:26 AM »
I don't think that it has anything to do with the WinAgent Version. I use 4032 and 4061 connecting to the same OCS Server and can't recognize any relation between connect succsess and WinAgent Version.
Sometimes it seems, there are days with many connects and days with no connects...

At some OCS Servers there are no connects since two months and it also istn't possible to force a connect with a manual start of the client.

Is it possible that some adjustments of apache changed two or three months ago which cause this behaviour?

Greetings, Uli

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #18 on: October 07, 2011, 04:56:39 AM »
Hello,

now it seems the problem with the not-contacting Win-Clients could be solved...
For a successful contact you have to add one line to the "httpd.conf". Here's the process:

Create a template fragment:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs   /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

Modify the fragment:
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/97ocs

Insert the line " PerlSetEnv OCS_OPT_WEB_SERVICE_RESULTS_LIMIT 20 " and leave with saving.

Expand the template:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

Restart Apache:
/etc/init.d/httpd restart

Now OCS Win-agents should act normally.

Greetings, Uli

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: OCS inventory tools installation
« Reply #19 on: October 07, 2011, 09:02:51 AM »
Great, I will try it and see what happens, as none of my Windows Boxes can contact the OCS Server..

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #20 on: October 07, 2011, 03:59:12 PM »
Hello,

I've made it with OCS Server Version 4100 and the Client 4061. Up to today with eight installations, which now are working well again.
Could you give a short notice if it works for you?

Greetings, Uli