VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Nfs-rpc errors  (Read 6115 times)

StrayBit

  • Vectorite
  • ***
  • Posts: 438
Nfs-rpc errors
« on: March 02, 2009, 02:11:11 pm »

I have the following lines in fstab:
Code: [Select]
# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de  /mnt/nfs  nfs  defaults  0 0
Gateway:C /mnt/Gtwy cifs credentials=/home/bruce/cred,uid=bruce,servern=GATEWAY,domain=FOWLPLAY,rw,setuids,nocase,rsize=8192,wsize=8192,  0 0
Human:/ /mnt/Hmn nfs   defaults,noauto,users    0 0

#192.168.1.2:/dev/hdc1
Human:/mnt/Win-arc /mnt/Win-arc nfs rsize=8192,wsize=8192,timeo=14,intr  0 0
#192.168.1.2:/dev/hda1
#Human:/mnt/WinDos /mnt/WinDos cifs credentials=/home/bruce/cred,uid=bruce,servern=GATEWAY,domain=FOWLPLAY,rw,setuids,nocase,rsize=8192,wsize=8192,  0 0
Human:/dev/hda1 /mnt/WinDos cifs credentials=/home/bruce/cred,uid=bruce,servern=GATEWAY,domain=FOWLPLAY,rw,setuids,nocase,rsize=8192,wsize=8192,  0 0
I can mount Gateway but receive the following:
Quote
Compaq://home/bruce
root:# mount /mnt/Hmn
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error
Just to be sure, I re-ran the following:
Quote
Compaq://home/bruce
root:# ln -s /mnt/Gtwy
Compaq://home/bruce
root:# rpc.portmap
Compaq://home/bruce
root:# rpc.mountd
Compaq://home/bruce
root:# rpc.nfsd
Compaq://home/bruce
root:# rpc.statd
Compaq://home/bruce
root:# rpc.rquotad
Compaq://home/bruce
root:# exportfs -a
Compaq://home/bruce
root:# mount /mnt/Hmn
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error
and from the other computer
Quote
bruce6:$ mount /mnt/Cmpq
mount.nfs: internal error
Human:/~
bruce6:$ su
Password:
...
localuser:root being added to access control list
Human://home/bruce6
root:# mount /mnt/Cmpq
mount.nfs: internal error

Is there something else I can use to troubleshoot this?
Logged
Dell GX280: 7.1-Gold 32 bit
HP 670 Win7 & VL7.0
Gateway LT200 Win XP dead!

caitlyn

  • Packager
  • Vectorian
  • ****
  • Posts: 2880
    • The Linux Works
Re: Nfs-rpc errors
« Reply #1 on: March 02, 2009, 07:49:55 pm »

It looks like rpc isn't running.  As root take a look at /etc/rc.rpc and make sure it's set executable.  If not, do:

chmod +x /etc/rc.rpc

Then start the rpc.portmap and rpc.statd services:

/etc/rc.d/rc.rpc start

Then your shares should work.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

StrayBit

  • Vectorite
  • ***
  • Posts: 438
Re: Nfs-rpc errors
« Reply #2 on: March 03, 2009, 01:23:22 pm »

/etc/rc/d/rc/rpc was not executable, set it then
Quote
root:# /etc/rc.d/rc.rpc start
Compaq://home/bruce
root:# mount /mnt/Hmn
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error
Compaq://home/bruce
root:# rpc.portmap
Compaq://home/bruce
root:# rpc.mountd
Compaq://home/bruce
root:# rpc.nfsd
Compaq://home/bruce
root:# rpc.statd
Compaq://home/bruce
root:# rpc.rquotad
Compaq://home/bruce
root:# exportfs -a
Compaq://home/bruce
root:# mount /mnt/Hmn
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error
Logged
Dell GX280: 7.1-Gold 32 bit
HP 670 Win7 & VL7.0
Gateway LT200 Win XP dead!

StrayBit

  • Vectorite
  • ***
  • Posts: 438
Re: Nfs-rpc errors
« Reply #3 on: March 07, 2009, 08:02:14 am »

I'm still getting
Quote
Human://home/bruce6
root:# mount /mnt/Cmpq
mount.nfs: internal error

Any possibility of reinstalling VL6 would cure this?
Logged
Dell GX280: 7.1-Gold 32 bit
HP 670 Win7 & VL7.0
Gateway LT200 Win XP dead!

L800CXE

  • Member
  • *
  • Posts: 1
Re: Nfs-rpc errors
« Reply #4 on: August 07, 2009, 11:08:42 am »

Has anyone got NFS mounts to work automatically at bootup?
I must execute the following commands as root:

/etc/rc.d/rc.rpc start
mount -a

Even though VASM services have been set to start portmap, the boot.log shows:
Mounting remote (NFS) file systems ... FAILED
and later portmap loading FAILED.

I had to make /etc/rc.d/rc.rpc executable as stated in earlier posts.
Logged

D-cat

  • Member
  • *
  • Posts: 1
Re: Nfs-rpc errors
« Reply #5 on: October 18, 2009, 02:37:19 pm »

Looking at rc.M seems to suggest that the existence of /etc/nfstab will trigger a start of RPC and NFS services.
Logged