danielch
28th July 2010, 01:19 AM
I upgraded fedora from fc13 to f14, and found nfs couldn't start. After I installed "avahi", nfs worked.
-- Why nfs needs avahi?
-- I noticed there is no portmap package anymore, how come?
# /etc/init.d/nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS daemon: rpc.nfsd: Setting version failed: errno 16 (Device or resource busy)
rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
[FAILED]
# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory
# yum install avahi
Installing : libdaemon-0.14-1.fc13.i686
Installing : avahi-0.6.27-1.fc14.i686
# uname -r
2.6.35-0.49.rc5.git2.fc14.i686.PAE
-- Why nfs needs avahi?
-- I noticed there is no portmap package anymore, how come?
# /etc/init.d/nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS daemon: rpc.nfsd: Setting version failed: errno 16 (Device or resource busy)
rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
[FAILED]
# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory
# yum install avahi
Installing : libdaemon-0.14-1.fc13.i686
Installing : avahi-0.6.27-1.fc14.i686
# uname -r
2.6.35-0.49.rc5.git2.fc14.i686.PAE