Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empties OCS files in server when gzip is used by unix agent #463

Open
jsalgado78 opened this issue Jun 25, 2024 · 0 comments
Open

Empties OCS files in server when gzip is used by unix agent #463

jsalgado78 opened this issue Jun 25, 2024 · 0 comments

Comments

@jsalgado78
Copy link

jsalgado78 commented Jun 25, 2024

General informations

Operating system :
Server: DockerHub image ocsinventory/ocsinventory-docker-image:2.12
Client: RHEL 9.2 x86_64

Server informations

Perl version: 5.34.0
Mysql / Mariadb / Percona version : MySQL 5.7.33

OCS Inventory informations

Ocs Server version : 2.12.0

Problem's description

OCS Inventory Server 2.12.0 (Docker image used ocsinventory/ocsinventory-docker-image:2.12) generates empties ocs files (0 bytes size) when a computer (client) is running OCS Inventory Unix Agent 2.10.0, Compress::Zlib is not detected and gzip is used by the agent

[Tue Jun 25 12:51:47 2024][debug] Compress::Zlib is not available! The data will be compressed with
             gzip instead but won't be accepted by server prior 1.02

If I force deflated mode in Compress.pm (unix agent file) .ocs file is successfully generated in OCS Inventory Server
GENERATE_OCS_FILES option is enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant