Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Extract the Tar not working

Discussion in 'General Discussion' started by Nirjonadda, May 15, 2015.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    612
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I am try to Install a custom module mod_remoteip but cannot unarchive the file with the following command. Please let me know, How to fixing the issue?

    Code:
    tar -C /var/cpanel/easy/apache/custom_opt_mods -xvf custom_opt_mod-remoteip.tgz
    or

    Code:
    cd  /var/cpanel/easy/apache/custom_opt_mods/
    wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-remoteip.tgz
    tar -zxvf custom_opt_mod-remoteip.tgz
    Getting this error:

    Code:
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error is not recoverable: exiting now
    root@ua [/var/cpanel/easy/apache/custom_opt_mods]#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you verify where you found those instructions at so we can correct the download URL? The updated documentation is found at:

    EasyApache - Custom Modules

    EX:

    Code:
    wget -N http://documentation.cpanel.net/download/attachments/2326651/custom_opt_mod-remoteip.tgz
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    612
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I am do try to Install from here: w3facility.org/question/how-to-install-mod_remoteip-easy-apache/

    Fixed, I am manually downloaded and uploaded then now unarchive the file are working.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 Nirjonadda, May 15, 2015
    Last edited by a moderator: May 15, 2015
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please ensure you use our official document linked in my last response for updated instructions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice