Does NIS work with OpenVZ? [message #9480] |
Sat, 06 January 2007 00:31 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
efball
Messages: 41 Registered: September 2006 Location: Santa Rosa, California
|
Member |
|
|
Does NIS work with OpenVZ?
ypbind just hangs when I start it:
# ./init.d/ypbind start
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.....
In /var/log/messages I get this:
ypbind[24574]: broadcast: RPC: Timed out.
I have ypbind and yp-tools installed. The portmap is running. The
hostname has the necessary permissions on the server. "domainname"
returns the correct server name.
I have the NISDOMAIN set in /etc/sysconfig/network
In /etc/yp.conf I have:
domain xxxxxx broadcast
This works on non-virtual machines.
I also tried setting a server name, but it still hangs.
Our network uses an unusual netmask: 255.255.248.0
Could that be causing a problem?
There's nothing on the wiki about NIS.
My virtual machines are CentOS 4.
--
E Frank Ball efball@efball.com
|
|
|
Re: Does NIS work with OpenVZ? [message #9481 is a reply to message #9480] |
Sat, 06 January 2007 00:36 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
efball
Messages: 41 Registered: September 2006 Location: Santa Rosa, California
|
Member |
|
|
Nevermind. I got NIS working. I needed to specify the server
name, and put that server in /etc/hosts.
On Fri, Jan 05, 2007 at 04:31:58PM -0800, E Frank Ball wrote:
> Does NIS work with OpenVZ?
> ypbind just hangs when I start it:
>
> # ./init.d/ypbind start
> Binding to the NIS domain: [ OK ]
> Listening for an NIS domain server.....
>
> In /var/log/messages I get this:
> ypbind[24574]: broadcast: RPC: Timed out.
>
> I have ypbind and yp-tools installed. The portmap is running. The
> hostname has the necessary permissions on the server. "domainname"
> returns the correct server name.
>
> I have the NISDOMAIN set in /etc/sysconfig/network
>
> In /etc/yp.conf I have:
> domain xxxxxx broadcast
> This works on non-virtual machines.
> I also tried setting a server name, but it still hangs.
>
> Our network uses an unusual netmask: 255.255.248.0
> Could that be causing a problem?
>
> There's nothing on the wiki about NIS.
>
> My virtual machines are CentOS 4.
>
> --
>
> E Frank Ball efball@efball.com
--
E Frank Ball efball@efball.com
|
|
|