- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: problem binding to nis slave server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 11:59 PM
08-09-2004 11:59 PM
problem binding to nis slave server
i'm trying to set up a new linux nis slave server, but for some reason, it wouldn't work.
i'm able to bind the slave server to the master servcer (i get the desired output from ypmatch command), but when i'm trying to bind a new nis client to the nis slave server, it wouldn't work (ypbind won't bind to the server).
i have configured the nis slave server as followed:
/etc/yp.conf -
domain mydomain server mymasterserver
/etc/sysconfig/network -
i've added node name and domain name
i used dommainname and ypdomainname commands in order to determine domain name.
i ran the services portmap, ypserv and ypbind -
and it seemed to be ok
in the nis client - i did exactly as in the nis slave, except the definition in /etc/yp.conf - there i wrote
domain mydomain broadcast (and execpt i didn't attempt to load ypserv, ofcourse)
i tried to run ypbind, it binded to the domain (sais 'ok') but got stucked and failed when i tried to connect the nis server.
i tried also to bind this client to other nis slave (not linux) - to HPUX 11i - and it worked perfectly.
i'm pretty sure the problem is somewhere in the setup of the NIS SLAVE SERVER, not in the client.
all machines are 2.4.9-e.24enterprise. red hat
anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 01:07 AM
08-10-2004 01:07 AM
Re: problem binding to nis slave server
What I am getting at is this could be a protection security problem ... also firewall
iptables ?
You could also modify /etc/syslog.conf to log more messages.
Perhap you have already been down this track ?
keep us inform on progress if any
Jean-Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 01:18 AM
08-10-2004 01:18 AM
Re: problem binding to nis slave server
perhaps, this will get you going.
Jean-Pierre
PS. I just gave the same link to an other linux forum post have a llok there it could develop into some usefull info for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 02:06 AM
08-10-2004 02:06 AM
Re: problem binding to nis slave server
thanks a lot for the answer,
there is nothing intresting in dmesg.
in /var/log/messages i have messages like
ypbind[11602]: broadcast: RPC: Timed out
and
ypbind: attempting to contact yp server failed
in both servers (master and client)
this article sais nothing about configuring red hat as NIS SLAVE.
another thing - i saw that in /var/log/messages the ip that ypbind try to connect thru is our second lan (i want it to send the broadcast in the other network) - how can i configure that?
itai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 02:20 AM
08-10-2004 02:20 AM
Re: problem binding to nis slave server
Which interface is it's default gateway ?
You can always define static route with command:
route add -net x.x.x.x netmask x.x.x.x gw x.x.x.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 02:25 AM
08-10-2004 02:25 AM
Re: problem binding to nis slave server
in this case the right gateway is configured
as default gateway.
still, i don't know what should i do to solve the problem of the binding between the client to te slave
itai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 02:31 AM
08-10-2004 02:31 AM
Re: problem binding to nis slave server
As for NIS-did you define securenets?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 03:10 AM
08-10-2004 03:10 AM
Re: problem binding to nis slave server
but i'm not sure i did it write
i've added to /var/yp/securenets the following lines -
hostname 127.0.0.1
255.255.255.0 network_address
(hostname is my hostname, it's in subnet class c, network address is 189.10.5.0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 03:31 AM
08-10-2004 03:31 AM
Re: problem binding to nis slave server
NIS listens to all networks if the /var/yp/securenets file is blank or does not exist (as is the case after a default installation). One of the first things to do is put netmask/network pairs in the file so that ypserv only responds to requests from the proper network.
Below is a sample entry from a /var/yp/securenets file:
255.255.255.0 192.168.0.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 06:35 PM
08-10-2004 06:35 PM
Re: problem binding to nis slave server
i also tried to bind my client to the slave server using direct connection (not broadcast) by changing /etc/yp.conf into
domain mydomain server myslaveserver
and yet, it doesn't work
when i put instead of my linux slave server an hpux slave server - it does work.
thats why i am sure the configuration of my slave server is not right.
any ideas?