Rudi Ahlers
2010-Feb-03 11:47 UTC
[CentOS] cannot mount NFS share, portmap problems, what todo?
Hi all, I want to map an NFS share from a remote server to a local CentOS 5.4 server, but have a problem with portmap: root at mercury:[~]$ service portmap restart pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer Stopping portmap: [FAILED] Starting portmap: [ OK ] root at mercury:[~]$ service portmap status portmap dead but subsys locked root at mercury:[~]$ What is "subsys", and how do I "unlock it"? /var/log/messages gives me this: Feb 3 13:44:23 mercury portmap[2221]: cannot bind udp: Address already in use Which address is it referring to? Portmap isn't running so I don't see how it can be in use. Or should I be looking for the problem elsewhere? Google search results sugested opening port 111 in the firewall, which I have, but still get the error. And I cannot, at any costs, reboot this server. So, is there a way to fix this? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100203/5d021513/attachment-0001.html>
Geoff Galitz
2010-Feb-03 12:03 UTC
[CentOS] cannot mount NFS share, portmap problems, what todo?
> /var/log/messages gives me this:> Feb 3 13:44:23 mercury portmap[2221]: cannot bind udp: Address already inuse The first thing I would do is to see if there is something running on the portmap port: # netstat -ap --inet Check for sunrpc (which is the service name associated with the portmapper, as listed in /etc/services). --------------------------------- Geoff Galitz Blankenheim NRW, Germany <http://www.galitz.org/> http://www.galitz.org/ <http://german-way.com/blog/> http://german-way.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100203/d6bc431d/attachment-0001.html>
Eero Volotinen
2010-Feb-03 12:05 UTC
[CentOS] cannot mount NFS share, portmap problems, what todo?
2010/2/3 Rudi Ahlers <Rudi at softdux.com>:> Hi all, > I want to map an NFS share from a remote server to a local CentOS 5.4 > server, but have a problem with portmap: > root at mercury:[~]$ service portmap restart > pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset > by peer > Stopping portmap: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[FAILED] > Starting portmap: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[ ?OK ?] > root at mercury:[~]$ service portmap status > portmap dead but subsys locked > root at mercury:[~]$ > > What is "subsys", and how do I "unlock it"? > > > /var/log/messages gives me this: > Feb ?3 13:44:23 mercury portmap[2221]: cannot bind udp: Address already in > use > > Which address is it referring to? Portmap isn't running so I don't see how > it can be in use. Or should I be looking for the problem elsewhere? > Google search results sugested opening port 111 in the firewall, which I > have, but still get the error. And I cannot, at any costs, reboot this > server. So, is there a way to fix this?Check if there is lock file for portmap under /var/run and remove it and try again. Use also netstat -lp --ip to check if portmap is already running. -- Eero