NIS pbs
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)
Quoted 2 lines
dominname THIS
domainname
\äISp
Quoted 2 lines
dominname
the_domain
domainname
the_domain
2)
Quoted 1 line
rpm -Uvh ypbind-3.3-3.sparc.rpm
ypbind ##################################################
Quoted 2 lines
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/
Quoted 9 lines · Thierry Lafage
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
Quoted 7 lines
1)
Quoted 2 lines
dominname THIS
domainname\äISp
Quoted 2 lines
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)
Quoted 15 lines
2)
Quoted 1 line
rpm -Uvh ypbind-3.3-3.sparc.rpm
ypbind ############################################# > #####
Quoted 2 lines
cd
/etc/rc.d
find . -name '*ypbind*' -ls101712 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
Quoted 1 line
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
Quoted 8 lines
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/
Quoted 10 lines · Wesley Hosking
You need to set the NIS domainname in
/etc/sysconfig/networksie: add
NISDOMAIN=yourdomainname
to the end of the file.If you want to check out whats happenning look at
/etc/rc.din rc.sysinit you have :
Quoted 8 lines
# 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 :-).
Quoted 17 lines
Quoted 15 lines
2)
Quoted 1 line
rpm -Uvh ypbind-3.3-3.sparc.rpm
ypbind #############################################> > #####
Quoted 2 lines
cd
/etc/rc.d
find . -name '*ypbind*' -ls101712 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/ypbindQuoted 1 line
I don't know how to setup these links to start ypbind correctly at boot t> > ime.
Quoted 8 lines
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).
Quoted 4 lines
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 ;-).