/usr/lib/nis/nisclient: killproc: command not found
Mauricio Brigato
mauricio at bit.fmrp.usp.br
Tue May 14 22:58:04 EST 2002
Dear John,
Thank you very much for your attention!
Very clear your instructions and procedure.
But, before i try it, I think I've forgot to
say that:
- My Solaris server and replica are running
in compatibility mode;
- I've got another one NIS+ and NIS Solaris
server running not so fine on a single machine
until I cut off its services from network;
- I have all instructions and procedure from
the Linux NIS+ Support site, but I didn't
install glibc-crypt-2.1.3.tar.gz, ...., libc5.4.44,
..., nis-utils1.4.1. ... for a matter of time. I need
to put workstations running quicly ...
- I'm trying to make a linux client authenticate
to the server in a compatibility mode before. After
I'll do all procedures to make a Linux NIS+ client
authenticate to the NIS+ server without compatibility mode.
Do you think that will work fine on this first configuration ?
-------------------------------------------
Mauricio Brigato
Suporte BIT - BioInformatic Team
Fone: +55 16 3963-9603
E-mail: mauricio at bit.fmrp.usp.br
-------------------------------------------
On Tue, 14 May 2002, John Aasen wrote:
> The NIS+ support was originally written for the SUSE distribution. killproc
> and startproc are shell functions that are available in the SUSE startup
> scripts. The /etc/rc.config is also a SUSE specific file.
>
> I think you should start the NIS+ deamons before running the nisclient script.
> I have found that the following procedure works for getting a Linux NIS+
> client up and running:
> 1. Copy the start script [nis+ source directory]/etc/redhat.rc to
> /etc/rc.d/init.d/nscd
> 2. Make sure the clients time is synchronized with the NIS+ server, either
> with rdate or the time service.
> 3. Run nisinit -c -H [nisserver]
> 4. Run service nscd start
> 5. Run /usr/lib/nisclient -i -d [nis domain name] -h [nis+ server]
> This script is written for a SuSE distribution, but even though
> there are some warnings about missing rc.config,
> killproc and startproc, it seems they can be safely ignored.
> 6. Add + to the end of /etc/passwd, /etc/shadow and /etc/group.
> 7. Install the new /etc/nsswitch file. The
> main points is a line "publickey : nisplus" and that the entries for
> services, protocols and rpc are "files" only, as they are different for Linux
> and the Solaris NIS+ server.
>
> You should now be able to run "niscat passwd.org_dir" and get the
> contents of the NIS+ password table.
> It might be necessary to reboot before you get NIS+ up and running.
>
>
> On Monday 13 May 2002 21:26, Mauricio Brigato wrote:
> > I've got a NIS+ server SUN solaris 2.8 running fine.
> > When a try to install a client on linux R.HAT 7.2 client machine, by
> > running
> > the script "nisclient", as seem bellow, I got a error message:
> > "
> >
> > nisclient -v -i -h SERVER -a ip -d domain.
> > initializing client machine...
> >
> > Initializing client machine for domain
> > "domain.".
> > Once initialization is done, you will need to reboot your
> > machine.
> >
> > Do you want to continue? (type 'y' to continue, 'n' to exit this script) Y
> >
> > killing NIS and/or NIS+ processes...
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: killproc: command not found
> >
> > setting up backup files...
> > setting up NIS+ server information...
> > setting up domain information "bit.fmrp.usp.br."...
> > /usr/lib/nis/nisclient: /etc/rc.config: Arquivo ou diretrio no encontrado
> > cp: cannot stat `/etc/rc.config': Arquivo ou diretrio no encontrado
> > grep: /etc/rc.config: Arquivo ou diretrio no encontrado
> >
> > setting up the name service switch information...
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: startproc: command not found
> >
> > running nisinit command ...
> > nisinit -c -H ip ...
> > Couldn't connect to rpc.nisd on ip
> > **ERROR: nisinit failed.
> >
> > Restoring your network service...
> >
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: killproc: command not found
> > File /etc/nsswitch.conf restored!
> > /usr/lib/nis/nisclient: /etc/rc.config: Arquivo ou diretrio no encontrado
> > restoring domain to ...
> > bit.fmrp.usp.br
> >
> >
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: startproc: command not found
> > restarting nis_cachemgr process...
> > /usr/lib/nis/nisclient: killproc: command not found
> > /usr/lib/nis/nisclient: startproc: command not found
> > Client files restored!"
> >
> > Anyone has any ideas ?
> > Thanks,
> >
> >
> >
> > -------------------------------------------
> > Mauricio Brigato
> > Suporte BIT - BioInformatic Team
> > Fone: +55 16 3963-9603
> > E-mail: mauricio at bit.fmrp.usp.br
> > -------------------------------------------
>
> --
> John Aasen john.aasen at alcatel.no
> Alcatel Norway Tel: +47 22 63 83 09
> Norkrets - Electronics Design Fax: +47 22 63 81 80
>
>
>
More information about the linux-nisplus
mailing list