1823417 Members
2660 Online
109655 Solutions
New Discussion юеВ

ypbind does not start

 
Beragnes
Occasional Contributor

ypbind does not start

I've installed an hpux11.00
workstation. The nis server
of this station is a solaris in another lan. I've set the
YPBIND_OPTIONS to -ypset; I
can ping, "nslookup" my nis
server but my hpux11.00 WS
can't start ypbind.

"nis.client start" gives me "FAILURE CODE: 1"

thanks

sylvain
9 REPLIES 9
Victor BERRIDGE
Honored Contributor

Re: ypbind does not start

Hi,
NIS to my knowledge cannot work across 2 networks, only NIS+ would...

All the best

Victor
U.SivaKumar_2
Honored Contributor

Re: ypbind does not start

hi,
if you configure your router to forward the udp
broadcasts (UDP port 111 ) you will be able to
do that. In case your gateway is a firewall , you will have to open TCP ports 2049,1023.
for more information on ports see /etc/services
file
regards,
U.SivaKumar
Innovations are made when conventions are broken
Hai Nguyen_1
Honored Contributor

Re: ypbind does not start

in /etc/rc.config.d/namesvrs, set:

NIS_CLIENT=1
YPBIND_OPTIONS="-ypset"
NISDOMAIN="your_NIS_domain"
YPSET_ADDR="your_NIS_server_IP_address"

Then try to start NIS client again
/sbin/init.d/nis.client start

Hai

Beragnes
Occasional Contributor

Re: ypbind does not start

>in /etc/rc.config.d/namesvrs, set:

> NIS_CLIENT=1
> YPBIND_OPTIONS="-ypset"
> NISDOMAIN="your_NIS_domain"
> YPSET_ADDR="your_NIS_server_IP_address"

> Then try to start NIS client again
> /sbin/init.d/nis.client start

> Hai

this is exactly what I did...

sylvain
Beragnes
Occasional Contributor

Re: ypbind does not start

My hpux11.00 is a 64bit
one.

I've just installed a 32bit
hpux11.00 on the second disk
and thinks work fine...

Any clue ?

sylvain
pap
Respected Contributor

Re: ypbind does not start

HI,
I thinbk you have forgotten to put the IP address of NIS server in front of the variable YPSET_ADDR.

It should be like this.

YPBIND_OPTIONS="-ypset"
NISDOMAIN="your_NIS_domain"
YPSET_ADDR="your_NIS_server_IP_address"


one more thing,

you need to host name and IP address for NIS Server in /etc/hosts file.

If there are different networks , and NIS server is on different network, it doesn't matter as long as you have bind the NIS server using YP SET. Your work station should work fine as an NIS CLient.

Also try to ping the NIS server from your workstation using host name. May be the resolver is not orking or /etc/nsswitch.conf is not configured with proper order.

Just check following and you are all set.

/etc/nsswitch.con
/etc/resolv.conf
/etc/hosts (for NIS server entry)

-pap
"Winners don't do different things , they do things differently"
Hai Nguyen_1
Honored Contributor

Re: ypbind does not start

Try this sequence:

mv /var/yp/secureservers /var/yp/secureservers.save

/sbin/init.d/nis.client start

Hai

U.SivaKumar_2
Honored Contributor

Re: ypbind does not start

hi,
sorry , i have answered for a different question . i meant to answer another question
in the forum.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Beragnes
Occasional Contributor

Re: ypbind does not start

I just moved /var/yp/secureservers & it works !

thanks Hai

sylvain