a problem with setting new machine on th network..

J ji jabalio at hotmail.com
Sat Aug 17 00:41:48 EST 2002

i am not sure if you understood me , i can see disks of all other machines 
on my network on my main nfs server .so when i do a ls on my nfs server it 
lists all disks including partitioned disks of al computers on my nework 
except that of the new machine. I also cecked all the files in /var/nis 
directory. i found that the new machines name was notthere in 
auto_direct.org_dir file where al other disks were listed. also i saw that 
the new machine name was not there in hots.org_dir file Although i saw my 
new machines name in the  netgroup.org_dir file, i assume that this is from 
before becausemy machine is a recycled machine which used to be in the 
network long time ago, so i guess it hasnt been removed from the netgroup. 
Could somebody plz tel me that if i add my new machine name in these 2 files 
will everything e ok.
or i still will have to do all those things that need to be done on the new 
Also i noticed i more thing, on all my machines in the network if i do  ls 
/home, it doesnt list anything , if i do ls -l /home it says total 0, 
however if i do cd /home/someusername it takes me to that users home 
directory. now my nfs servers name is buddy. and in /buddy0 all the users 
are listed. So to go their home dir, they can also do cd /buddy0/username. 
when i do ls /buddy0 on any machine in the network, it would list all users 
but not if i do ls /home. I dont know what this means. BUt on the new 
machine that ihave set up, it lists when i do ls /home and not when i do ls 
/buddy0. so since my boss was using some programs that had 
/buddy0/someusername/... in its path he couldnt  use it .
so for now i have temporarily mounted /buddy0 by doing this:
mount buddy:/export/buddy0 /buddy0. and this works for now, but my concern 
is that when i reboot this will be lost.So right now it lists users both 
when i do ls /home and as well as ls /buddy0. Can somebody suggest what i 
forgot, Also this machine had this problem initially that it had not 
exported other user info automatically, it used to only let root login , but 
i tried a bunch of things like /etc/rc.d/init.d/xinetd.d restart, 
etc/rc.d/init.d/ypbind restart, but i think what actually did it for me was 
/etc/rc.d/init.d/amd restart.
Thanks in advance

>From: Scott Croft <secroft at micron.com>
>To: jabalio at hotmail.com
>CC: linux-nisplus at lists.samba.org
>Subject: Re: a problem with setting new machine on th network..
>Date: 15 Aug 2002 07:20:05 -0600
>To look at the tables use nisls.
>On Thu, 2002-08-15 at 02:48, Alan Buxey wrote:
> > hi,
> >
> > > i looked at the file that you askedmme to look into . Although i didnt
> > > understand which part i had to do in it ..because everything in th 
> > > is set up and working.
> > > when i am logged on to main nfs server as root and when i try to look 
> > > the home directory, it would list all directories in th enetwork whose
> > > enttries are in the nis+ table, except the one machine that i set up. 
> > > previous sys admin guy told that i have to add the entry by doing 
> > > -a ....,
> > > he also said thati could take a look atthe existing entries by doing
> > > something like niscat ....
> > > butthe name he said which i assume that wass the table name , when i 
> > > niscat follwed by that name , it said not found.
> > > Is there a way for me to know what tables are there on my system . I 
> > > even know if there should be more than 1.
> > > Also even after I find out the table name , what exactly should i type
> > > nisstbladm -a and then what the new machine is called dome.
> > > ALso is procedure called setting up a client or what . because the
> > > documentteaches how to set upa aserver, a client etc. but here 
> > > is set up just need to add this machine in the table
> > > thanks in advance
> > > regards
> > > JJi
> >
> > 2 main issues that come straight to mind.
> >
> > 1) have you set up this new machine as a nis client on the server?
> > ie on your NIS+ server have you run the usual  nisclient commands
> > and run the required things on the client after?
> >
> > 2) have you added the client to the servers NIS+ hosts file? if not,
> > then add the client - either via a nice GUI - eg with Solaris you
> > can use admapp or solstice.... or command line... something like
> >
> > nistbladm -a cname=newclient.my.net.work name=myclient addr= 
> >
> >
> > alan
>Scott Croft
>Unix Services
>Micron Technology, Inc.
>(208) 368-1586
>secroft at micron.com

Join the world’s largest e-mail service with MSN Hotmail. 

More information about the linux-nisplus mailing list