You are not logged in.
Pages: 1
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
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
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
@ 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
Or you can also use the Mac agent from Wolfren13
It works prefectly, even on 10.5.7
Offline
% 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
@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
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
Pages: 1