Operating System - HP-UX
1832686 Members
2941 Online
110043 Solutions
New Discussion

Re: Missing services from rpcinfo

 
Kevin Oakley
New Member

Missing services from rpcinfo

Following some investigations into some NFS mount issues I've issued the rpcinfo -p hostname command and its come back with the following output
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind

Has anyone got any ideas about how to get the rest of the services to appear ( without a reboot preferably)
Thanks
2 REPLIES 2
rajdev
Valued Contributor

Re: Missing services from rpcinfo

Hi Kevin,

Is this server nfs client or nfs server.

check /etc/rc.config.d/nfsconf and set the
variables properly , depending if its a NFS client or server.

then run

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

the do ps -ef|grep nfs

and ps -ef|grep rpc.mountd

now rpcinfo -p hostname should be able to show the other services.

Regards,
RD
whiteknight
Honored Contributor

Re: Missing services from rpcinfo


Kevin,

In the /etc/rc.config.d/nfsconf file, make sure the NFS_SERVER and START_MOUNTD variables are set to 1, as follows:


NFS_SERVER=1
START_MOUNTD=1


Issue the following command to run the NFS startup script:


/sbin/init.d/nfs.server start


The NFS startup script uses the variables in /etc/rc.config.d/nfsconf to determine which processes to start.

The START_MOUNTD variable causes the NFS startup script to start rpc.mountd, the mount daemon.

WK






Problem never ends, you must know how to fix it