Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NIS+ and oject not foud errors

Posted on 2002-07-01
3
Medium Priority
?
367 Views
Last Modified: 2013-12-27
Hi.  I have a Sol 2.8 NIS+ replica server that is having the problem below (server name=servername, and default domain=none.com):

Jul  1 11:29:34 servername nisd[190]: [ID 407633 daemon.warning] __directory_object: Failed to lookup org_dir.com.none.com., status Not Found, no such name
Jul  1 11:29:34 servername nisd[190]: [ID 407633 daemon.warning] __directory_object: Failed to lookup hosts.org_dir.com.none.com., status Not Found, no such name
Jul  1 11:29:34 servername nisd[190]: [ID 407633 daemon.warning] __directory_object: Failed to lookup org_dir.com.none.com., status Not Found, no such name
Jul  1 11:29:34 servername nisd[190]: [ID 407633 daemon.warning] __directory_object: Failed to lookup hosts.org_dir.com.none.com., status Not Found, no such name

It looks like there's an extra "com" in the table path hosts.org_dir.COM.none.com.  Can someone tell me what file I can edit or command to use to remove it?

--- Micah
0
Comment
Question by:micahman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 800 total points
ID: 7123494
If your NIS+ master is ok then you only need to repair your NIS+ replica server.

You can try to do the followings:

On the corrupted replica server, stop rpc.nisd, wipe the cache files and the trans.log file, restart rpc.nisd.  This wipes all cached information and tells the replica server to request a full resync.

 /etc/init.d/rpc stop
 rm /var/nis/NIS_SHARED_DIRCACHE
 rm /var/nis/.NIS_PRIVATE_DIRCACHE
 rm /var/nis/trans.log
 /etc/init.d/rpc start

Watch syslog during this process.

You can reboot the replica server.

or

you can wipe the NIS+ side of the replica server and rebuild from scratch.
(information about how to remove and build NIS+ replica server can be found on the following page)
http://www.eng.auburn.edu/users/rayh/solaris/NIS+_FAQ.html

Good luck!
==========
yuzh

0
 

Author Comment

by:micahman
ID: 7126859
Thanks.  I'll give it a try.

--- Micah
0
 

Expert Comment

by:Jgould
ID: 7200932
comment of yuzh was accepted after trying. so the answer did solve the problem

grade changed to A

**JGould-EE Moderator**
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question