Operating System - HP-UX
1752773 Members
4851 Online
108789 Solutions
New Discussion юеВ

Nfs problem: RPC_PROG_NOT_REGISTERED

 
Tarek
Super Advisor

Nfs problem: RPC_PROG_NOT_REGISTERED

Hallo there..
using nis..hpux11.. i'm trying to mount this users directory via nfs.
ex: cd ~user
i'm having this error:
no such file or directory
I also tried to mount this directory manually,
mount ws:/local_user/user /mnt and i'm having
RPC_PROG_NOT_REGISTERED error.
From any ws i'm having these errors.
The nis.server service is up. I have exported the /local_user directory in the /etc/exports.
I don't know what to do.. maybe i've forgotten something, but what?
Any help?
Thanks
tarek
7 REPLIES 7
Stefan Farrelly
Honored Contributor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED


nis.server up ? dont you mean nfs.server ?

It cant hurt to restart it, try;

/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

This will start nfsd processes, biod processes, rpc.statd, rpc.lockd , rpc.mountd and rpcd processes. Ensure all are running.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Tarek
Super Advisor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED

Yeah..of course nfs.server and not nis ;)
i have stopped and started it hundred times..i have also rebooted the ws but nothing changed. The strange thing, is that when i stop the service (nfs.server) and i start it again, it starts immediately, in less than 1 second..usually it takes 2-3 seconds to restart. The output seems ok:
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 604
Reading in /etc/exports
starting up the NFS daemons
/usr/sbin/nfsd 4
starting up the Status Monitor daemon
rpc.statd already started, using pid: 700
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 706
Ravi_8
Honored Contributor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED

ensure all the processes mentioned by stefan are all running. check mountd is running in the hosts. and also ensure 'exportfs' in the server shows the local_user/user. if not issue 'exportfs -a'
never give up
eran maor
Honored Contributor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED

Hi

i will check the /etc/hosts file (on the NFS
client) contains a duplicate address line for the NFS server.
love computers
Tarek
Super Advisor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED

The /local_user is exported.
output of exportfs:
/local_user
/SD_CDROM -ro
The /etc/hosts of the client is ok..i don't have duplicate of the nfs server.
I stopped and started again nfs.client and nfs.server but without success.
Stefan Farrelly
Honored Contributor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED


You probably have a tcp socket problem. Try rebooting your machine.

Once this is done check everything has started up aok (all the necessary deamons) and try manually to mount it. Is the remote nfs server pingable ? telnetable ?? (to check network connectivity)
Im from Palmerston North, New Zealand, but somehow ended up in London...
Tarek
Super Advisor

Re: Nfs problem: RPC_PROG_NOT_REGISTERED

I have solved. The START_MOUNTD variable was set to 1 so the rpc.mountd didn't start.
Now is ok. Thanks all for your help.
Regards.
Tarek