Comment 33 for bug 213444

Revision history for this message
Lucio Pileggi (pileggi) wrote : Re: Hardy Heron nfs (client) reports internal error when I attempt to mount with NFS

Same problem here,
my client is running Ubuntu 8.04.1 and using latest nfs-common package (Version: 1:1.1.2-2ubuntu2).
Trying to mount a remote NFS share the system reply with this error:

#mount -a
mount.nfs: mount to NFS server 'rpcbind' failed: System Error: Connection refused
mount.nfs: internal error

Looks like problem is related to a system update, the client was able to mount the same NFS share right after the installation.

Here are the last lines of a "strace mount -a" output:

open("/etc/fstab", O_RDONLY|O_LARGEFILE) = 3
umask(022) = 077
fstat64(3, {st_mode=S_IFREG|0644, st_size=663, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cf9000
read(3, "# /etc/fstab: static file system"..., 4096) = 663
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7cf9000, 4096) = 0
readlink("/proc", 0xbf9b6087, 4096) = -1 EINVAL (Invalid argument)
umask(077) = 022
open("/etc/mtab", O_RDONLY|O_LARGEFILE) = 3
umask(022) = 077
fstat64(3, {st_mode=S_IFREG|0644, st_size=471, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cf9000
read(3, "/dev/sda2 / ext3 rw,relatime,err"..., 4096) = 471
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7cf9000, 4096) = 0
getcwd("/", 4095) = 2
readlink("/myhost.it:", 0xbf9b6057, 4096) = -1 ENOENT (No such file or directory)
readlink("/homenfs", 0xbf9b6087, 4096) = -1 EINVAL (Invalid argument)
stat64("/sbin/mount.nfs", {st_mode=S_IFREG|S_ISUID|0755, st_size=65520, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e1a768) = 6455
wait4(-1, mount.nfs: mount to NFS server 'rpcbind' failed: System Error: Connection refused
mount.nfs: internal error
[{WIFEXITED(s) && WEXITSTATUS(s) == 32}], 0, NULL) = 6455
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(32) = ?
Process 6454 detached