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.

Agent doesn't work with macOS High Sierra 10.13.5

[Server]

OCSInventory-Server 2.4.1

CentOS Linux 7 (Core)

Linux x86_64 3.10.0-693.2.2.el7.x86_64


[Agent]

Mac OS : High Sierra 10.13.5

Agent : OCS-NG_unified_unix_agent_v2.3.1


[Issue]

Hi,

I updated macOS version from High Sierra 10.13.3 to High Sierra 10.13.5.

At the time of 10.13.3, agent works well, connecting and uploading informations to the OCS Inventory NG server.

After I have updated my Mac OS to 10.13.5 (latest at this moment), same agent fails to connect to the server at the startup of Mac OS.

This only happens on startup of Mac OS, I still can upload informations to the server with  following success way.


[success way]

open Finder > Applications > find and right-click the OCSNG icon > choose "Open" from the submenu > choose yes on "Do you want to launch OCS Inventory NG agent ?" Dialog.

All I did is just updated my Mac OS.

I checked the log of the agent,  it says "Cannot establish communication".

I ping to the server and get reply.

I can resolve the name of the server with nslookup.

I can access the server with my browser using ssl.

Thank you for your attention and your help in advance.

Best Regards,


[Log of the agent at the startup]

[Fri Jun 22 14:12:21 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3.1

[Fri Jun 22 14:12:21 2018][debug] Log system initialised (File)

[Fri Jun 22 14:12:21 2018][debug] --scan-homedirs missing. Don't scan user directories

[Fri Jun 22 14:12:22 2018][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__<my server>ocsinventory/ocsinv.adm

[Fri Jun 22 14:12:22 2018][debug] A TAG seems to already exist in the ocsinv.adm file. The -t parameter will be ignored. Don't forget that the TAG value will be ignored by the server unless it has OCS_OPT_ACCEPT_TAG_UPDATE_FROM_CLIENT=1.

[Fri Jun 22 14:12:22 2018][debug] OCS Agent initialised

[Fri Jun 22 14:12:22 2018][debug] Failed to load `/etc/ocsinventory-agent/modules.conf': 0

[Fri Jun 22 14:12:22 2018][debug] No modules will be used.

[Fri Jun 22 14:12:22 2018][debug] Compress::Zlib is not available! The data will be compressed with

             gzip instead but won't be accepted by server prior 1.02

[Fri Jun 22 14:12:22 2018][debug] sending XML

[Fri Jun 22 14:12:22 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <DEVICEID>hamaguchi-mac-10-2018-06-22-12-13-25</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[Fri Jun 22 14:12:22 2018][error] Cannot establish communication : 500 Can't connect to <my server>:443 (nodename nor servname provided, or not known)

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

2 Answers

0 votes
Hi,

Can your server resolve the FDQN of the ocs server?
Regards

Frank
by (90.4k points)
0 votes

Hi,

Thank you for your reply.

yes, both server and client can resolve the FQDN of the server with nslookup command.

Another agent 2.3.1 on the High Sierra 10.13.4 still works fine.

by (260 points)
 
Powered by Question2Answer
...