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.

Cannot establis communication

Config: Failed to open /etc/ocsinventory-agent/ocsinventory-agent.cfg
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[info] You should run this program as super-user.
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__ocsinventory-ng_ocsinventory/ocsinv.adm
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[debug] [download] Calling download_start_handler
[debug]  - LWP loaded
[debug]  - LWP::Protocol::https loaded
[debug] [snmp] Calling snmp_start_handler
[debug]  - Net::SNMP loaded
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>SERVER-INVENTARIO-2017-11-01-00-37-57</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[error] Cannot establish communication : 500 Can't connect to ocsinventory-ng:80

___________________________________________________________________________

error.log

[Thu Nov 02 06:25:01.936041 2017] [ssl:warn] [pid 5436] AH01916: Init: (145.130.33.9:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Thu Nov 02 06:25:01.936048 2017] [ssl:warn] [pid 5436] AH01916: Init: (145.130.33.9:443) You configured HTTP(80) on the standard HTTPS(443) port!

.

.

[Thu Nov 02 10:10:45.189371 2017] [perl:error] [pid 10134] [client 145.130.33.8:55038] Insecure dependency in open while running with -T switch at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/System.pm line 257.\n
[Thu Nov 02 10:10:51.326494 2017] [perl:error] [pid 10151] [client 145.130.33.8:55042] Insecure dependency in open while running with -T switch at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/System.pm line 257.\n

in OCS Inventory NG agent for Unix by (280 points)
edited by

1 Answer

0 votes
Hi,

Is "ocsinventory-ng" hostname known in your dns? Try with the ip address of the server.

Regards

Frank
by (90.4k points)
ocsinventory-agent
 
Powered by Question2Answer
...