Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11965

OfficePack in OCS Server 2.2 - Problem and Solution

$
0
0

Plugin OfficePack 1.0 installed according to the instructions described in https://github.com/PluginsOCSInventory-NG/officepack/releases/tag/1.0 but was not working properly. The agent collected the information, but the office of the license was not displayed in the OCS Reports and was not being stored in the database.

The following is the procedure performed by me on an Ubuntu 04.14 and OCS Server 2.2 server.


- Clone project
git clone https://github.com/PluginsOCSInventory-NG/officepack.git

- Enter the directory of sources
cd officepack

For the plugin data up correctly to be registered in the database
cd officepack/APACHE

- Copy the folder "cd_officepack"
cp officepack.conf /etc/ocsinventory-server/plugins


- Create OfficePack directory in "/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins"
mkdir /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack

- Copy Map.pm to "/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack"
cp Map.pm /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack

- Restart apache
service apache2 restart


For office licenses be displayed on the computer details in the "Software" section


- Copy the folder "cd_officepack" to /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
cp -R cd_officepack /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail

- Fix permissions
chown -R www-data:www-data /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail


chmod 755 /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail

- Restart apache
service apache2 restart

Enjoy.


Viewing all articles
Browse latest Browse all 11965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>