2010/2/3 Rudi Ahlers Rudi@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@mercury:[~]$ service portmap restart pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer Stopping portmap: [FAILED] Starting portmap: [ OK ] root@mercury:[~]$ service portmap status portmap dead but subsys locked root@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