bug-bash
[Top][All Lists]
Advanced

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

Re: Web urls cannot be accessed from Bash Terminal


From: Pratiksha Powar
Subject: Re: Web urls cannot be accessed from Bash Terminal
Date: Tue, 18 Sep 2007 10:41:42 +0530

There was no network problem, I could access this url through my web
browser.
It was instead a yum configuration problem.
There wasn't any proxy information in the yum.conf file.
I had to add the parameters: proxy, proxy_username and proxy_password.
It started working then.
Please don't close any issue in such a haste next time.
Programmers all over the world rely on your help.
I'm a programmer myself but fairly new to linux.
I went through some of the yum faqs but couldn't find anything useful.
I got the solution to my problem on linux.duke.edu

Thanks,
~Pratiksha


On Mon, 2007-09-17 at 15:49 -0400, Pete Graner wrote:
> On 9/17/07, Pratiksha Powar <pratiksha.powar@onmobile.com> wrote:
> > Configuration Information [Automatically generated, do not change]:
> > Machine: i686
> > OS: linux-gnu
> > Compiler: gcc
> > Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
> > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' 
> > -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' 
> > -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall 
> > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
> > -fasynchronous-unwind-tables
> > uname output: Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Thu Mar 15 
> > 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux
> > Machine Type: i686-redhat-linux-gnu
> >
> > Bash Version: 3.1
> > Patch Level: 17
> > Release Status: release
> > Yum Version : 3.0.5
> >
> > Description:
> >           Yum not able to access url through bash
> >
> > Repeat-By:
> >           Following is the sequence of commands and the results:
> >
> >      1. [root@localhost /]# yum install gcc
> >      2. Loading "installonlyn" plugin
> >      3. Setting up Install Process
> >      4. Setting up repositories
> >      5. Could not retrieve mirrorlist
> >         http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
> >      6. [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
> >      7. Error: Cannot find a valid baseurl for repo: rpmforge
> >
> > I don't know whether it is a problem with Bash or yum.
> > I suppose it is bash only. Also, if I need to upgrade to the
> > latest version of Bash where would I get a reliable binary
> > for the above stated architecture.
> >
> >
> >
> > Thanks,
> > Pratiksha
> >
> >
> >
> >
> 
> This is a not even a yum problem, its a network/upstream server
> problem. If you cut an paste the URL into your browser you will get
> the information.
> 
> ~p





reply via email to

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