Skip Menu |

This queue is for tickets about the Ocsinventory-Agent CPAN distribution.

Report information
The Basics
Id: 39586
Status: open
Priority: 0/
Queue: Ocsinventory-Agent

People
Owner: Nobody in particular
Requestors: lior [...] gradstein.info
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0.9.2
Fixed in: (no value)



Subject: When launching ocsinventory-agent without Compress::Zlib, gzip alternative doesn't work
Perl version: v5.8.2 built for aix-thread-multi OS: AIX gzip version: gzip 1.2.4 (18 Aug 93) When the module Compress::Zlib is not available on the system, ocsinventory-agent tries to use gzip to compress the XML data, but there seems to be an incorrect parameter as when I run it with --debug, I get the help from gzip, as shown below: (root):/tmp/ocs/Ocsinventory-Agent- 0.0.9.2# /usr/opt/perl5/bin/ocsinventory-agent --debug [debug] Ocsinventory unified agent for UNIX and Linux0.0.9.2 [debug] Log system initialised [debug] Accountinfo file: /var/lib/ocsinventory- agent/http:__anothermachine/ocsinv.adm [debug] OCS Agent initialised gzip 1.2.4 (18 Aug 93) usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...] -c --stdout write on standard output, keep original files unchanged -d --decompress decompress -f --force force overwrite of output file and compress links -h --help give this help -l --list list compressed file contents -L --license display software license -n --no-name do not save or restore the original name and time stamp -N --name save or restore the original name and time stamp -q --quiet suppress all warnings -r --recursive operate recursively on directories -S .suf --suffix .suf use suffix .suf on compressed files -t --test test compressed file integrity -v --verbose verbose mode -V --version display version number -1 --fast compress faster -9 --best compress better file... files to (de)compress. If none given, use standard input. [debug] Compress::Zlib is not avalaible! The data will be compressed with gzip instead but won't be accepted by server prior 1.02 [debug] sending XML Nothing is sent, and the agent gets stuck.
From: lior [...] gradstein.info
Hmm, sorry, the request seems to work, but it was sooooo slow, that I stopped it before. There's just one thing I can't explain: Why does Compress.pm displays the help of gzip ? Le Mer. Sep. 24 10:37:02 2008, http://lstep.myopenid.com/ a écrit : Show quoted text
> Perl version: v5.8.2 built for aix-thread-multi > OS: AIX > gzip version: gzip 1.2.4 (18 Aug 93) > > When the module Compress::Zlib is not available on the system, > ocsinventory-agent tries to use gzip to compress the XML data, but > there seems to be an incorrect parameter as when I run it with --
debug, Show quoted text
> I get the help from gzip, as shown below: > > (root):/tmp/ocs/Ocsinventory-Agent- > 0.0.9.2# /usr/opt/perl5/bin/ocsinventory-agent --debug > [debug] Ocsinventory unified agent for UNIX and Linux0.0.9.2 > [debug] Log system initialised > [debug] Accountinfo file: /var/lib/ocsinventory- > agent/http:__anothermachine/ocsinv.adm > [debug] OCS Agent initialised > gzip 1.2.4 (18 Aug 93) > usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...] > -c --stdout write on standard output, keep original files > unchanged > -d --decompress decompress > -f --force force overwrite of output file and compress links > -h --help give this help > -l --list list compressed file contents > -L --license display software license > -n --no-name do not save or restore the original name and time > stamp > -N --name save or restore the original name and time stamp > -q --quiet suppress all warnings > -r --recursive operate recursively on directories > -S .suf --suffix .suf use suffix .suf on compressed files > -t --test test compressed file integrity > -v --verbose verbose mode > -V --version display version number > -1 --fast compress faster > -9 --best compress better > file... files to (de)compress. If none given, use standard > input. > [debug] Compress::Zlib is not avalaible! The data will be compressed > with > gzip instead but won't be accepted by server prior 1.02 > [debug] sending XML > > > Nothing is sent, and the agent gets stuck.
Le Mer. Sep. 24 10:50:10 2008, http://lstep.myopenid.com/ a écrit : Show quoted text
> Hmm, sorry, the request seems to work, but it was sooooo slow, that I > stopped it before. > There's just one thing I can't explain: Why does Compress.pm displays > the help of gzip ?
Hi! How long is "sooooo slow" for you? Your problem about gzip error is fixed on the svn. svn co https://ocsinventory.svn.sourceforge.net/svnroot/ocsinventory/trunk/unified_unix_agent Best regards, Gonéri Le Bouder
Hi, Can you please confirm the bug is fixed in this release? http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz Best regards, Gonéri
Hi, Can you please confirm the bug is fixed in this release? http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz Best regards, Gonéri
Subject: Re: [rt.cpan.org #39586] When launching ocsinventory-agent without Compress::Zlib, gzip alternative doesn't work
Date: Thu, 25 Sep 2008 11:27:13 +0200
To: bug-Ocsinventory-Agent [...] rt.cpan.org
From: "Lior Gradstein" <lior [...] gradstein.info>
I hve tested against the SVN this morning and it's OK. On Thu, Sep 25, 2008 at 11:11 AM, Gonéri LE BOUDER via RT < bug-Ocsinventory-Agent@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39586 > > > Hi, > > Can you please confirm the bug is fixed in this release? > > http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz > > Best regards, > > Gonéri >
Subject: Re: [rt.cpan.org #39586] When launching ocsinventory-agent without Compress::Zlib, gzip alternative doesn't work
Date: Thu, 25 Sep 2008 14:55:03 +0200
To: bug-Ocsinventory-Agent [...] rt.cpan.org
From: "Lior Gradstein" <lior [...] gradstein.info>
Hmm, sorry, there seems to be a problem. This version doesn't seem to work if my server returns a "302 redirect". The agent doesn't follow it. Strange, because the 0.0.9.2 version was fine and followed the redirect from Apache. [error] Cannot establish communication : 302 Found On Thu, Sep 25, 2008 at 11:27 AM, Lior Gradstein <lior@gradstein.info>wrote: Show quoted text
> I hve tested against the SVN this morning and it's OK. > > > On Thu, Sep 25, 2008 at 11:11 AM, Gonéri LE BOUDER via RT < > bug-Ocsinventory-Agent@rt.cpan.org> wrote: >
>> <URL: http://rt.cpan.org/Ticket/Display.html?id=39586 > >> >> Hi, >> >> Can you please confirm the bug is fixed in this release? >> >> http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz >> >> Best regards, >> >> Gonéri >>
> >
Le Jeu. Sep. 25 08:55:29 2008, lior@gradstein.info a écrit : Show quoted text
> Hmm, sorry, there seems to be a problem. This version doesn't seem to > work > if my server returns a "302 redirect". The agent doesn't follow it. > Strange, > because the 0.0.9.2 version was fine and followed the redirect from > Apache.
Humm, There is very few changes regarding this part of the code.
Subject: Re: [rt.cpan.org #39586] When launching ocsinventory-agent without Compress::Zlib, gzip alternative doesn't work
Date: Thu, 25 Sep 2008 15:05:44 +0200
To: bug-Ocsinventory-Agent [...] rt.cpan.org
From: "Lior Gradstein" <lior [...] gradstein.info>
The code that is supposed to work on this is the LWP module ? $LWP::VERSION gives me libwww-perl-5.808. On Thu, Sep 25, 2008 at 2:59 PM, Gonéri LE BOUDER via RT < bug-Ocsinventory-Agent@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39586 > > > Le Jeu. Sep. 25 08:55:29 2008, lior@gradstein.info a écrit :
> > Hmm, sorry, there seems to be a problem. This version doesn't seem to > > work > > if my server returns a "302 redirect". The agent doesn't follow it. > > Strange, > > because the 0.0.9.2 version was fine and followed the redirect from > > Apache.
> Humm, There is very few changes regarding this part of the code. >