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 2009-06-15 13:01:42

bertrand_lupart
New member
Registered: 2009-06-15
Posts: 1

Broken download links for Mac agent?

Hello,

I used to download OCS Mac agent from the links provided here: http://codejanitor.com/wp/apps/ocs-mac-agent/ but none of them seem to work anymore.

Where can the last OCS Mac agent be downloaded?

Thank you,

Last edited by bertrand_lupart (2009-06-15 13:02:17)

Offline

#2 2009-06-15 14:05:12

hunal
OCS Team
Registered: 2007-04-04
Posts: 2,433
Website

Re: Broken download links for Mac agent?

Mac boxes are now supported by unix unified agent :
http://sourceforge.net/project/download … a=82456349


"It is not the software that is free, it is YOU"
--
hunal  on network irc.freenode.net

Offline

#3 2009-06-15 16:01:32

sth
Member
Registered: 2009-03-05
Posts: 59

Re: Broken download links for Mac agent?

Jason moved the original PHP client to another server, and there is a patched version available.  See the thread at http://forums.ocsinventory-ng.org/viewtopic.php?id=3866

I have not been able to get the unix unified agent to work reliably.  I should give it another try, but the code hasn't been touched for 4 months so I am not hopeful that it will work.  The code only builds on a MacIntel box and the wiki with all the instructions is just empty placeholders.  I would like to use the unified unix agent but it is such a second class citizen and hasn't been tested on a range of OS versions.

If I am wrong and there is a good stable version of the Mac OSX agent that runs on  10.3.X through 10.5.X, I would love to hear of it.  At some point I did post a list of problems with the agent and Mac OS X.  IIRC the agent does all sorts of things that the launchdaemon documentation says are really really bad.

Offline

#4 2009-06-16 14:40:35

sth
Member
Registered: 2009-03-05
Posts: 59

Re: Broken download links for Mac agent?

@ hunal
I installed the unified unix agent and here is the problem I have under Mac OS X 10.5.7

[Tue Jun 16 09:22:00 2009][debug] Compress::Zlib is avalaible.
[Tue Jun 16 09:22:00 2009][debug] sending XML
Undefined subroutine &Compress::Zlib::compress called at lib/Ocsinventory/Compress.pm line 46.

This is an odd contradiction, that tells me that the Compress functionality is available but fails when it tries to use it.

Now I have Zlib.pm on my machine, but it shows up in various places.  Maybe someone can tell me how to make sure it finds the correct version?  These all should be fairly close to the same version.

/sw/lib/perl5/5.8.6/Compress/Zlib.pm
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/Compress/Raw/Zlib.pm
/sw/lib/perl5/5.8.8/Compress/Zlib.pm
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level/Compress/Raw/Zlib.pm
/sw/lib/perl5/5.8.8/IO/Zlib.pm
/Library/Perl/5.8.8/Compress/Zlib.pm
/Library/Perl/5.8.8/darwin-thread-multi-2level/Compress/Raw/Zlib.pm
/Library/Perl/5.8.8/IO/Zlib.pm
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/Compress/Zlib.pm
/System/Library/Perl/Extras/5.8.8/IO/Zlib.pm

These all seem to be 2.015 and seem to export the compress method.  So why can't the agent find it?

Offline

#5 2009-06-16 16:40:52

Buzz
Member
From: Bordeaux, France
Registered: 2009-04-01
Posts: 65
Website

Re: Broken download links for Mac agent?

Or you can also use the Mac agent from Wolfren13 wink
It works prefectly, even on 10.5.7

Offline

#6 2009-06-17 09:36:01

hunal
OCS Team
Registered: 2007-04-04
Posts: 2,433
Website

Re: Broken download links for Mac agent?

perl -e 'print "$_\n" for @INC'


"It is not the software that is free, it is YOU"
--
hunal  on network irc.freenode.net

Offline

#7 2009-06-17 19:51:36

sth
Member
Registered: 2009-03-05
Posts: 59

Re: Broken download links for Mac agent?

% perl -e 'print "$_\n" for @INC'
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/5.8.8
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/sw/lib/perl5/darwin
/Library/Perl/Updates/5.8.8/darwin-thread-multi-2level
/Library/Perl/Updates/5.8.8
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level
/Library/Perl/5.8.8
/Library/Perl
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8
/Library/Perl/5.8.6
/Library/Perl/5.8.1
.
%
----------------------------
Looks like it should find anyone of those 5.8.8 versions of Compress::Zlib

Offline

#8 2009-06-17 19:58:06

sth
Member
Registered: 2009-03-05
Posts: 59

Re: Broken download links for Mac agent?

@Buzz
I just searched the forums for Wolfren13 and can't find any posts.

Ok, found Wolfren13fr, time to brush up on my foreign language abilities....

I believe I built the program correctly, but let me find the download and test that version.  Thanks!

Offline

#9 2009-09-02 21:04:53

sth
Member
Registered: 2009-03-05
Posts: 59

Re: Broken download links for Mac agent?

And to reply to my own message...  Finally I think I found the problem.  It seems one of the security updates broke some of the perl modules and you need to hand install some stuff.  One way to test if your PERL is borked is to
% cpan
cpan[1]> install CPAN

if that has a problem installing then you need to update your perl modules by hand.

Here are the instructions for fixing that http://nunoveloso.eu/blog/2009/03/04/pe … e-2009-001

Offline

Board footer

Powered by FluxBB