All of lore.kernel.org
 help / color / mirror / Atom feed
* NIS pbs
@ 1998-05-06  9:58 Thierry Lafage
  1998-05-07  0:16 ` Wesley Hosking
  1998-05-07  8:41 ` Thierry Lafage
  0 siblings, 2 replies; 3+ messages in thread
From: Thierry Lafage @ 1998-05-06  9:58 UTC (permalink / raw)
  To: ultralinux


Hello,

Still using the UP-1.0.9 on an Ultra-I. I think there could be some
problems with: 

	1) hostname/domainname
	2) the package ypbind-3.3-3.sparc.rpm

1)
> dominname THIS
> domainname 
\äISp
> dominname the_domain
> domainname 
the_domain

2)
> rpm -Uvh ypbind-3.3-3.sparc.rpm 
ypbind                      ##################################################
> cd /etc/rc.d
> find . -name '*ypbind*' -ls   
101712 1 -rwxr-xr-x 1 root root 863 May  4 13:39 ./init.d/ypbind
132156 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc0.d/K30ypbind -> ../init.d/ypbind
  6236 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc1.d/K30ypbind -> ../init.d/ypbind
 48874 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc2.d/K30ypbind -> ../init.d/ypbind
 79342 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc3.d/K30ypbind -> ../init.d/ypbind
 89412 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc4.d/K30ypbind -> ../init.d/ypbind
101715 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc5.d/K30ypbind -> ../init.d/ypbind
122203 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc6.d/K30ypbind -> ../init.d/ypbind

I don't know how to setup these links to start ypbind correctly at boot time.

Any help appreciated.

Thierry Lafage

-- CAPS project -- IRISA, campus de Beaulieu, 35042 Rennes cedex, France
Phone: +33 2 99 84 25 01 -- Fax: +33 2 99 84 71 71 --
http://www.irisa.fr/caps/PEOPLE/ThierryL/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* NIS pbs
  1998-05-06  9:58 NIS pbs Thierry Lafage
@ 1998-05-07  0:16 ` Wesley Hosking
  1998-05-07  8:41 ` Thierry Lafage
  1 sibling, 0 replies; 3+ messages in thread
From: Wesley Hosking @ 1998-05-07  0:16 UTC (permalink / raw)
  To: ultralinux

Thierry Lafage writes:
 > 
 > Hello,
 > 
 > Still using the UP-1.0.9 on an Ultra-I. I think there could be some
 > problems with: 
 > 
 > 	1) hostname/domainname
 > 	2) the package ypbind-3.3-3.sparc.rpm
 > 
 > 1)
 > > dominname THIS
 > > domainname 
 > \äISp
 > > dominname the_domain
 > > domainname 
 > the_domain

You need to set the NIS domainname in /etc/sysconfig/networks

ie: add
NISDOMAIN=yourdomainname
to the end of the file.

If you want to check out whats happenning look at /etc/rc.d

in rc.sysinit you have :

# Set the NIS domain name
if [ -n "$NISDOMAIN" ]; then
    domainname $NISDOMAIN
else
    domainname ""
fi

(Which is set from the networks file)


 > 
 > 2)
 > > rpm -Uvh ypbind-3.3-3.sparc.rpm 
 > ypbind                      ############################################# > #####
 > > cd /etc/rc.d
 > > find . -name '*ypbind*' -ls   
 > 101712 1 -rwxr-xr-x 1 root root 863 May  4 13:39 ./init.d/ypbind
 > 132156 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc0.d/K30ypbind -> ../i > nit.d/ypbind
 >   6236 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc1.d/K30ypbind -> ../i > nit.d/ypbind
 >  48874 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc2.d/K30ypbind -> ../i > nit.d/ypbind
 >  79342 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc3.d/K30ypbind -> ../i > nit.d/ypbind
 >  89412 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc4.d/K30ypbind -> ../i > nit.d/ypbind
 > 101715 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc5.d/K30ypbind -> ../i > nit.d/ypbind
 > 122203 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc6.d/K30ypbind -> ../i > nit.d/ypbind
 > 
 > I don't know how to setup these links to start ypbind correctly at boot t > ime.

Normally in rh5.0 you can change this with the level editor (whatever
its called ? ).

In the above cases change the K to an S for the levels you want it
running in ie: 3,4,5

ie: rc3.d/S30ypbind

wes

PS: hopes this helps, I had trouble because I was specifying NISDOMAIN
as NIS_DOMAIN

 > 
 > Any help appreciated.
 > 
 > Thierry Lafage
 > 
 > -- CAPS project -- IRISA, campus de Beaulieu, 35042 Rennes cedex, France
 > Phone: +33 2 99 84 25 01 -- Fax: +33 2 99 84 71 71 --
 > http://www.irisa.fr/caps/PEOPLE/ThierryL/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NIS pbs
  1998-05-06  9:58 NIS pbs Thierry Lafage
  1998-05-07  0:16 ` Wesley Hosking
@ 1998-05-07  8:41 ` Thierry Lafage
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Lafage @ 1998-05-07  8:41 UTC (permalink / raw)
  To: ultralinux

Wesley Hosking wrote:
> You need to set the NIS domainname in /etc/sysconfig/networks
> 
> ie: add
> NISDOMAIN=yourdomainname
> to the end of the file.
> 
> If you want to check out whats happenning look at /etc/rc.d
> 
> in rc.sysinit you have :
> 
> # Set the NIS domain name
> if [ -n "$NISDOMAIN" ]; then
>     domainname $NISDOMAIN
> else
>     domainname ""
> fi
> 
> (Which is set from the networks file)

Yes, I saw it. Thanks. My post was just to say that the command
'domainname' or 'hostname -y' without any argument does not give the
right output (under certain circumstances). On the other hand, the
system seems to use the right NIS domain name value, so no problemo at
all :-).

>  > 
>  > 2)
>  > > rpm -Uvh ypbind-3.3-3.sparc.rpm 
>  > ypbind                      #############################################>  > #####
>  > > cd /etc/rc.d
>  > > find . -name '*ypbind*' -ls   
>  > 101712 1 -rwxr-xr-x 1 root root 863 May  4 13:39 ./init.d/ypbind
>  > 132156 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc0.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >   6236 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc1.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  48874 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc2.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  79342 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc3.d/K30ypbind -> ../i>  > nit.d/ypbind
>  >  89412 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc4.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 101715 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc5.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 122203 1 lrwxrwxrwx 1 root root 16 May  6 11:23 ./rc6.d/K30ypbind -> ../i>  > nit.d/ypbind
>  > 
>  > I don't know how to setup these links to start ypbind correctly at boot t>  > ime.
> 
> Normally in rh5.0 you can change this with the level editor (whatever
> its called ? ).
> 
> In the above cases change the K to an S for the levels you want it
> running in ie: 3,4,5
> 
> ie: rc3.d/S30ypbind
> 

Here also, I did not want to say, hey this does not work !, but just
precise that the links are not correctly configured by the rpm
installation process. To set up correctly the links, I used
'chkconfig':
chkconfig --levels 345 ypbind on

Be careful, this does not only change the K to an S, but K30 to S70
(see init.d/ypbind).

> wes
> 
> PS: hopes this helps, I had trouble because I was specifying NISDOMAIN
> as NIS_DOMAIN

So do I.


Thierry Lafage.

PS. A special thanks to Felix von Leitner who provided great help ;-).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-07  8:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-06  9:58 NIS pbs Thierry Lafage
1998-05-07  0:16 ` Wesley Hosking
1998-05-07  8:41 ` Thierry Lafage

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.