ubuntuusers.de

Nfs Server RPC: Timed out

Status: Gelöst | Ubuntu-Version: Server 10.04 (Lucid Lynx)
Antworten |

reneb1804

Anmeldungsdatum:
13. August 2012

Beiträge: 3

Hallo,

Ich haben ein Problem mit meinen frisch aufgesetzten Ubuntu 10.04LTS Nfs-Server. Ich habe ihn per Anleitung von http://wiki.ubuntuusers.de/NFS installiert. Es sollen zwei Adept Roboter auf die Netzwerkfreigaben zugreifen. Wir haben noch einen zweiten Ubutu Server mit 12.04 bei diesem funktioniert der NFS-Server wunderbar. Es kann also nicht an den Adept Robotern liegen.

Wenn ich showmount eingebe kommt folgender Fehler:

clnt_create: RPC: Port mapper failure - RPC: Timed out Hier meine Configs:

rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32868  status
    100024    1   tcp  58917  status
    100021    1   udp  43226  nlockmgr
    100021    3   udp  43226  nlockmgr
    100021    4   udp  43226  nlockmgr
    100021    1   tcp  55903  nlockmgr
    100021    3   tcp  55903  nlockmgr
    100021    4   tcp  55903  nlockmgr
    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
    100005    1   udp  57798  mountd
    100005    1   tcp  37052  mountd
    100005    2   udp  57798  mountd
    100005    2   tcp  37052  mountd
    100005    3   udp  57798  mountd
    100005    3   tcp  37052  mountd
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5) and hosts_options(5).
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
#
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOI
portmap: ALL
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5) and hosts_options(5).
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#

portmap: 192.168.178.4
# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
/adeptneta	192.168.178.4(rw,subtree_check,no_root_squash,nohide,fsid=777)

pepre Team-Icon

Supporter
Avatar von pepre

Anmeldungsdatum:
31. Oktober 2005

Beiträge: 6474

Wohnort: Erlangen

Ist portmap richtig installiert? Oder lauscht er nur auf localhost?

reneb1804

(Themenstarter)

Anmeldungsdatum:
13. August 2012

Beiträge: 3

Ich hab das Problem gefunden es war der Portmap der nur auf localhost lauschte.

Hier die Lösung:

1
2
3
$ perl -pi -e 's/^OPTIONS/#OPTIONS/' /etc/default/portmap
$ echo "portmap: 192.168.1." >> /etc/hosts.allow
$ /etc/init.d/portmap restart
Antworten |