yp-troubles

Bjorn Ivar Stark bis at ifi.uio.no
Thu Feb 28 00:29:28 AEST 1991


I have just got a new RS6000/320, running level 3002, which I
will use
as an YP master slave.

I went into smit and selcted: 
    Configure this Host as a NIS Master Server

which issued the command:
   /usr/etc/yp/mkmaster -s'asterix' '-O' '-E' '-p' '-

and this is what I got:

   Building /etc/yp/brutus.hydro.no/ypservers...
   Running /etc/yp/Makefile...
   sh: syntax error at line 8: `end of file' unexpected
   1254-005  The error code from the last failed command is 2.
    This value will be ignored.
    awk 'BEGIN { FS=":"; OFS="\t"; }; /^[a-zA-Z0-9_]/ { print $1,
$0 }' \
        /etc/passwd  | /usr/etc/yp/makedbm - /etc/yp/`domainna
   me`/passwd.byname; \
      awk 'BEGIN { FS=":"; OFS="\t"; }; /^[a-zA-Z0-9_]/ { prin
   t $3, $0 }' \
        /etc/passwd | /usr/etc/yp/makedbm - /etc/yp/`domainnam
   e`/passwd.byuid; \
       fi; \
   sh: syntax error at line 5: `fi' unexpected
   1254-004  The error code from the last failed command is 2.

   Make Quitting.
   Error running Makefile.   
   : Exiting because of errors in /usr/etc/yp/ypinit


What am I doing wrong??
--
-----------
Oystein Fosli
Norsk Hydro a.s           ph.: (472) 739660       
Postboks 200, VK-A3	  fax: (472) 739991       
1321 STABEKK	     internet: bis at ifi.uio.no
Norway



More information about the Comp.unix.aix mailing list