• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

warning: inet_protocols: IPv6 bzw. IPv4

abalorio

Member
Hat jemand von euch eine Idee? Hab schon so einiges ausprobiert aber ich bekomme den Fehler nicht komplett weg:


Code:
Starting proftpd  - IPv6 getaddrinfo 'ns5.server.de' error: Name or service not known

In /etc/hosts steht:

Code:
127.0.0.1 localhost.localdomain localhost                                                                                           
87.106.20.74 ns5.server.de ns5

Wenn ich das in

Code:
127.0.0.1 localhost.localdomain localhost                                                                                           
::FFFF:87.190.25.74 ns5.server.de ns5

ändere bekomme ich einen anderen Fehler:

Code:
ns5:/etc # /etc/rc.d/proftpd restart
Shutting down proftpd                                                 done
Starting proftpd  - IPv4 getaddrinfo 'ns5' error: Name or service not known
 - warning: unable to determine IP address of 'ns5'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
startproc:  exit status of parent of /usr/sbin/proftpd: 1

In den Logs von Postfix gibt es einen ähnlichen Fehler:

Code:
p 28 10:49:45 ns5 postfix/qmgr[3514]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol   
p 28 10:49:45 ns5 postfix/qmgr[3514]: warning: inet_protocols: configuring for IPv4 support only

Wie kann ich diese Fehler beheben? Freu mich über jede Hilfe! Danke Leute...
 
Laut WP:
A sequence of 4 bytes at the end of an IPv6 address can also be written in decimal, using dots as separators. This notation is often used with compatibility addresses (see below). This addressing scheme is convenient when dealing with the mixed environment of IPv4 and IPv6 addresses. The general notation is of the form x:x:x:x:x:x:d.d.d.d where x's are the 6 higher order hexadecimal digits whereas d's correspond to the decimal digits of lower order 8 bit pieces of address, as it is the IPv4 format. For example, ::ffff:12.34.56.78 is the same address as ::ffff:0c22:384e and 0:0:0:0:0:ffff:0c22:384e. Usage of this notation is deprecated and unsupported by numerous applications.
 
OP
A

abalorio

Member
Hi Snaewe,
das steht folgendes drin:

Code:
#
# /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:
#
#       compat                  Use compatibility setup
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       [NOTFOUND=return]       Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#

# passwd: files nis
# shadow: files nis
# group:  files nis

passwd: compat
group:  compat

hosts:          files dns
networks:       files dns

services:       files
protocols:      files
rpc:            files
ethers:         files
netmasks:       files
netgroup:       files nis
publickey:      files

bootparams:     files
automount:      files nis
aliases:        files
 
Oben