Operating System - HP-UX
1823761 Members
4200 Online
109664 Solutions
New Discussion юеВ

ypwhich: clnt_create error: RPC: Unknown host

 
Pulse001
Regular Advisor

ypwhich: clnt_create error: RPC: Unknown host

I am able to get my hostname as o/p of ypwhich command from root but when i am running ypwhich from oracle user i am getting the following error.
ypwhich: clnt_create error: RPC: Unknown host

bcoz of this oracle user says he is not able to upgrade the database. He is getting the same error while running nslookup but when root is executing the same command, no error is coming.

Can somebody help me ?
2 REPLIES 2
SKR_1
Trusted Contributor

Re: ypwhich: clnt_create error: RPC: Unknown host

Try by running the command from full absolute path with oracle user.

Thanks

SKR

Pulse001
Regular Advisor

Re: ypwhich: clnt_create error: RPC: Unknown host

I disabled NIS on the server and edited /etc/nsswitch.conf file to read only local files for all entries.