nis 구축중 ypinit -m 할때 아래와 같이 에러가 뜬다면
# /usr/lib64/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. localhost 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: localhost
next host to add:
The current list of NIS servers looks like this:
localhost
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/localhost.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/localhost.com'
Updating passwd.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating pass wd.byuid...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating grou p.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating grou p.bygid...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating host s.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating host s.byaddr...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating rpc. byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating rpc. bynumber...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating serv ices.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating serv ices.byservicename...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating neti d.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating prot ocols.bynumber...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating prot ocols.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating mail .aliases...
failed to send 'clear' to local ypserv: RPC: Program not registeredgmake[1]: Lea ving directory `/var/yp/localhost.com'
localhost has been set up as a NIS master server.
Now you can run ypinit -s localhost on all slave server.
# service ypbind restart
ypbind 서비스를 시작후에 해보자
# /usr/lib64/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. localhost 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: localhost
next host to add:
The current list of NIS servers looks like this:
localhost
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/localhost.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/localhost.com'
Updating passwd.byname...
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
Updating group.bygid...
Updating hosts.byname...
Updating hosts.byaddr...
Updating rpc.byname...
Updating rpc.bynumber...
Updating services.byname...
Updating services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating gmake[1]: Leaving directory `/var/yp/localhost.com'
mail.aliases...
localhost has been set up as a NIS master server.
Now you can run ypinit -s localhost on all slave server.
'Linux' 카테고리의 다른 글
could not update iceauthority file /home/user/.iceauthority (0) | 2014.04.25 |
---|---|
리눅스 메인 보드사양확인 dmidecode (0) | 2014.04.24 |
centos grep 2.14.* 설치 하기 (0) | 2014.04.02 |
svn: E170000: Unrecognized URL scheme for (0) | 2014.03.27 |
getpeername failed. Error was Transport endpoint is not connected (0) | 2014.03.13 |