mount to NFS server 'localhost' failed: server is down

Matthias Borrack mailingliste at sinath.de
Sun Aug 8 14:45:34 UTC 2004


Hallo zusammen,

ich bin im Moment etwas sehr verwirrt.
Heute morgen habe ich einen der Server von RH9 auf Fedora upgedatet. Das 
außergewöhnliche an ihm ist nur die mit CFS verschlüsselte Partition.
Nach dem ersten Start von Fedora begann der allgemein Funktionstest, der 
leider hinsichtlich CFS nicht wirklich erfolgreich war. Der NFS-Mount 
von localhost funktioniert nicht:
[root at public /]# mount -t nfs localhost:/public/data /public/work
mount to NFS server 'localhost' failed: server is down
Also erstmal geprüft:
[root at public /]# service nfs status
rpc.mountd (pid 3055) wird ausgeführt...
nfsd (pid 3049 3048 3045 3044 3043 3042 3041 3040) wird ausgeführt...
rpc.rquotad (pid 3036) wird ausgeführt...
Sah gut aus. Der obligatorische Blick in die /etc/exports:
[root at public /]# cat /etc/exports
/public/data localhost(rw)
Sieht auch normal aus. Was sagt denn rpcinfo?
[root at public /]# rpcinfo -p localhost
    Program Vers Proto   Port
     100000    2   tcp    111  portmapper
     100000    2   udp    111  portmapper
     100024    1   udp   1024  status
     100024    1   tcp   1024  status
     391002    2   tcp   1025  sgi_fam
     100011    1   udp    669  rquotad
     100011    2   udp    669  rquotad
     100011    1   tcp    672  rquotad
     100011    2   tcp    672  rquotad
     100003    2   udp   2049  nfs
     100003    3   udp   2049  nfs
     100003    4   udp   2049  nfs
     100003    2   tcp   2049  nfs
     100003    3   tcp   2049  nfs
     100003    4   tcp   2049  nfs
     100021    1   udp   1050  nlockmgr
     100021    3   udp   1050  nlockmgr
     100021    4   udp   1050  nlockmgr
     100021    1   tcp   1075  nlockmgr
     100021    3   tcp   1075  nlockmgr
     100021    4   tcp   1075  nlockmgr
     100005    1   udp    687  mountd
     100005    1   tcp    690  mountd
1092830567    2   udp   3049
Auch in Ordnung. Zu Testzwecken die exports angepasst:
[root at public /]# cat /etc/exports
/public/data 10.7.3.0/255.255.255.0(rw)
# /public/data localhost(rw)
und auf einem anderen Rechner mal gemounted:
[root at wall public]# mount | grep public
/dev/hdc1 on /public type ext2 (rw)
public.sinath.wan:/public/data on /public/cfs type nfs (rw,addr=10.7.3.3)
An dieser Stelle erreichte mich die Ratlosigkeit, genauso, wie ein 
übereilte Befehlseingabe:
[root at public /]# mount -t nfs localhost:/public/data/ /public/work/
mount to NFS server 'localhost' failed: server is down.
Super, dachte, kann ja net gehen, da die exports noch nicht 
zurückgeändert wurde. Nur, kam da kein Berechtigungsfehler, sonder die 
gleiche Fehlermeldung wie oben. Also ein Einsatz für strace ...
execve("/bin/mount", ["mount", "-t", "nfs", "localhost:/public/data/", 
"/public/work/"], [/* 22 vars */]) = 0
...
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
...
stat64("/sbin/mount.nfs", 0xbffb7080)   = -1 ENOENT (No such file or 
directory)
...
connect(3, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 
ECONNREFUSED (Connection refused)
...
bind(3, {sa_family=AF_INET, sin_port=htons(645), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(646), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(647), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(648), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(649), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(650), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(651), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(652), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(653), 
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
bind(3, {sa_family=AF_INET, sin_port=htons(654), 
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(111), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
...
read(3, "\200\0\0\30\1\232\336\324\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 
400) = 28
close(3)                                = 0
close(3)                                = -1 EBADF (Bad file descriptor)
...
recvfrom(3, "<\207\3474\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0"..., 
400, 0, {sa_family=AF_INET, sin_port=htons(687), 
sin_addr=inet_addr("127.0.0.1")}, [16]) = 32
close(3)                                = 0
close(3)                                = -1 EBADF (Bad file descriptor)
write(2, "mount to NFS server \'localhost\' "..., 38mount to NFS server 
'localhost' failed) = 38
write(2, ": server is down.\n", 18: server is down.
)     = 18
exit_group(32)                          = ?

iptables-Regeln sind keine Aktiv, nmap auf localhost zeigt nfs verfügbar.
So, und da steh ich nu mit meinem Latein. Kennt jemand die Fehlerursache 
und vielleicht auch dessen Lösung?

Vielen Dank und
cu/2 iae

Matthias





More information about the Fedora-de-list mailing list