Solved

NIS+ and oject not foud errors

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now