Re: since no more portmap, no more nfs client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2010/03/04 20:43 (GMT-0800) Adam Williamson composed:

> On Thu, 2010-03-04 at 22:46 -0500, Felix Miata wrote:

>> Quite several versions back, portmap was apparently made obsolete. Ever since
>> then, I've never been able to mount other systems' exports (except when not
>> running Fedora*). rpcbind, nfs & nfslock are running. I don't use
>> NetworkManager, iptables or ip6tables. When I try to mount nfs exports, I get:

>> mount.nfs: rpc.statd is not running but is required for remote locking.
>> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

>> Service statd is not listed chkconfig output or in service configuration. How
>> does one get statd running (in F13/Rawhide, using the same options as worked
>> before and still work in Mandriva, *buntu, openSUSE, etc)?

> Works fine here.

> A simple:

> [root@adam adamw]# grep statd /etc/init.d/*

> returns a bunch of results from /etc/init.d/nfslock , so that's
> obviously the service you want to start.

That output returns nothing I can make any sense out of:
/etc/init.d/nfslock:	[ -x /sbin/rpc.statd ] || exit 5
/etc/init.d/nfslock:	# Make sure the rpc.statd is not already running.
/etc/init.d/nfslock:	if status rpc.statd > /dev/null ; then
/etc/init.d/nfslock:	echo -n $"Starting NFS statd: "
/etc/init.d/nfslock:	# Set statd's local hostname if defined
/etc/init.d/nfslock:	# See if a statd's ports has been defined
/etc/init.d/nfslock:	daemon rpc.statd "$STATDARG"
/etc/init.d/nfslock:	echo -n $"Stopping NFS statd: "
/etc/init.d/nfslock:	killproc rpc.statd
/etc/init.d/nfslock:	status rpc.statd
/etc/init.d/nfslock:	/sbin/pidof rpc.statd >/dev/null 2>&1

That said, I forgot to look in the obvious place to look for clues, /var/log:
kt880 rpcbind: warning: cannot open /etc/hosts.allow: Permission denied
kt880 rpcbind: warning: cannot open /etc/hosts.deny: Permission denied

With permissions and ownership normalized on those two files, it works. :-)

I guess the timing of the start of my problem must have been a fluke. :-p
-- 
"Our Constitution was made only for a moral and religious
people. It is wholly inadequate to the government of any
other."                      John Adams, 2nd US President

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux