Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

NIS Make db errors [solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
rapsure
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Thu Apr 29, 2004 9:59 pm
Location: Logan, UT USA
Contact:
Contact rapsure
Website

NIS Make db errors [solved]

  • Quote

Post by rapsure » Sat Jul 31, 2004 6:56 am

I have been having some problems getting my NIS server configuration finalized. I don't know why it is giving me problems. These are the error messages I get when I run /usr/lib/yp/ypinit -m

root@rapsure yp # /usr/lib/yp/ypinit -m

At this point, we have to construct a list of the hosts which will run NIS
servers. rapsure.localdomain is in the list of NIS server hosts. Please continue to add
the names for the other hosts, one per line. When you are done with the
list, type a <control D>.
next host to add: rapsure.localdomain
next host to add:
The current list of NIS servers looks like this:

rapsure.localdomain

Is this correct? [y/n: y]
We need a few minutes to build the databases...
Building /var/yp/localdomain/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/localdomain'
Updating passwd.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating passwd.byuid...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating group.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating group.bygid...failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating hosts.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating hosts.byaddr...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating rpc.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating rpc.bynumber...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating services.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating services.byservicename...
failed to send 'clear' to local ypserv: RPC: Unknown hostgmake[1]: Leaving directory `/var/yp/localdomain'

rapsure.localdomain has been set up as a NIS master server.

Now you can run ypinit -s rapsure.localdomain on all slave server.
root@rapsure yp #


I want to know how to fix it so that I can get the server up and running.

The interesting thing is that I have ypserv started, and ypbind finds the server.
Last edited by rapsure on Thu Aug 12, 2004 8:18 pm, edited 1 time in total.
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Top
rapsure
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Thu Apr 29, 2004 9:59 pm
Location: Logan, UT USA
Contact:
Contact rapsure
Website

tried

  • Quote

Post by rapsure » Mon Aug 02, 2004 8:57 pm

So I setup the client, and it won't login, and it is really annoying. The documentation on NIS is also not helping. How do I get it to work?
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Top
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

how did you solve the problem?

  • Quote

Post by bocacorazon » Sun Dec 19, 2004 10:20 pm

rapsure: the post says "solved" but yopu don't say how.
COuld you elaborate?
Thanks
Top
rapsure
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Thu Apr 29, 2004 9:59 pm
Location: Logan, UT USA
Contact:
Contact rapsure
Website

How I solved it

  • Quote

Post by rapsure » Mon Dec 20, 2004 1:22 am

Look in the /var/yp/securenets.default file. Now make your /var/yp/securenets file, and put your machine in it, and also the subnet that wants to access it. That is how I solved my problem. Now I have been able to setup a couple of NIS servers.
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy