Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nis can not listen server

7 views
Skip to first unread message

bu-bu

unread,
Dec 6, 2009, 12:12:49 AM12/6/09
to
Hello All,

It's my first post on this forum , and i'm new to linux. Please be
kind with me :)

I'm trying to setup a NIS server/client.
All the services for the server have been setup and run normally.
The NIS server can listen itself.

But, for the client, it's different. I get the message:
Listening for a NIS domain server [Failed]

I read somewhere on the web that if i can't use telnet, i can not
listen the NIS server.

So i tried to install / configure telnet, but i get everytime the
message :
unencrypted connection refused. Goodbye


I have added my server in the list of the trusted network in the
telnet conf file.

It's really annoying ! Could someone help me please ?

Thanks,

bubu

ps ; i'm running centos 5 64bits on both machines.

Greg Russell

unread,
Dec 6, 2009, 1:57:15 PM12/6/09
to
In news:ebe6a99f-6194-4fca...@g22g2000prf.googlegroups.com,
bu-bu <bed...@gmail.com> typed:

> I'm trying to setup a NIS server/client.
> All the services for the server have been setup and run normally.
> The NIS server can listen itself.
>
> But, for the client, it's different. I get the message:
> Listening for a NIS domain server [Failed]
>
> I read somewhere on the web that if i can't use telnet, i can not
> listen the NIS server.

Telnet has absolutely nothing to do with NIS.

There are several things to consider with NIS: the settup, the start at
boot, the /etc/exportfs and /etc/nsswitch.conf files, as well as enabling
firewalls to deal with the necessary traffic.
http://lmgtfy.com/?q=nis+howto+redhat


bu-bu

unread,
Dec 6, 2009, 7:03:23 PM12/6/09
to
Hello Greg,

I was able to figure out my problem : Selinux !!! So i have disabled
it, and now, every thing is fine :)

Thank you so much for your reply though.

best,

bubu

Greg Russell

unread,
Dec 7, 2009, 3:56:44 AM12/7/09
to
In news:3ea4b757-9cd5-48b4...@u25g2000prh.googlegroups.com,
bu-bu <bed...@gmail.com> typed:

> I was able to figure out my problem : Selinux !!! So i have disabled
> it, and now, every thing is fine :)

I didn't even consider that, and I'm sorry. I was intrigued by the advent of
SeLinux several years ago when the NSA released it as a response to all the
crap they'd observed in M$ while welcoming open-source OSs, but dismissed it
after finding several roadblocks in its implementation and difficulty of
usage.

As always, I find security through iptables (after much time with ipchains)
and real-time system monitoring.

I'm glad your problem is solved.


bu-bu

unread,
Dec 7, 2009, 8:16:23 PM12/7/09
to
Hello Greg,

No need to apologize, really, and your reply was sensible :)

It very easy to make a mistake while configuring NIS, so a link to
tutorial was a very good answer.

I noticed that, most of the tutorials don't speak about firewall or
security settings. I guess (???) everyone is going with a trusted
network, without firewall/Selinux ?


0 new messages