Solaris 10 as nis+ server - SUN

This is a discussion on Solaris 10 as nis+ server - SUN ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Solaris 10 as nis+ server

  1. 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



  2. Re: Solaris 10 as nis+ server

    On Feb 25, 2:24 pm, lax 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.


  3. Re: Solaris 10 as nis+ server

    On Feb 26, 10:15 am, lax wrote:
    > On Feb 25, 2:24 pm, lax 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.

+ Reply to Thread