CentOS 5 updated, Xen host. The portmap on this machine is somehow "stuck" and I can't figure out why. I enabled it to be able to mount a remote nfs share. The first hurdle was that "portmap" didn't appear in the chkconfig list, it was installed with the initial packages but not added to chkconfig. Took me a while to figure this out. Adding and starting it up is no problem. But nfs still doesn't work and when I try rpcinfo -p that just hangs until it finally times out after a long while (rpcinfo to another machine is fine). An strace at that time indeed shows that it is stuck trying to connect to port 111 on localhost. Same when I try to connect with telnet. Port 111 shows up on lsof UDP and TCP and there's no error when portmap starts up. There's nothing in iptables or hosts.deny that could prevent a connect. SELinux is permissive. What could block those connects? Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
On Thursday 27 March 2008 19:31:16 Kai Schaetzl wrote:> CentOS 5 updated, Xen host. > The portmap on this machine is somehow "stuck" and I can't figure out why. > I enabled it to be able to mount a remote nfs share. The first hurdle was > that "portmap" didn't appear in the chkconfig list, it was installed with > the initial packages but not added to chkconfig. Took me a while to figure > this out. Adding and starting it up is no problem. But nfs still doesn't > work and when I try rpcinfo -p that just hangs until it finally times out > after a long while (rpcinfo to another machine is fine). An strace at that > time indeed shows that it is stuck trying to connect to port 111 on > localhost. Same when I try to connect with telnet. Port 111 shows up on > lsof UDP and TCP and there's no error when portmap starts up. There's > nothing in iptables or hosts.deny that could prevent a connect. SELinux is > permissive. > What could block those connects?Would it be ok if you paste the result of iptables -nL here? Just to make sure. -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 20:47:03 up 2:09, 2.6.22-14-generic GNU/Linux Let's use OpenOffice. http://www.openoffice.org The real challenge of teaching is getting your students motivated to learn. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20080327/12deace4/attachment-0001.sig>
Fajar Priyanto wrote on Thu, 27 Mar 2008 20:47:23 +0700:> Would it be ok if you paste the result of iptables -nL here?There's really nothing in it, I disabled the RH-firewall. ;-) Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vif1.0 Chain OUTPUT (policy ACCEPT) target prot opt source destination Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com