Operating System - HP-UX
1847075 Members
5405 Online
110262 Solutions
New Discussion

Re: Problem Installing from Oracle cd

 
SOLVED
Go to solution
BHegarty
Advisor

Problem Installing from Oracle cd

Hi all,
I have been trying to install from the Oracle cd onto my HPUX11.0 system. I have looked it up and followed all the instructions i.e.
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
at this point I get the messages back...
/usr.sbin/pfsd: can't register pfsd.rpc with pfs_mountd.rpc:hostname:RPC:program not registered.
My pfs_fstab looks like this
/dev/dsk/c3t2d0 /SD_CDROM pfs-rrip xlat=unix 0 0
when I enter rpcinfo -p I get back
rpcinfo: hostname: n2a hostname not found.
When I check the hostname its correct?!?!?!
I am getting very confused now.....
I know this is a common problem, but I need help!!!!

all things come to those who wait..
15 REPLIES 15
Eileen Millen
Trusted Contributor

Re: Problem Installing from Oracle cd

It might be a patch. I had to install one
for UX11.
Bill McNAMARA_1
Honored Contributor

Re: Problem Installing from Oracle cd

Bill McNAMARA_1
Honored Contributor

Re: Problem Installing from Oracle cd

hopefully
/usr.sbin/pfsd

is a typo...

Bill
It works for me (tm)
MANOJ SRIVASTAVA
Honored Contributor

Re: Problem Installing from Oracle cd

Hi B HeqartyCheck for the daemons whther they are running or not .

ps -ef | grep mountd

Incase they are not running :
cd /sbin/init.d

./nfs.server start

ps -ef | grep mountd , this should make the rpc run. And also to make is permanent edit it in the /etc/rc.config.f/nfsconf .

and then redo the process

ie
pfsd &
pfs_mountd &

and you pfs_fstab is fine

Manoj Srivastava



James R. Ferguson
Acclaimed Contributor

Re: Problem Installing from Oracle cd

Hi:

Make sure that your hostname is defined in /etc/hosts.

...JRF...
BHegarty
Advisor

Re: Problem Installing from Oracle cd

Hi guys,
I have grep'd for nfsd and its running, I installed from Oracle cd about 4/5 months ago and (eventually) got it working, but I am doing the same thing now but its not working?????
all things come to those who wait..
Bill McNAMARA_1
Honored Contributor

Re: Problem Installing from Oracle cd

what is the server n2a ?
Can you nslookup n2a?
ping it?
Is it in your /etc/hosts

Does the mount point /SD_CDROM exist?
If it is your local machine?
If so, is it the first entry in /etc/hosts ?

Bill
It works for me (tm)
BHegarty
Advisor

Re: Problem Installing from Oracle cd

Hi Bill, as far as i know there is no n2a server???? when I type nslookup n2a I get back ypswitch clnt_create: error RPC: unknown hostI can't ping n2a it isn't in /etc/hosts
The mount point /SD_CDROm does exist, it is in my local machine, but not in /etc/hosts should it be???? Thanks for the help so far
Babs :)

all things come to those who wait..
Bill McNAMARA_1
Honored Contributor

Re: Problem Installing from Oracle cd

Hi,
just was wondering n2a is in your rpcinfo: n2a hostname not found error message.

Just to see where its coming from try:
cd /etc
find . * | xargs grep n2a |more
perhaps you are trying to mount some fs on n2a server? cat /etc/fstab, /etc/exports

For patch information, just in case that's what it is: see
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xbf00a24d9abcd4118fef0090279cd0f9,00.html

The host you are currently working on should be the first entry in your /etc/hosts


Bill
It works for me (tm)
BHegarty
Advisor

Re: Problem Installing from Oracle cd

Hi Bill,
I tried your grep command for n2a, but all I got back was grep: can't open ./vhelp/volumes/C/DCErncore.hv and it just keeps trying but nothing els comes back??
I have checked /etc/fstab & /SD_CDROM isn't mentioned in there, neither is it mentioned in /etc/exports. I tried to mount a regular HPUX cd but I got the message that the device is busy, but when I try to unmount it I get the message, that the device is not found in /etc/mnttab???
Hope this info helps :)
all things come to those who wait..
Shannon Petry
Honored Contributor

