gzip: stdout: Broken pipe



Hello DBI Users,

I am experiencing a weird issue with dbi while connecting to mysql
database. The goal of this project is to search the man pages available on
system and feed the existence of chapter information to mysql database.
Here is my code, which does that, It works for a huge list of commands on
system except for handful.

*http://pastebin.com/m46d78903*

When the above code runs on those handful commands, it gives the output
like

gzip: compressed data not read from a terminal. Use -f to force
decompression.
For help, type: gzip -h
sh: line 1: gzip:: command not found
sh: line 2: /usr/share/man/man1/csh.1.gz: Permission denied
csh ->
gzip: stdout: Broken pipe
/usr/share/man/man1/csh.1.gz
0 0 0 0 0 0 0 0 0 0 0 0 0 0

for csh command.

Interesting part is that, by mere having the connect subroutine who makes
the connection to the database, I am not sure if it is connecting the
database even though not called or what is the issue. :(
I saw the above error, if the following code stays in the Perl script.
*my $dbh = DBI->connect($connectionInfo,$userid,$passwd**)* If i comment
out this line, everything works fine

Here is the result if it is commented out :

csh -> /usr/share/man/man1/csh.1.gz
1 1 1 0 0 1 1 0 0 0 1 0 1 0
gawk -> /usr/share/man/man1/gawk.1.gz
1 1 1 1 0 1 0 1 0 0 1 0 1 0
mailx -> /usr/share/man/man1p/mailx.1p.gz
1 1 1 1 0 1 1 1 0 1 1 0 0 0
pgawk -> /usr/share/man/man1/pgawk.1.gz
1 1 1 1 0 1 0 1 0 0 1 0 1 0

Please help in investigating who is the culprit in this scenario, This is a
part of school project, I am done otherwise but just this part is what is
halting the completion.

Thanks
noble.


Relevant Pages

  • Re: Connect to Access Data from various regional locations
    ... All users will be connecting via broadband. ... When using MSDE ... > Dim rf As DAO.Recordset ... > There is a wizard to split your database into a FE and a BE; ...
    (microsoft.public.access.externaldata)
  • Re: Connect to Access Data from various regional locations
    ... All users will be connecting via broadband. ... When using MSDE ... > Dim rf As DAO.Recordset ... > There is a wizard to split your database into a FE and a BE; ...
    (microsoft.public.access.dataaccess.pages)
  • RE: Problem with connecting to an Oracle database using Perl
    ... Problem with connecting to an Oracle database using Perl ... *IS* described in the DBD::Oracle perldocs - as the perldocs are included ... I do not have a problem connecting to the remote database using the Oracle ...
    (perl.dbi.users)
  • Re: Running SQL script through VB
    ... I am connecting through a default username and my ... The error I am getting while running a script (generated by SQL server ... "A use database statement is not allowed in a procedure or trigger" ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Creating a database with MySQLTcl
    ... MySQL uses the database mysql as it's system database. ... Connecting to a db server doesn't require a database name, ...
    (comp.lang.tcl)