Solved

NIS+ and oject not foud errors

Posted on 2002-07-01
3
357 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

734 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