Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.5 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Err_02 Plugin Install on CentOS 7

General informations

Operating system : Centos 7

Server informations

Perl version : v5.16.3
Mysql / Mariadb / Percona version : 5.7.22

Server installation method ( Only one choice )

  •  RPM Package

OCS Inventory informations

Ocs server version : 2.4.1

Problem's description

Whenever I attempt to install any plugin from the plugins manager, the installation fails with error "The communication server encountered the following error on install : Err_02". I confirmed that the plugin directory is not being created in /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/. Apache:Apache is the owner of this directory and has read/write permissions.
I set SELinux to permissive to test and SELinux is not causing an issue.
Nothing is logged in the httpd error_log or access_log.
OCSInventory-Reports and OCSInventory-Server reside on the same server so it is not a network issue.
I'm not sure what else to try, is anyone else having this issue?

asked in OCS Inventory NG server for Unix by (140 points)

1 Answer

0 votes
Hi @rburkholder,

I have the same issue, after getting the Err_02 and seek for any hint on the web I found and reading the Modules.pm code, I've found a workaround manually copying the Map.pm file of my plugin in

/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/<Plugin_name>/Map.pm

and the configuration file in

/etc/ocsinventory-server/plugins/lastupdate/<plugin_name>.conf

Take care of the case ov Plugin_name and plugin_name, it's not a typo.

I hope that this can help you.

Gabriele
answered by (1.1k points)
 
Powered by Question2Answer
...