Topic: Cleaning up ocsinventory installations
Hi,
I have been a little careless, and I have a number of machines that now have more than one ocs install :-(. On one I have the old linux client, 1.0.1 of the unix agent and now 1.1.2 from epel. I tried doing a make uninstall on one machine but it just said it was dangerous and did nothing. We didn't originally want to install stuff from epel but it's just too annoying installing and maintaining things manually! Does anyone have any advice?
We could just leave the old versions installed and remove the cron jobs but unfortunately the rpm version installed doesn't work. It seems to be because Ocsinventory is installed into perl in a different place by the two systems, and so I get:
Undefined subroutine &Ocsinventory::Agent::run called at (eval 20) line 1.
The different locations in perl are:
/usr/lib/perl5/site_perl/5.8.8/Ocsinventory/
and
/usr/lib/perl5/vendor_perl/5.8.8/Ocsinventory
Can any suggest a way to move forward?
Thanks
Anton