Hi!

On 12/21/06, Mark Brown <[EMAIL PROTECTED]> wrote:
On Thu, Dec 21, 2006 at 07:31:08PM -0200, Nelson A. de Oliveira wrote:

> trying to configure NIS (client) on it was disappointing.

It would be helpful if you could describe in more detail what problems
you were seeing: what steps did you take when trying to install the
package and what output was produced?

Right. Sorry for not giving more details.
What I did was:

- installed NIS
- echo domain >  /etc/defaultdomainname
- edited /etc/yp.conf and included "ypserver theip"
- /etc/init.d/nis restart

This is what we are doing on all machines here. On i386 it's working,
on AMD64 with amd64 Kernel and i386 system it's working, but on this
pure amd64 system it's not.

With version 3.17-2:

========
mudar:~# /etc/init.d/nis start
Starting NIS services: ypbindbinding to YP
server...........................................failed
(backgrounded).
.
mudar:~# ypset warner
can't yp_bind: Reason: Can't communicate with ypbind

But it's running:

mudar:~# ps aux | grep ypbind
root      5120  0.0  0.0  39264  1288 ?        Sl   21:31   0:00
/usr/sbin/ypbind

mudar:~# ypcat -k passwd
No such map passwd.byname. Reason: Can't bind to server which serves this domain
========

Now, just doing a "dpkg -i nis_3.13-2_amd64.deb", without changing anything:

========
mudar:~# /etc/init.d/nis start
Starting NIS services: ypbind
mudar:~# ypset warner
mudar:~# ypset -k passwd

And then it displays all the users from the NIS server
========

> Sincerelly, I don't know how to debug why 3.17-2 isn't working. It just
> doesn't see the NIS server. Really strange...

> Please, what should I do/send to help debugging this issue?

Please stop NIS, run

   ypbind -d -broadcast

and send the output to the bug address.

========
mudar:~# LC_ALL=C ypbind -d -broadcast
5101: add_server() domain: sicibalN, broadcast
5101: [Welcome to ypbind-mt, version 1.20.1]

5101: ping interval is 20 seconds

5103: NetworkManager is running.

5103: Are offline
5103: interface: org.freedesktop.DBus, object path:
/org/freedesktop/DBus, method: NameAcquired
========
(and it doesn't show anything more, just stays on this last line)

With version 3.13-2:

========
mudar:~# LC_ALL=C ypbind -d -broadcast
add_server() domain: sicibalN, broadcast
[Welcome to ypbind-mt, version 1.18]

ping interval is 20 seconds

do_broadcast() for domain 'sicibalN' is called
broadcast: RPC: Timed out.
leave do_broadcast() for domain 'sicibalN'
Pinging all active server.
do_broadcast() for domain 'sicibalN' is called
broadcast: RPC: Timed out.
leave do_broadcast() for domain 'sicibalN'
Pinging all active server.
do_broadcast() for domain 'sicibalN' is called
(...)
========

Thank you!

Best regards,
Nelson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to