Unix Technical Forum

Solaris 10 as nis+ server

This is a discussion on Solaris 10 as nis+ server within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I'm having problems setting up a nis+ server on a Solaris 10 sparc box. I run the command: /usr/lib/nis/nisserver ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 03:31 AM
lax
 
Posts: n/a
Default Solaris 10 as nis+ server

I'm having problems setting up a nis+ server on a Solaris 10 sparc
box. I run the command:

/usr/lib/nis/nisserver -v -r -d test.com

to perform the initial setup of the server and it completes without
error. However when I try to nispopulate with my existing nis+ tables
it says that none of the tables have been created.

**ERROR(1): table auto_master.org_dir.test.com. does not exist.
auto_master table will not be loaded.
**ERROR(1): table auto_home.org_dir.test.com. does not exist.
auto_home table will not be loaded.
**ERROR(1): table ethers.org_dir.test.com. does not exist.
ethers table will not be loaded.
....

The command ' /usr/lib/nis/nisaddent -d publickey' errors with
cred.org_dir.test.com.: NIS+ servers unreachable.

`svcs` shows that nisplus is online and ps -ef shows that all running:

root 1088 1 0 14:16:24 ? 0:00 /usr/sbin/
rpc.nispasswdd
root 1086 1 0 14:16:24 ? 0:00 /usr/sbin/rpc.nisd
root 1078 1 0 14:16:24 ? 0:00 /usr/sbin/
nis_cachemgr -i
root 906 1 0 14:13:02 ? 0:00 /usr/sbin/keyserv

I've performed the same sets in Solaris 9 several times with no issue.
Can someone shed some light on this issue. Thanks.


keywords:
nis+ nisplus Solaris 10 initial setup nispopulate nisserver


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 03:24 PM
lax
 
Posts: n/a
Default Re: Solaris 10 as nis+ server

On Feb 25, 2:24 pm, lax <d_d...@my-deja.com> wrote:
> I'm having problems setting up a nis+ server on a Solaris 10 sparc
> box. I run the command:
>
> /usr/lib/nis/nisserver -v -r -d test.com
>
> to perform the initial setup of the server and it completes without
> error. However when I try to nispopulate with my existing nis+ tables
> it says that none of the tables have been created.
>
> **ERROR(1): table auto_master.org_dir.test.com. does not exist.
> auto_master table will not be loaded.
> **ERROR(1): table auto_home.org_dir.test.com. does not exist.
> auto_home table will not be loaded.
> **ERROR(1): table ethers.org_dir.test.com. does not exist.
> ethers table will not be loaded.
> ...
>
> The command ' /usr/lib/nis/nisaddent -d publickey' errors with
> cred.org_dir.test.com.: NIS+ servers unreachable.
>
> `svcs` shows that nisplus is online and ps -ef shows that all running:
>
> root 1088 1 0 14:16:24 ? 0:00 /usr/sbin/
> rpc.nispasswdd
> root 1086 1 0 14:16:24 ? 0:00 /usr/sbin/rpc.nisd
> root 1078 1 0 14:16:24 ? 0:00 /usr/sbin/
> nis_cachemgr -i
> root 906 1 0 14:13:02 ? 0:00 /usr/sbin/keyserv
>
> I've performed the same sets in Solaris 9 several times with no issue.
> Can someone shed some light on this issue. Thanks.
>
> keywords:
> nis+ nisplus Solaris 10 initial setup nispopulate nisserver



It's working now after a couple re-tries and reboots.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-07-2008, 03:28 PM
lax
 
Posts: n/a
Default Re: Solaris 10 as nis+ server

On Feb 26, 10:15 am, lax <d_d...@my-deja.com> wrote:
> On Feb 25, 2:24 pm, lax <d_d...@my-deja.com> wrote:
>
>
>
> > I'm having problems setting up a nis+ server on a Solaris 10 sparc
> > box. I run the command:

>
> > /usr/lib/nis/nisserver -v -r -d test.com

>
> > to perform the initial setup of the server and it completes without
> > error. However when I try to nispopulate with my existing nis+ tables
> > it says that none of the tables have been created.

>
> > **ERROR(1): table auto_master.org_dir.test.com. does not exist.
> > auto_master table will not be loaded.
> > **ERROR(1): table auto_home.org_dir.test.com. does not exist.
> > auto_home table will not be loaded.
> > **ERROR(1): table ethers.org_dir.test.com. does not exist.
> > ethers table will not be loaded.
> > ...

>
> > The command ' /usr/lib/nis/nisaddent -d publickey' errors with
> > cred.org_dir.test.com.: NIS+ servers unreachable.

>
> > `svcs` shows that nisplus is online and ps -ef shows that all running:

>
> > root 1088 1 0 14:16:24 ? 0:00 /usr/sbin/
> > rpc.nispasswdd
> > root 1086 1 0 14:16:24 ? 0:00 /usr/sbin/rpc.nisd
> > root 1078 1 0 14:16:24 ? 0:00 /usr/sbin/
> > nis_cachemgr -i
> > root 906 1 0 14:13:02 ? 0:00 /usr/sbin/keyserv

>
> > I've performed the same sets in Solaris 9 several times with no issue.
> > Can someone shed some light on this issue. Thanks.

>
> > keywords:
> > nis+ nisplus Solaris 10 initial setup nispopulate nisserver

>
> It's working now after a couple re-tries and reboots.




Just following up....

For some reason the nis+ server works only after a nisping. It will
get rid of the error NIS+ servers unreachable after performing a
nisserver command.

Hope this helps someone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:58 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com