If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Perl script using Archive::Tar->new function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-09, 08:45
wads_in_1999 wads_in_1999 is offline
Registered User
 
Join Date: Feb 2009
Posts: 1
Cool Perl script using Archive::Tar->new function

Hello,
Had anyone observed this type of behavior with while using a perl script.
Brief background of problem:
Using perl, v5.8.4 built for executing a perl script and receive below mentioned error –
--------------------------------------------------------------------------Couldn't read chunk at offset unknown at logAnalyser.pl line 1397
nager filenet-re 32774/tcp # FileNET Rules Engine filenet-re 327 74/udp # FileNET Rules Engine #: checksum error at logAnalyser.pl line 1397
Couldn't read chunk at offset unknown at logAnalyser.pl line 1397
36865/udp # KastenX Pipe # 36866-37474 # Unassigned neckar 37475/tcp # science + computing: checksum error at logAnalyser.pl line 1397
Couldn't read chunk at offset unknown at logAnalyser.pl line 1397
Couldn't read chunk at offset unknown at logAnalyser.pl line 1397
Couldn't read chunk at offset unknown at logAnalyser.pl line 1397
--------------------------------------------------------------------------So it complaints about line 1397 in my script. In this script line 1397 I am using -- Archive::Tar->new($tarfile);

In short it complains about reading the chunk in the supplied tar file.
This error is reported only for the tar file created on AIX system and for tar file created on Solaris system this code runs without any issue.
Is there something to do with the used perl version?

Thanks in advance for the help….

BR,
Ashish
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On