The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

GZiped log files

Discussion in 'General Discussion' started by Markwaugh, Oct 13, 2003.

  1. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Hello Guys,

    I have problems with all log files that we have downloaded from CPanel/RawLogManager. Only few archiving utilities can extract those. Others have problem. We have contacted specialist for GZip algorithm and he says that log file doesn't comply with RFC specification for GZip files. All GZip files should end with CRC32 and ISIZE. Both values are Zero in the this case.).

    I need to know what tool it is using to archive that log files into gzip to help us solve problem? I am asking this because our tool for analyzing log files can't uncompress them.

    any ideas would be higly appreciated.

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear Markwaugh,

    99.9% of the problems with gzip are due to file transfers done in ASCII mode instead of BINARY mode.This has corrupted the gzip header, thus fooling gunzip into emitting an incorrect error message. Transfer the file again in binary mode.

    For more details regarding this,refer the URL:
    http://www.gzip.org/

    or mail to support@gzip.org.

    Regards,
     
  3. djapo

    djapo Registered

    Joined:
    Oct 15, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Dear mickeymouse,

    I have same problem as Mark. I think that we are in remaining 0.1%. :)

    Winzip, linux gzip and 7-zip works fine, but AFAIK all others don't.

    Any information about tool that CPanel use for compressing would be great. Command line params, etc.

    Best Regards,
    Dragan
     
  4. Fever500

    Fever500 Member

    Joined:
    Sep 2, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I am having the same problem.

    I am selecting Download Raw Logfile from cPanel ... It doesn't give me a choice of binary or ascii. This started after updgrading cPanel to the latest stable release.
     
  5. djapo

    djapo Registered

    Joined:
    Oct 15, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Additionally, I am using Mozilla 1.5 and mozilla recommends file extension ".tar" and I always have to change it back to ".gz". Maybe it is issue for Mozilla development team? ;-)
     
  6. Fever500

    Fever500 Member

    Joined:
    Sep 2, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    djapo,

    No it's something in cPanel because I have been doing this without problem for a while ... now it doesn't work.

    I am using IE on XP and trying to extract the archives using Winzip 9. I did notice that since the cPanel upgrade the filenames of the downloaded log files are different.
     
  7. djapo

    djapo Registered

    Joined:
    Oct 15, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Ok.

    But main problem persists. Even when I change file extension to ".gz" I'm having problems with unpacking them with some archiving tools.
     
Loading...

Share This Page