@froloito123
Your problem is different then my.
Err_05 : Residual directory found in perl dir ( by default -> /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/PLUGIN_NAME/ )
This error display when You uninstall plugin and install again (and you not properly clean before install plugin again).
Try this - it will help:
1. Remove plugin officepack from www,
2. Delete files/directories (if they any):
/etc/ocsinventory-server/plugins/officepack.conf
/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack
/usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail/cd_officepack
/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_officecpack
3. Install again officepack plugin (from www).