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.12.3 available

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

Failed to talk with Com Server - test enviroment [closed]

Hello,

This is my test enviroment where i want to try new versions of server and agent:

1. Server - Oracle Linux Server release 6.9 & OCSNG_UNIX_SERVER_2.4.1

2. Client - Windows 7 pro & OCSNG-Windows-Agent-2.3.1.1

Everything seems fine in ocs_server_setup.log

After installation I finished configuration throught webconsole and I can access to  webconsole but can't do inventory of machines

When I force inventory from client the problem is described in picture below:

In event viewer of windows client appear log "Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>."

In apache errorr log appear "[error] [client 192.168.1.108] Can't call method "do" on an undefined value at /usr/local/share/perl5/Apache/Ocsinventory/Server/System.pm line 189.\n"

Firewall and SELinux are disabled.

And one maybe useful information is that same client can do inventory on second server. Setup of second server is:

Centos 7 & OCSNG_UNIX_SERVER 2.3.1

Thanks in advance!

closed with the note: solved
in OCS Inventory NG server for Unix by (160 points)
closed by

1 Answer

0 votes
For those who have same problem, i figure out, problem were in configuration of  z-ocsinventory-server.conf , I forgot to make change of mysql user credentials.
by (160 points)
 
Powered by Question2Answer
...