Solved

NIS+ and oject not foud errors

Posted on 2002-07-01
3
363 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

623 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