OCS Inventory NG Forums

OCS Inventory NG, an OpenSource computer inventory and package deployement system for Windows and Unix

You are not logged in.

#1 2008-01-16 21:21:59

knowtown
New member
Registered: 2007-12-11
Posts: 8

MAC agent error on one MAC client

I am attempting to install and configure OCS-NG to inventory some servers in my environement. The Server is running on RHEL4u5. The install went OK and I have installed the agent on several boxes to test with the following results.
Linux agent on the OCS server itself runs great and reports inventory.
Windows service agent on two seperate windows boxes works great and reports inventory.
Mac agent on a test iBook running 10.4 runs great and reports inventory
Mac agent on another Mac running 10.4 does not finish running and ends with the following error:

[ ERROR ] Cannot transmit inventory. Response Code: 500

The ocsinv.log on the local machine shows:

[ INFO ] OCS Mac Agent started at Tue, 15 Jan 2008 13:36:52 -0700
[ ERROR ] Error contacting  communication server [http://ocsinventory-ng/ocsinventory].
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ INFO ] OCS Mac Agent started at Tue, 15 Jan 2008 13:56:39 -0700
[ ERROR ] Error contacting  communication server [http://its-ocs01/ocsinventory].

When I look at the httpd error log on the server I see several of these errors:

Issuing rollback() for database handle bing DESTROY'd without explicit disconnect() at /usr/lib/perl5/site_perl/5.8.5/Apache/Ocsinventory/Server/Inventory.pm line 74.
DBD::mysql::db do failed: Unknown column 'N' in 'field list' at /usr/lib/perl5/site_perl/5.8.5/Apache/Ocsinventory/Server/Inventory.pm line 167.

I would love to know where to continue looking to troubleshoot this before I continue to roll out more agents. And if anyone knows why it would work OK for one Mac agent but not the second that would be great. This is the latest Mac agent downloaded just a few days ago, by the way.

Thanks in advance if anyone has any thoughts.

Offline

#2 2008-03-17 11:15:17

Darkomen
New member
Registered: 2008-03-11
Posts: 2

Re: MAC agent error on one MAC client

Same error here with a fresh install...

OS X Server 10.4.11
Mac Client on OS X 10.5.2

Any solution ?

Offline

#3 2009-01-28 16:50:32

Southerner
Member
From: Ellensburg, WA
Registered: 2008-12-09
Posts: 75

Re: MAC agent error on one MAC client

We are getting the same issue with Mac OCS 4.4 talking to a Linux server.  Mac clients running 10.5.
[ INFO ] OCS Mac agent started at Mon. 05 Jan 2009 21:43:52 -0808
[ INFO ] No new update needed for this agent
[ INFO ] Starting inventory of mac82162
[ INFO ] Cannot transmit inventory.  Response code: 500

No further info on that or why it can't transmit the inventory (or name) and we are having trouble with computers reporting the correct hostname as posted on another thread here.

Offline

#4 2009-05-08 17:40:29

Southerner
Member
From: Ellensburg, WA
Registered: 2008-12-09
Posts: 75

Re: MAC agent error on one MAC client

I continue to get the response code 500 error  on a large number of my non Intel Macs:

[  INFO  ] OCS Mac Agent started at Fri, 08 May 2009 08:48:52 -0700
[  INFO  ] No new update needed for this agent
[  INFO  ] Starting inventory of Music 213-04
[ ERROR ] Cannot transmit inventory.  Response Code: 500

We incorporated sth's patches too but continue to get this error.  We are running OCS 1.01 and have not moved to 1.02 yet.

Is anyone else having the error 500?  How do you fix it?

thank you.

Offline

Board footer

Powered by FluxBB