1753401 Members
7214 Online
108792 Solutions
New Discussion юеВ

pfs_mountd/pfsd

 
SOLVED
Go to solution
Jose_C_Moraes
Super Advisor

pfs_mountd/pfsd

I have just downloaded NNM 7.5, an iso file image. Tried to follow the steps bellow, printed at the HP site, to mount that image:

On an HP-UX/UNIX/Linux platform, to use the image directly from your hard drive without burning a physical disc you will need to do the following:


HP-UX
nohup pfs_mountd &
nohup pfsd &
pfs_mount -o xlat=UNIX pathToIso mountPoint

But the following error has occurred:

pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfs_mountd: pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered

Can someone help me ?

Best regards, TIA
Jose
13 REPLIES 13
IT_2007
Honored Contributor
Solution

Re: pfs_mountd/pfsd

do you have rpc programs up and running?

ps -ef |grep rpc

root 1149 1 0 Aug 13 ? 0:00 /usr/sbin/rpc.lockd
root 1085 1 0 Aug 13 ? 0:00 /usr/sbin/rpcbind
root 1143 1 0 Aug 13 ? 0:00 /usr/sbin/rpc.statd
root 1536 1 0 Aug 13 ? 0:59 /opt/dce/sbin/rpcd
root 1945 1 0 Aug 13 ? 0:00 /usr/sbin/rpc.mountd
palas01v 19668 17345 0 13:10:29 pts/13 0:00 grep rpc
root 23053 1180 0 Aug 25 ? 0:00 /usr/dt/bin/rpc.ttdbserver
Olivier Masse
Honored Contributor

Re: pfs_mountd/pfsd

Depending on your HP-UX version, I think pfs is now obsolete. From what I recall, you can mount a CD-ROM directly with the cdcase option, then export it using NFS -- much less trouble than using pfs.
Jose_C_Moraes
Super Advisor

Re: pfs_mountd/pfsd

Thxs both of you. IT_2007, I made the point.

wks22cs:/tmp/patche# ps -ef|grep rpc
root 654 1 0 14:32:35 ? 0:00 /usr/sbin/rpcbind
root 1066 1 0 14:32:43 ? 0:00 /opt/dce/sbin/rpcd
root 1825 1632 0 15:12:16 ttyp1 0:00 grep rpc
wks22cs:/tmp/patche#

Where can I set their initialization ?

TIA, regards
Jose
IT_2007
Honored Contributor

Re: pfs_mountd/pfsd

check your /etc/rc.log and modify in /etc/rc.config.d

like this:

Start NFS core subsystem
Output from "/sbin/rc2.d/S400nfs.core start":
----------------------------
starting NFS CORE networking

starting up the rpcbind
/usr/sbin/rpcbind
starting up the nfskd daemon
/usr/sbin/nfskd
IT_2007
Honored Contributor

Re: pfs_mountd/pfsd

Check /etc/rc.config.d/nfsconf file for the following ones.

NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
Jose_C_Moraes
Super Advisor

Re: pfs_mountd/pfsd

I did everything, icluding a reboot. But it didnt work.

You have mail.

Value of TERM has been set to "hpterm".
WARNING: YOU ARE SUPERUSER !!

wks22cs:/# ps -ef|grep rpc
root 655 1 0 15:33:24 ? 0:00 /usr/sbin/rpcbind
root 714 1 0 15:33:26 ? 0:00 /usr/sbin/rpc.lockd
root 708 1 0 15:33:25 ? 0:00 /usr/sbin/rpc.statd
root 1109 1 0 15:33:34 ? 0:00 /opt/dce/sbin/rpcd
root 1555 1 0 15:34:26 ? 0:00 /usr/sbin/rpc.mountd
root 1765 1744 0 15:34:49 ttyp1 0:00 grep rpc
wks22cs:/# nohup pfs_mountd &
[1] 1774
wks22cs:/# Sending output to nohup.out

wks22cs:/# nohup pfsd &
[2] 1780
wks22cs:/# Sending output to nohup.out
[1] - Done(1) nohup pfs_mountd &
wks22cs:/#
wks22cs:/# cat nohup.out
pfs_mountd: pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't contact pfsd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't contact pfsd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't register pfsd.rpc with pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfs_mountd: pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfs_mountd: can't contact pfs_mountd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't contact pfsd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't contact pfsd.rpc: wks22cs: RPC: Program not registered
pfsd: pfsd: can't register pfsd.rpc with pfs_mountd.rpc: wks22cs: RPC: Program not registered
wks22cs:/#

Any hints ? The Rock-Ridge patch is already installed.

BTW, rp3440 HP-UX 11.11

TIA, regards
Jose
IT_2007
Honored Contributor

Re: pfs_mountd/pfsd

ok. did you added directory names in /etc/pfs_exportfs file? See man page for pfs_mountd.



James R. Ferguson
Acclaimed Contributor

Re: pfs_mountd/pfsd

Hi Jose:

I you have a current 11x release with the necessary patches for native CDROM mounting, you should be able to do:

# /usr/sbin/mount -F cdfs -e -o ro,cdcase /dev/dsk/cXtYdZ /cdrom

Then, you can avoid all of the problems that come with 'pfs' mounts along with the NFS services needed with it!

Regards!

...JRF...
Jose_C_Moraes
Super Advisor

Re: pfs_mountd/pfsd

IT_2007, I am not trying to mount over network, but I did what u suggested, unsuccessfully.

James, I am just trying to avoid burning 5 CDs for the installation of OVO 8/NNM 7.5.

I am following the instructions posted in the download URL for OpenView:

http://h20229.www2.hp.com/downloads/iso_format.html

TIA, regards
Jose