Sponsored Content
Full Discussion: NIS problems in Sun 5.10
Operating Systems Solaris NIS problems in Sun 5.10 Post 302268498 by Keepcase on Monday 15th of December 2008 06:07:08 PM
Old 12-15-2008
Question NIS problems in Sun 5.10

Hi everyone! I have a problem with NIS and I'm hoping one of you experts can point me in the right direction Smilie

I have setup 2 Solaris10 machines in VMWare and I was following this guide I found:

Solaris: NIS installation and configuration - Basically Tech

After following that guide, I was able to create 1 NIS master server and my NIS client.

ypwhich points to the correct master server but when I do a ypcat hosts I get "RPC failure on yp operation"

now from what I read, this is related to not having ypbind running but I had performed ypbind -broadcast to get properly bounded on the client in order to get ypwhich correctly working.

when I perform ypmatch username passwd I get the correct information though and I've added more users on my master server and the information is correct when I perform ypmatch username passwd on my client.

This is where my problem lies... I was under the impression that ypmatch and ypcat both grab from the same map files from /var/yp/domainname

Any experts out there know what my problem might be?
Any specific config files you need me to post, I will gladly post them...

both my client and server are identical in respects to

hosts
defaultrouter
defaultdomain
nsswitch.conf
the Makefile is default on my master server

Any suggestions would be greatly appreciated as I've talked to some friends and they don't really know what the problem is.

Thanks,
Erin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

CD mount problems on Sun E220R

I have a problem mounting a particular CD on both my E220R servers, the same CD mounts on all my unlta10 servers. I tried mounting with volmgt started and manually after stopping volmgt. but neither worked. These servers are able to mount every other Cd inserted in them. The mount command line i... (6 Replies)
Discussion started by: lealyz
6 Replies

2. UNIX for Dummies Questions & Answers

Help...Bad NIS problems

I changed the root password on the NIS master, now I cant login to any of the NIS clients. Or even the NIS master using normal logons, any ideas what might be wrong or how I can solve this? Im running solaris 2.6 btw. (1 Reply)
Discussion started by: blakmk
1 Replies

3. Solaris

sun nis+

Hi, is there any way to create nis+ user without creating local user? (0 Replies)
Discussion started by: shivanshu.aryan
0 Replies

4. Solaris

Unable to Log In to Sun NIS server

Greetings, I have recently inherited 3 sun servers from a shop that my parent company closed. One of these servers is an old Ultra 1 running SunOS 5.6 that acts as a NIS server for the other two servers. This NIS server seems to boot OK and function properly as a NIS server. However, I can't... (6 Replies)
Discussion started by: SevenFortyOne
6 Replies

5. Solaris

How to configure NIS in sun 10

Hi...., I'm having two intel system.both the system i installed sun sol 10.now i wan't to configure NIS .Pls tell me step by step configuration for server and client.pls Help me any body......... :mad: Rgds, Jay (4 Replies)
Discussion started by: rjay.com
4 Replies

6. UNIX for Advanced & Expert Users

NIS master / slave problems

Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master. Frank (2 Replies)
Discussion started by: frankkahle
2 Replies

7. UNIX for Advanced & Expert Users

NIS+ problems

We are lumbered with using NIS+, and I have some questions regarding its use. 1 in a senario with 1 master 3 slaves, if the slaves all die the master will also fail ? There is some thing I read which states that NIS+ needs n/2 to function can anyone confirm / deny this ? Also in the event... (0 Replies)
Discussion started by: wjones
0 Replies

8. Solaris

Sun Blade 100 cdrom problems...

FYI noob to here and sun blades... I have a sun blade 100 and I can't get the cdrom to work. if i try using vold that doesn't seem to work either...maybe i'm not using it correctly. Upon boot you can open/close the cdrom and it runs but after i'm logged in it won't open and i can't access it... (2 Replies)
Discussion started by: shaun138
2 Replies

9. HP-UX

Solved -- Problems with NIS Password Expiration...

HI. I was wondering if anyone can assist me in this. I have an HP-UX 11.31 server at work which keeps expiring my NIS password. I cannot log in unless I use root access. It worked before and I think some of the settings changed since then. My boss has told me that since we're taking some... (1 Reply)
Discussion started by: zixzix01
1 Replies

10. Solaris

Sun Ultra 30 boot problems

Hi all, I've just replaced the eprom battery on my Sun Ultra-30 and having boot issues. For some reason its trying to boot off the network instead of the DISK1. Howe can I change it so the open boot does not default to the boot device: NET Thanks, Rob (3 Replies)
Discussion started by: robbo007
3 Replies
niserror(1)							   User Commands						       niserror(1)

NAME
niserror - display NIS+ error messages SYNOPSIS
niserror error-num DESCRIPTION
niserror prints the NIS+ error associated with status value error-num on the standard output. It is used by shell scripts to translate NIS+ error numbers that are returned into text messages. EXAMPLES
Example 1: Using niserror The following example prints the error associated with the error number 20: example% niserror 20 Not Found, no such name ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nis_error(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 niserror(1)
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy