Hi,
I recently had one of my team (now moved on) install a vserver implementation on a Debain base.
It was working as an apache server, samba server and mysql. Wew use PHP to develop on it.
It was configured to work in an NIS network.
It seems now that when we rebooted the vserver, it no longer binds to the ypserver. I have installed another Linux box on the network and connected it up to the ypserver with no issues.
I cant work out what is missing on this box, nad seem to have exhausted look up potential.
As the vserver boots it tries to do a ypbind, which gets backgrounded.
In the /var/log/daemon.log - the following show
Quote:
daemon.log:Jan 3 17:08:27 surfguard ypbind[5360]: Unable to register (YPBINDPROG, YPBINDVERS, udp).
daemon.log:Jan 3 17:12:05 surfguard portmap[5424]: connect from 192.168.0.210 to unset(ypbind): request from no
n-local host
daemon.log:Jan 3 17:12:05 surfguard portmap[5425]: connect from 192.168.0.210 to unset(ypbind): request from no
n-local host
daemon.log:Jan 3 17:12:05 surfguard portmap[5426]: connect from 192.168.0.210 to set(ypbind): request from non-
local host
daemon.log:Jan 3 17:12:05 surfguard ypbind[5419]: Unable to register (YPBINDPROG, YPBINDVERS, udp).
From my reading this should indicate that portmap is not working.
I then ran the following sequence :
Quote:
surfguard:/var/log# /etc/init.d/nis start
Starting NIS services: ypbind [binding to YP server .......... backgrounded]
surfguard:/var/log# domainname
dev.hpfm.com.au
surfguard:/var/log# rpcinfo -u localhost ypbind
rpcinfo: RPC: Program not registered
program 100007 is not available
surfguard:/var/log# rpcinfo -u localhost portmap
program 100000 version 2 ready and waiting
surfguard:/var/log# ypbind -d
parsing config file
Trying entry: ypserver 192.168.0.201
parsed ypserver 192.168.0.201
add_server() domain: dev.hpfm.com.au, host: 192.168.0.201, slot: 0
[Welcome to ypbind-mt, version 1.18]
ping interval is 20 seconds
Unable to register (YPBINDPROG, YPBINDVERS, udp).
surfguard:/var/log#
I have run out of ideas at present, can anyone help point me in the right direction?
Barry
Bookmark/Search this post with: