Solved

NIS+ and oject not foud errors

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Title # Comments Views Activity
what is the meaning of filesystem loop detected? 7 1,157
Solaris 10.  Nmap installation fails 2 72
Unix/bash: scripted arithmetic 13 101
Martian Packets Unix 5 67
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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.

828 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