- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS client is not working properly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 01:07 PM
08-30-2008 01:07 PM
now i am configuring my hpux server as nis client
i am able to su from root user to nis user but from local user i tried to su it asks passwd and passwd is not taking it shows error likt this
su - sreerag
Password:
su: Sorry
$
and o/p ypwhich
# ypwhich
ypwhich: clnt_create error: RPC: Unknown host
# ypwhich -m
hosts.byname testlinux
hosts.byaddr testlinux
rpc.bynumber testlinux
netid.byname testlinux
group.bygid testlinux
mail.aliases testlinux
protocols.bynumber testlinux
rpc.byname testlinux
services.byname testlinux
protocols.byname testlinux
ypservers testlinux
passwd.byname testlinux
passwd.byuid testlinux
group.byname testlinux
services.byservicename testlinux
#
# /sbin/init.d/nis.client start
starting NIS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 750
domainname FMGNIS
starting up the Network Information Service
starting up the ypbind daemon
ypbind will not use the server list available in the file /var/yp/binding/
/usr/lib/netsvc/yp/ypbind -ypset
calling ypset with 10.80.111.92
Checking NIS binding.
Bound to NIS server using domain FMGNIS.
starting up the keyserv daemon
/usr/sbin/keyserv
please suggest what to do
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 04:30 PM
08-30-2008 04:30 PM
Re: NIS client is not working properly
Post the contents of /etc/nsswitch.conf and /etc/rc.config.d/netdaemons (the NIS stuff only). Check the contents and permissions of /etc/nsswitch.conf. It should contain nis directives for the NIS maps and be readable by everyone. Same for /etc/hosts, check NIS name/IP and permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 04:48 PM
08-30-2008 04:48 PM
Re: NIS client is not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 04:56 PM
08-30-2008 04:56 PM
Re: NIS client is not working properly
I meant to ask for the /etc/rc.config.d/namesrvs file not netdaemons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 05:10 PM
08-30-2008 05:10 PM
Re: NIS client is not working properly
hosts: file nis
still i am getting same error
# ypwhich
ypwhich: clnt_create error: RPC: Unknown host
i am attaching the /etc/rc.config.d/namesvrs file nis portion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 06:14 PM
08-30-2008 06:14 PM
Re: NIS client is not working properly
In /etc/rc.config.d/namesvrs, change the "YPBIND_OPTIONS" to YPBIND_OPTIONS="-ypset -l /var/yp/ypbind.log" and restart the NIS client service. Check the log file to see if additional errors or info gets posted there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2008 06:30 PM
08-30-2008 06:30 PM
Re: NIS client is not working properly
http://forums11.itrc.hp.com/service/forums/questionanswr.do?threadId=1244687
On the Linux host change the encryption type for the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2008 08:49 AM
08-31-2008 08:49 AM
Re: NIS client is not working properly
option
# more /var/yp/ypbind.log
08.31 22:17:35 ph047dor pid=7654 /usr/lib/netsvc/yp/ypbind
ypbind will not use the servers list available in the file /var/yp/binding/
adcast option, then -broadcast option is ignored.
08.31 22:17:35 ph047dor pid=7655 /usr/lib/netsvc/yp/ypbind
ypbind -ypset: allowing ypset! (this is insecure)
and the link mentioned is not accessible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2008 11:33 AM
08-31-2008 11:33 AM
SolutionThe problem is the Linux NIS server is using MD5 enclyption for the passwords and the HP-UX is using DES encryption. So the NIS server password can not be deciphered on the HP-UX client. You have to change the password encryption method on the Linux server to DES.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 08:48 PM
09-01-2008 08:48 PM
Re: NIS client is not working properly
i disabled MD5 in linux and it is taking authentication from hpux
now i am facing problem with automount it is taking long time
if i give su - it takes more time to switch user
and i mounted the filesystem directly then it is working fine please sugest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2008 03:43 AM
09-02-2008 03:43 AM
Re: NIS client is not working properly
Search the itrc web site for the document "NFS performance assessment" and check it out.
Also
http://www.docs.hp.com/en/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf
http://docs.hp.com/en/B1031-90061/ch05s04.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:34 PM
09-03-2008 07:34 PM
Re: NIS client is not working properly
thanks a lot
its working fine now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2008 12:17 AM
09-04-2008 12:17 AM
Re: NIS client is not working properly
please read the Forums Etiquette:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=140137
... assign points and close the thread ...
Thanks
Volkmar