Showing results for 
Search instead for 
Do you mean 

pfs_mountd/pfsd

SOLVED
Go to Solution
Highlighted
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
1 ACCEPTED SOLUTION
Honored Contributor Honored Contributor

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
13 REPLIES
Honored Contributor Honored Contributor

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
Honored Contributor 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.
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
Honored Contributor 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
Honored Contributor 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
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
Honored Contributor Honored Contributor

Re: pfs_mountd/pfsd

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



Acclaimed Contributor 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...
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
Honored Contributor Honored Contributor

Re: pfs_mountd/pfsd

If you are not using NFS services then you don't have to use pfs mount. Just use JRF suggestion and would be enough.
Honored Contributor Honored Contributor

Re: pfs_mountd/pfsd

Don't use pfs:

It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).

Installation of patches requires a reboot.

swinstall -x autoreboot=true -x autoselect_patches=TRUE -x patch_match_target=TRUE -x patch_filter=*
.* -s pc1005:/var/software/hp/rockridge @`hostname`


To mount a Rockridge CD (instead of using pfs_mount):

mount -F cdfs -o ro,rr,noauto /dev/cdrom /cdrom

To unmount:

umount /cdrom

To share out the cd over NFS:

exportfs -i -o ro,anon=0 /cdrom

On remote:

mount -F nfs sha1:/cdrom /zmnt


Note: client server does NOT need to have Rock Ridge patches installed to access the cdrom remotely.

Note 2: For HP-UX 11iV2 (11.23) - RockRidge is built into the OS - no need for a patch.



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Super Advisor

Re: pfs_mountd/pfsd

Hi TI_2007 and Geoff

I think I have to burn the CDs. I only do not understand why HP has made a decision to make the download images as iso images. It was much easier the previous format, as depot images.

I will close the thread. Tnxs you all for the help. I assigned points for all of you.

Tnxs a lot, best regards
Jose
Super Advisor

Re: pfs_mountd/pfsd

I appreciate your help.

Best regards to all of you
Jose