FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-05-2010, 09:35 AM
Tapas Mishra
 
Default rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

I am created an NFS share on a Desktop(Ubuntu 10.10 64 bit)
which has a USB hard disk attached.
Started the NFS Kernel Daemon and entered the directory name in /etc/exports
the directory exists.
On the client machine which is Ubuntu 10.04 server edition when I
tried to mount the share
mount -t nfs IP:/path/to/share /mnt/local
got following error
mount: wrong fs type, bad option, bad superblock on IP:/path/to/share
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so


when I checked rpcinfo -p

then got following error

rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

what else do I need to do?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 09:45 AM
Alan Pope
 
Default rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

On 5 October 2010 10:35, Tapas Mishra <mightydreams@gmail.com> wrote:
> Started the NFS Kernel Daemon and entered the directory name in /etc/exports

Did you start the portmapper?

> rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
>

Suggests portmapper not running or firewalled.

Al.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 09:45 AM
Tapas Mishra
 
Default rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

mount -t nfs IP:/path/to/share /mnt/local
mount.nfs: mount system call failed

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 09:59 AM
Tapas Mishra
 
Default rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

On Tue, Oct 5, 2010 at 3:15 PM, Alan Pope <alan@popey.com> wrote:
> Did you start the portmapper?
>
>> rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
>>
>
> Suggests portmapper not running or firewalled.
Right it was not running.
That rpcino error went when on client machine I installed nfs-common
and portmap.

On the server machine I did
showmount -e
Export list for tapas:
/media/USB <IP of machine which is allowed>

there was no directory which it should show me otherwise.

also on client machine mount -t nfs <location on lan> <local>
is failing.
Here is strace log

execve("/bin/mount", ["mount", "-t", "nfs", "nfs-lan/share",
"/mnt/nfs"], [/* 19 vars */]) = 0
brk(0) = 0x22f1000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e802c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=34343, ...}) = 0
mmap(NULL, 34343, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8023000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libblkid.so.1", O_RDONLY) = 3
read(3, "177ELF2113>1@X"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=126536, ...}) = 0
mmap(NULL, 2221608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e7bf0000
mprotect(0x7f02e7c0c000, 2093056, PROT_NONE) = 0
mmap(0x7f02e7e0b000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f02e7e0b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libuuid.so.1", O_RDONLY) = 3
read(3, "177ELF2113>132025"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19008, ...}) = 0
mmap(NULL, 2113920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e79eb000
mprotect(0x7f02e79ef000, 2093056, PROT_NONE) = 0
mmap(0x7f02e7bee000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f02e7bee000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libselinux.so.1", O_RDONLY) = 3
read(3, "177ELF2113>120Y"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=117592, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e8022000
mmap(NULL, 2217480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e77cd000
mprotect(0x7f02e77e9000, 2093056, PROT_NONE) = 0
mmap(0x7f02e79e8000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f02e79e8000
mmap(0x7f02e79ea000, 1544, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f02e79ea000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libsepol.so.1", O_RDONLY) = 3
read(3, "177ELF2113>1340D"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=244576, ...}) = 0
mmap(NULL, 2341536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e7591000
mprotect(0x7f02e75cb000, 2097152, PROT_NONE) = 0
mmap(0x7f02e77cb000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a000) = 0x7f02e77cb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "177ELF2113>1`3551"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1568136, ...}) = 0
mmap(NULL, 3676200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e720f000
mprotect(0x7f02e7387000, 2097152, PROT_NONE) = 0
mmap(0x7f02e7587000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x178000) = 0x7f02e7587000
mmap(0x7f02e758c000, 18472, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f02e758c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "177ELF2113>1340
"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e8021000
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f02e700b000
mprotect(0x7f02e700d000, 2097152, PROT_NONE) = 0
mmap(0x7f02e720d000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f02e720d000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e8020000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e801e000
arch_prctl(ARCH_SET_FS, 0x7f02e801e7e0) = 0
mprotect(0x7f02e720d000, 4096, PROT_READ) = 0
mprotect(0x7f02e7587000, 16384, PROT_READ) = 0
mprotect(0x7f02e77cb000, 4096, PROT_READ) = 0
mprotect(0x7f02e79e8000, 4096, PROT_READ) = 0
mprotect(0x7f02e7bee000, 4096, PROT_READ) = 0
mprotect(0x7f02e7e0b000, 12288, PROT_READ) = 0
mprotect(0x612000, 4096, PROT_READ) = 0
mprotect(0x7f02e802e000, 4096, PROT_READ) = 0
munmap(0x7f02e8023000, 34343) = 0
statfs("/selinux", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
f_blocks=2402873, f_bfree=1417831, f_bavail=1295771, f_files=610800,
f_ffree=526891, f_fsid={-90057489, -1743393107}, f_namelen=255,
f_frsize=4096}) = 0
brk(0) = 0x22f1000
brk(0x2312000) = 0x2312000
open("/proc/filesystems", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e802b000
read(3, "nodev sysfs
nodev rootfs
nodev b"..., 1024) = 362
read(3, "", 1024) = 0
close(3) = 0
munmap(0x7f02e802b000, 4096) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f02e802b000
read(3, "# Locale name alias data base.
#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f02e802b000, 4096) = 0
open("/usr/lib/locale/en_IN/LC_IDENTIFICATION", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=458, ...}) = 0
mmap(NULL, 458, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e802b000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_MEASUREMENT", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e802a000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_TELEPHONE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0
mmap(NULL, 53, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8029000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_ADDRESS", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=103, ...}) = 0
mmap(NULL, 103, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8028000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_NAME", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=72, ...}) = 0
mmap(NULL, 72, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8027000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_PAPER", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8026000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_MESSAGES", O_RDONLY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3) = 0
open("/usr/lib/locale/en_IN/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0
mmap(NULL, 53, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8025000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_MONETARY", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
mmap(NULL, 294, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8024000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_COLLATE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1170770, ...}) = 0
mmap(NULL, 1170770, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e7f00000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_TIME", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2578, ...}) = 0
mmap(NULL, 2578, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e8023000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_NUMERIC", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0
mmap(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e7eff000
close(3) = 0
open("/usr/lib/locale/en_IN/LC_CTYPE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=256324, ...}) = 0
mmap(NULL, 256324, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f02e7ec0000
close(3) = 0
umask(022) = 022
open("/dev/null", O_RDWR) = 3
close(3) = 0
getuid() = 0
geteuid() = 0
stat("/sbin/mount.nfs", {st_mode=S_IFREG|S_ISUID|0755, st_size=94544, ...}) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
child_tidptr=0x7f02e801eab0) = 1797
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 32}], 0, NULL) = 1797
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(32) = ?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 10:08 AM
Tapas Mishra
 
Default rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

On Tue, Oct 5, 2010 at 3:15 PM, Alan Pope <alan@popey.com> wrote:
> On 5 October 2010 10:35, Tapas Mishra <mightydreams@gmail.com> wrote:
>> Started the NFS Kernel Daemon and entered the directory name in /etc/exports
>
> Did you start the portmapper?
>
>> rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
>>
>
This error of portmapper is resolved.
I had forgotten to install portmap.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org