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)
rnw...@laptop:~/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
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user