Re: Problem Installing from Oracle cd

It looks like it was once PFS mounted, and was umounted, instead of pfs_umounted. This causes lots of problems because pfs still reports the disk as used, but can not see it, and the kernel reports to a regular system that the disk is in use. Cure: reboot!

I have a pfs startup script and information available at "http://www.invenioeng.com/systems/hpux_pfs.html"

Regards,
Shannon
Microsoft. When do you want a virus today?
Jim Turner
HPE Pro
Solution

Re: Problem Installing from Oracle cd

First off, I suspect n2a is shorthand for a "name-to-address" function.

Now, please understand that PFS is just a "wrapper" for NFS. With all due respect to Young Minds, Inc., PFS is jokingly referred to in most shops as the "Pitiful File System". It's a shame software publishers are too cheap/lazy to publish platform-specific CD's so we don't have to futz around with PFS. (Then again, Linux understands PFS CDs implicitly and they can be mounted like any other CD. Are you listening, HP?)

Do a "ps -ef | grep [n]fs". You should get output similar to this:
# ps -ef | grep [n]fs
root 1435 1422 0 Apr 18 ? 0:00 /usr/sbin/nfsd 4
root 775 0 0 Apr 18 ? 0:00 nfskd
root 1422 1 0 Apr 18 ? 0:00 /usr/sbin/nfsd 4
root 1438 1422 0 Apr 18 ? 0:00 /usr/sbin/nfsd 4
root 1437 1435 0 Apr 18 ? 0:00 /usr/sbin/nfsd 4

Just to be sure everything is groovy, run these three commands before your PFS mount:
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

Now kill-off any running PFS processes with:
kill -9 $(ps -ef | grep [p]fs)

Lastly, PFS is supposed to be smart enough these days (yeah, right) to figure out details without a separate pfstab, so delete yours. Insert the CD in your drive and perform the following:
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
mount /dev/dsk/c3t2d0 /SD_CDROM

This presumes your /SD_CDROM mountpoint exists.

I've ran across a few Oracle CDs that did not require PFS (nothing like consistency, eh?). In those cases, I used the following:
mount -F cdfs -o cdcase /dev/dsk/c3t2d0 /SD_CDROM

About your hostname.....
Just what *is* the hostname of this machine? When you use nslookup, can you use its hostname to resolve to an IP address? Can you use its IP address to resolve to the correct hostname? Is your /etc/hosts entry correct? Is your name service switch (/etc/nsswitch.conf) set to look at files first?

No matter how "pitiful" PFS is, it looks like you've got an underlying problem.

Cheers,
Jim
Bill McNAMARA_1
Honored Contributor

Re: Problem Installing from Oracle cd

sorry for confusing the issue more..
hope you get it solved..

Later,
Bill
It works for me (tm)
BHegarty
Advisor

Re: Problem Installing from Oracle cd

Hi all, thanks for all the help :)
Shannon, thanks for that file,
Jim I was able to mount the cd using your instructions, but the cd is being read incorrectly .i.e ;1 at the end of all the files, but I am off to get more info on that issue, any pointers ??? but I at least feel like I am getting somewhere!!! you were right about an underlying problem, I was using /etc/hosts to resolve hostname etc. But I need to use DNS now and when I changed to DNS first & Files second it would cause these problems with not being able to resolve the hostname etc. When I changed it back nslookup worked fine (system name is cyahp1)Could you point me in the direction of some info on getting DNS to work correctly???As you have probably guessed I am a newbie, Thanks again to everybody for all the help its great :)
Babs
all things come to those who wait..
Christian Cruz
New Member

Re: Problem Installing from Oracle cd

Hello :)
I know that this answer could be out of time, but maybe help another people who has the same problem.

I resolve this problem easy, I rename the file /etc/resolv.conf to /etc/resolv.conf.tmp

and the problem was fixed.

The reason is that your DNS isn??t working or haven??t your name on their tables.

After install your Oracle don??t forget rename your /etc/resolv.conf.tmp to /etc/resolv.conf

:)

Good Luck!!!!