tancred n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Jan 2007 Posts: 1
|
Posted: Fri Jan 19, 2007 2:36 am Post subject: ypinit -> No rule to make target `/etc/gshadow' |
|
|
Hi
Just trying to get NIS to work on an older 2cpu XEON machine. The achine was installed yesterday using the 2006.1 amd64 server profile and all works fine up to the point where I try run ypinit. Then it fails with:
Code: |
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/supergignis/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/supergignis'
Updating passwd.byname...
Updating passwd.byuid...
gmake[1]: *** No rule to make target `/etc/gshadow', needed by `group.byname'. Stop.
gmake[1]: Leaving directory `/var/yp/supergignis'
make: *** [target] Error 2
Error running Makefile.
Please try it by hand.
|
from what I saw in some very old posts some people had that trouble because their domainname was not set. That is not the case here. domainname gives me the domainname I set for the eth1 interface in the etc/conf.d/net file.
The makefile has been edited to build only "all: passwd group shadow"
Any ideas what might be the problem or how to solve it? |
|