FC4 -> FC5 upgrade problem: wget, yum etc. and ipv6
antonio montagnani
antonio.montagnani at gmail.com
Mon Apr 3 12:40:33 UTC 2006
2006/4/3, Rasmus Kjeldsen <rasmus.kjeldsen at gmail.com>:
> Hi Antonio
>
> Thanks for the quick answer!
>
> My nsswitch.conf looks like this:
>
>
> [rasmus at rasmus ~]$ cat /etc/nsswitch.conf
> #
> # /etc/nsswitch.conf
> #
> # An example Name Service Switch config file. This file should be
> # sorted with the most-used services at the beginning.
> #
> # The entry '[NOTFOUND=return]' means that the search for an
> # entry should stop if the search in the previous entry turned
> # up nothing. Note that if the search failed due to some other reason
> # (like no NIS server responding) then the search continues with the
> # next entry.
> #
> # Legal entries are:
> #
> # nisplus or nis+ Use NIS+ (NIS version 3)
> # nis or yp Use NIS (NIS version 2), also called YP
> # dns Use DNS (Domain Name Service)
> # files Use the local files
> # db Use the local database (.db) files
> # compat Use NIS on compat mode
> # hesiod Use Hesiod for user lookups
> # [NOTFOUND=return] Stop searching if not found so far
> #
>
> # To use db, put the "db" in front of "files" for entries you want to be
> # looked up first in the databases
> #
> # Example:
> #passwd: db files nisplus nis
> #shadow: db files nisplus nis
> #group: db files nisplus nis
>
> passwd: files nisplus
> shadow: files nisplus
> group: files nisplus
>
> #hosts: db files nisplus nis dns
> hosts: files nisplus dns
>
> # Example - obey only what nisplus tells us...
> #services: nisplus [NOTFOUND=return] files
> #networks: nisplus [NOTFOUND=return] files
> #protocols: nisplus [NOTFOUND=return] files
> #rpc: nisplus [NOTFOUND=return] files
> #ethers: nisplus [NOTFOUND=return] files
> #netmasks: nisplus [NOTFOUND=return] files
>
> bootparams: nisplus [NOTFOUND=return] files
>
> ethers: files
> netmasks: files
> networks: files
> protocols: files nisplus
> rpc: files
> services: files nisplus
>
> netgroup: files nisplus
>
> publickey: nisplus
>
> automount: files nisplus
> aliases: files nisplus
>
>
>
> 2006/4/3, antonio montagnani <antonio.montagnani at gmail.com>:
> > 2006/4/3, Rasmus Kjeldsen <rasmus.kjeldsen at gmail.com>:
> > > Hi all
> > >
> > > I upgraded my FC4 installation to FC5, and now I have the following
> > > problem:
> > >
> > > [rasmus at rasmus ~]# wget www.redhat.com
> > > --14:23:43-- http://www.redhat.com/
> > > => `index.html.2'
> > > Resolving www.redhat.com... failed: No such file or directory.
> > >
> > > But if I disable ipv6 in wget, all works fine:
> > >
> > > [rasmus at rasmus ~]$ wget --inet4-only www.redhat.com
> > > --14:25:22-- http://www.redhat.com/
> > > => `index.html.2'
> > > Resolving www.redhat.com... 209.132.177.50
> > > Connecting to www.redhat.com|209.132.177.50|:80...
> > > connected.
> > > HTTP request sent, awaiting response... 200 OK
> > > Length: 13,734 (13K) [text/html]
> > >
> > > 100%[====================================>] 13,734
> > > 40.04K/s
> > >
> > > 14:25:22 (39.95 KB/s) - `index.html.2' saved [13734/13734]
> > >
> > >
> > > I have the same problem with yum, but I don't know how to turn off ipv6
> in
> > > yum... Firefox, Evolution and Gaim works just fine.
> > >
> > > Help anyone???
> > >
> > > Cheers Rasmus Friis Kjeldsen
> > >
> > >
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list at redhat.com
> > > To unsubscribe:
> > > https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> > >
> >
> > a shot in the dark.
> > Can you post your nsswitch.conf file???
> > Sometimes during different upgrades, something goes wrong.
> > --
> > Antonio Montagnani
> > Skype : antoniomontag
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
>
>
This is mine.Try it!!!
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files
shadow: files
group: files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus
_________________________________________________
--
Antonio Montagnani
Skype : antoniomontag
More information about the fedora-list
mailing list