Gentoo Archives: gentoo-user

From: dell core2duo <gentoomail.dell@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Error in network commands in root mode
Date: Tue, 12 Feb 2008 17:01:55
Message-Id: e5e065050802120901u4718e934vf97c79f8041ee7d0@mail.gmail.com
In Reply to: Re: [gentoo-user] Error in network commands in root mode by "Markus Schönhaber"
1 Hi,
2 No, its not due to proxy.
3 See the output below.
4 ------------------------------------------------------------------------------------------------------
5 flukebox driver # wget yahoo.com
6 --2008-02-12 22:30:56-- http://yahoo.com/
7 Resolving relproxy.iitk.ac.in... 172.31.1.233
8 Connecting to relproxy.iitk.ac.in|172.31.1.233|:3128... Connection Refused:
9 Forbidden
10 failed: Connection refused.
11 flukebox driver # exit
12 exit
13 flukebox@flukebox ~ $ wget yahoo.com
14 --2008-02-12 22:31:04-- http://yahoo.com/
15 Resolving relproxy.iitk.ac.in... 172.31.1.233
16 Connecting to relproxy.iitk.ac.in|172.31.1.233|:3128... connected.
17 Proxy request sent, awaiting response... 301 Moved Permanently
18 Location: http://www.yahoo.com/ [following]
19 --2008-02-12 22:31:05-- http://www.yahoo.com/
20 Connecting to relproxy.iitk.ac.in|172.31.1.233|:3128... connected.
21 Proxy request sent, awaiting response... 200 OK
22 Length: 9533 (9.3K) [text/html]
23 Saving to: `index.html'
24
25 100%[=================================================================================================>]
26 9,533 45.6K/s in 0.2s
27
28 2008-02-12 22:31:07 (45.6 KB/s) - `index.html' saved [9533/9533]
29
30 flukebox@flukebox ~ $
31 ---------------------------------------------------------------------------------------------------
32
33
34
35 On Feb 12, 2008 9:11 PM, Markus Schönhaber <gentoo-user@×××××××××××.de>
36 wrote:
37
38 > dell core2duo schrieb:
39 >
40 > > Whenever I am trying to do ssh/telnet/emerge --sync in root mode it
41 > gives
42 > > me error saying "Connection Refused: Forbidden". while same works fine
43 > in
44 > > user mode.
45 > > Below are some examples .
46 > [...]
47 > > flukebox flukebox # wget yahoo.com
48 > > --2008-02-12 19:50:15-- http://yahoo.com/
49 > Compare this ^^^^^^^^^
50 > > Resolving relproxy.iitk.ac.in... 172.31.1.233
51 > > Connecting to relproxy.iitk.ac.in|172.31.1.233|:3128... Connection
52 > Refused:
53 > and that ^^^^^^^^^^^^^^^^^^^
54 > > Forbidden
55 > > failed: Connection refused.
56 >
57 > With your root account, you're obviously using a proxy that refuses the
58 > request.
59 > Since similar things happen when you use telnet/ssh you're maybe using
60 > socksified versions of those commands.
61 >
62 > Check your proxy and socks settings.
63 >
64 > Regards
65 > mks
66 > --
67 > gentoo-user@l.g.o mailing list
68 >
69 >

Replies

Subject Author
Re: [gentoo-user] Error in network commands in root mode "Markus Schönhaber" <gentoo-user@×××××××××××.de>