VectorLinux
April 20, 2014, 01:36:57 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Nfs-rpc errors  (Read 5348 times)
StrayBit
Vectorite
***
Posts: 373



« on: March 02, 2009, 02:11:11 pm »

I have the following lines in fstab:
Code:
# 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.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
caitlyn
Packager
Vectorian
****
Posts: 2839



WWW
« 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
VLocity Linux 7.0-rc1

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video
VL 7.0 Light
StrayBit
Vectorite
***
Posts: 373



« 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.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
StrayBit
Vectorite
***
Posts: 373



« 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.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
L800CXE
Member
*
Posts: 1


« Reply #4 on: August 07, 2009, 10: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


« Reply #5 on: October 18, 2009, 01: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!