Portál AbcLinuxu, 7. července 2025 05:40
mount: 10.251.42.200:/usr/work failed, reason given by server: Permission deniedMyslel jsem ze to bude chyba v /etc/exports(tam je chyba i podle /var/log/messages )
[root@bhdvesx /]# cat /etc/exports /usr/work/ -maproot=root 10.251.42.132 /usr/work/ -maproot=root localhostJenze zadnou chybu jsem tam nenasel ani po nejvetsich zjednodusenich.Pokud se chystam pripojit NFS na localhost objevi se hlaska
[root@bhdvesx /]# mount_nfs localhost:/usr/work/ /mnt/ [udp] localhost:/usr/work: RPCPROG_NFS: RPC: Port mapper failure - RPC: Authentication error [udp6] localhost:/usr/work: RPCPROG_NFS: RPC: Authentication errorNenapada vas nekoho cim by to mohlo byt??Diky moc za rady
defaultrouter="10.251.42.1" hostname="bhdvesx.xxxx" ifconfig_bge0="inet 10.251.42.200 netmask 255.255.255.0" inetd_enable="YES" mountd="YES" keymap="us.iso" moused_enable="YES" nfs_client_enable="YES" nfs_server_enable="YES" rpcbind_enable="YES" mountd_flags="-r" saver="daemon" sshd_enable="YES" usbd_enable="YES" HTTP_PROXY=http://xxxx:8080 FTP_PROXY=http://xxxx:8080Podle me to bude nejaka drobnost.hosts.allow ani nic podobneho jsme nekonfiguroval.
/usr/work -maproot=root 10.251.42.132 localhost
The rpcbind utility should be started before any other RPC service. Nor- mally, standard RPC servers are started by port monitors, so rpcbind must be started before port monitors are invoked.takze by stalo za pokus zmenit poradi startovani rpcbind a nfs presne podle handbooku:
rpcbind_enable="YES" nfs_server_enable="YES" mountd_flags="-r"a jeste jedna vec ktera ale asi tvuj problem nepusobi
mountd="YES"neni poterba, podle manualu se spousti s nfs serverem takze bych ho dopredu nespoustel
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.