ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Issue in Transferring NIS Database to Slave Servers

    IT Discussion
    2
    10
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana
      last edited by Lakshmana

      I have configured NIS in Servers.
      There are about 2 Master Servers and 10 Slave Servers are there.
      The servers are installed with Ubuntu Server 14.04 Server Edition.
      All the Slave servers are controlled by the Master Server 2.
      There is an issue in updating the NIS database in the Slave Server.

      Since the password for the Master 1,2 is changed and the slave server password is not changed.
      I have used the following command in Master Server 2:
      /usr/lib/yp/ypinit -m
      The update is done properly in Master Servers.
      The command used in the slave servers are
      /usr/lib/yp/ypinit -s hostname

      The error comes is

      Transferring netgroup...
      ypxfr: Exiting: Map transferring failed
      Transferring netgroup.byuser...
      ypxfr: Exiting: Map transferring failed
      Transferring netgroup.byhost...
      ypxfr: Exiting: Map transferring failed
      Transferring master.passwd.byuid...
      ypxfr: Exiting: Map transferring failed
      Transferring passwd.byuid...
      ypxfr: Exiting: Map transferring failed
      Transferring passwd.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring group.bygid...
      ypxfr: Exiting: Map transferring failed
      Transferring group.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring services.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring rpc.bynumber...
      ypxfr: Exiting: Map transferring failed
      Transferring rpc.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring protocols.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring master.passwd.byname...
      ypxfr: Exiting: Map transferring failed
      Transferring networks.byname...
      ypxfr: Exiting: Map transferring failed

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        By the time I searched on this term, it was already the top match on Yahoo search!

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          I think maybe the network ports for NIS are closed on your server. Check their connectivity before doing anything else.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Any feedback?

            1 Reply Last reply Reply Quote 1
            • LakshmanaL
              Lakshmana
              last edited by

              I have checked the Ports in all Masters and Slave servers.
              There is no issue with it.
              Something has issue in it

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                How did you check? Instead of saying that you did check, it would be more valuable to show us how and what you checked or else, every time, we are going to ask for clarification.

                Did you use telnet to check? What did it return?

                1 Reply Last reply Reply Quote 0
                • LakshmanaL
                  Lakshmana
                  last edited by

                  I have used the SSH to check the NIS.
                  I have used the command in the server as
                  /usr/lib/yp/ypinit -m
                  The above command able to update the master server

                  But when i tried in the slave server /usr/lib/yp/ypinit -s hostname
                  the transferring error occurs.
                  I didno checcked the telnet

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    How can SSH check NIS? This is why we need details and never these high level "I did that" answers. I have no idea how it is possible for you to have checked your ports using SSH. Telnet is the definitive test. If you do not know how telnet works, how did you test the ports. Can you provide a screenshot at least?

                    1 Reply Last reply Reply Quote 0
                    • LakshmanaL
                      Lakshmana
                      last edited by

                      Sorry i dont have screenshots
                      .since the date expired in my office for me.
                      I have used the command in the ubuntu as mentioned below
                      rpcinfo -p.
                      In that ports used are shown.
                      I have not tested with the telnet

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Okay, rpcinfo should give good data.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post