Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Unix Deployment - missing info file

$
0
0

As I try to use the deployment feature from a Unix OCS Server to an Unix agent, the client never receives the package. It seems that OCS fails to create/send the "info file" of the package.

When I try to access to https://<server_hostname>/downloads/<packagetimestamp>, I receive a 403 - Forbidden error.

I use self-signed certificate, the certificate is shared between the server and the client.

Server certificate : /etc/ssl/certs/ocsng.pem

Client certificate : /var/lib/ocsinventory-agent/https:__<server_hostname>:443_ocsinventory/cacert.pem

The CN on the certificate is the hostname of the Machine where the OCS Server is.

The SSL Mode is enabled and set on SSL_MODE_PREFERRED and the key and cert paths are correct.

OCS Inventory NG Unix Server version : 2.7

OCS Inventory Unix Client : 2.6.1

Server's OS : Ubuntu 18.04

Client's OS : Ubuntu 18.04

Logs on client Side :

/var/log/ocsinventory-agent.log :

[Wed May  6 18:29:32 2020][debug] =BEGIN=SERVER RET======
[Wed May  6 18:29:32 2020][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>
</REPLY>
';
[debug] Calling handlers : `end_handler'
[debug] [download] Calling download_end_handler
[info] [download] Beginning work. I am 4346.
[debug] [download] No info file found for 1588777867!!
[info] [download] Cleaning 1588777867 package.
[info] [download] No more package to download.
[debug] [download] End of work...


Logs on server side :

/var/log/ocsinventory-server/activity.log :

;2201;2001;client-ocs-2020-05-06-09-50-08;<Client_IP_Adress>;OCS-NG_unified_unix_agent_v2.6.1;download;1588770988(ERR_DOWNLOAD_INFO)

/var/log/apache2/error.log :

[ssl:warn] [pid 4306] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name

Thanks in advance for anyone who can help me.


Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>