1833726 Members
2499 Online
110063 Solutions
New Discussion

Re: NFS problem

 
M.J. van der Meer
Frequent Advisor

NFS problem

Hi there experts,

We have a problem mounting NFS on a particular HP-UX 10.20 server. We get the message:
RPC_REMOTE_PROGRAM_UNAVAILABLE

What could be the problem? Please ask us for more information if needed.
Tenx
12 REPLIES 12
Thomas G. Tudrej
Frequent Advisor

Re: NFS problem

Hi,

Check "inetd", it should be running, check the manpage. Are you having problems with any orher services like telnet or rlogin on that box?
melvyn burnard
Honored Contributor

Re: NFS problem

do you have the setting sin /etc/rc.config.d/nfsconf?

You need to ensure that NFS_CLIENT has been set to 1, and then START_MOUNTD=1
You would then need to reboot the system and ensure that the entry in rc.log shows it has started ok.
If this does not work, or is set, you would need to check portmap is running etc.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Rick Garland
Honored Contributor

Re: NFS problem

Sounds like the processes for rpc are not running. There are 4 of them.
/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd
/opt/dcr/sbin/rpcd
/usr/sbin/rpc.mountd
Be careful on the order they are started.

Also see if the nfsd and biod processes are running.
(ps -ef | grep nfs)
(ps -ef | grep biod)

Check in the /etc/rc.config.d/nfsconf the see if the NFS services (server and/or client) are set to start on boot. If not, change to "1".

M.J. van der Meer
Frequent Advisor

Re: NFS problem

Thomas,

Thanks for your quick anwser. I actually mean that I cannot connect from a HP-UX server to a Novell server; inetd is running and I can connect through telnet. All other servers do not have any problems when connecting to Novell.

Martijn
CHRIS_ANORUO
Honored Contributor

Re: NFS problem

Hello M.J.
Just do the following:
-You must know the host machine and the file system's directory. Use ping to varify
-Enable network services through SAM
-Add exported file system
-Make sure /etc/rc.config.d/nfsconf on the server has NFS_SERVER=1 and START_MOUNTD=1. Run the line command "/usr/sbin/exportfs -a".
-On the Client server, create the mount pt, use SAM to enable NFS client and Automounter.
Check /etc/rc.config.d/nfsconf for NFS_CLIENT=1; AUTOMOUNT=1 and START_MOUNT=1.
-Run the command on the server: "/sbin/init.d/nfs.server start
-On the client run: "/sbin/init.d/nfs.client start

You don't have to reboot the servers.

I hope this helps.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Rick Garland
Honored Contributor

Re: NFS problem

My first guess would something is not running on the Novell side.
If you have the PRC processes, the filesystems are being exported, you can connect via telnet and communicate is other ways, I would look at Novell. Are there RPC services needed over there as well?
M.J. van der Meer
Frequent Advisor

Re: NFS problem

Hi Chris,

All your statements were there and running but did not resolve the problem.

Thanks anyway
Thomas G. Tudrej
Frequent Advisor

Re: NFS problem

Hello again,

Can you NFS mount to this Novell box from other HP-UX boxes? If not, problem is definiately on Novell side. There is an admin utility on Novell, similar to SAM, "syscon". Compare disk volume setup, permissions if any to another Novell box that is working.

Good luck.
M.J. van der Meer
Frequent Advisor

Re: NFS problem

Thomas,

All other servers do not have any problems connecting to Novell. Just this one server.

Martijn
CHRIS_ANORUO
Honored Contributor

Re: NFS problem

M.J,
Check you /var/adm/inetd.sec file to see if the server is allowed or denied
for rpc and mountd.
This is an additional security file for inetd.conf file.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Thomas G. Tudrej
Frequent Advisor

Re: NFS problem

One last thing I can think of is that you are using different user id when mounting on this HP-UX box than when mountign on others. The id has to exist on Novell. If that does not help, I'm out of ideas.

Thoms T.
M.J. van der Meer
Frequent Advisor

Re: NFS problem

We've found the problem: it is a version difference of NFS on both servers, so mounting with the option "-o vers=2" clears the problem
Thank you all for your help!
Martijn