fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] wget


From: Rudiger Wolf
Subject: [Fab-user] wget
Date: Thu, 02 Dec 2010 17:53:11 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

I have fab file with

def install_awstats():
        """ Install awstats for mypentland site """
        apt_get('perl')
        sudo('wget -q
http://awstats.sourceforge.net/files/awstats-7.0.tar.gz',pty=True)


address@hidden:~/mydir$ fab lsmypentland01 install_awstats


I get this

[10.1.2.44] sudo: wget -q
http://awstats.sourceforge.net/files/awstats-7.0.tar.gz

Fatal error: sudo() encountered an error (return code 4) while executing
'wget -q http://awstats.sourceforge.net/files/awstats-7.0.tar.gz'


When I use the command line

$ wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz
--2010-12-02 15:46:35--
http://awstats.sourceforge.net/files/awstats-7.0.tar.gz
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:3128... failed: Connection refused.
Connecting to localhost|127.0.0.1|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1252707 (1.2M) [application/x-gzip]
Saving to: `awstats-7.0.tar.gz.1'

100%[======================================================================================================================================================================>]
1,252,707   62.5K/s   in 26s

2010-12-02 15:47:01 (46.6 KB/s) - `awstats-7.0.tar.gz.1' saved
[1252707/1252707]



I need to use a proxy on this server to access the public web.


When I run the fab function/wget on servers directly connected to the
web fab function works fine.

Your thoughts?

Thanks
Rudiger



reply via email to

[Prev in Thread] Current Thread [Next in Thread]