Networking Forums

Networking Forums > Computer Networking > Linux Networking > Portmap startup: stumped

Reply
Thread Tools Display Modes

Portmap startup: stumped

 
 
Edward G
Guest
Posts: n/a

 
      03-01-2005, 12:22 AM
Hello

I have tried several hours to resolve the following seemingly simple
problem. I recently effected some security and optimisation changes on
a linux box. I thought I was being diligent, bouncing services and
testing as I went along. Then I did a reboot...

While booting up, everything looks normal until NFS mountd is invoked,
whereupon my poor box hangs for some time before reporting

Starting NFS mountd: Cannot register service: RPC: Unable to
receive; errno = Connection refused

No problem, I think: portmapper isn't running for some reason (I
changed something that affected portmapper? hmm....). Indeed, rpcinfo -p
throws an error, and ps -aux confirms. I then double checkconfig
(ha ha) portmapper but that's fine. Furthermore starting
portmapper as root and bouncing NFS yields expected results

# /sbin/portmapper
# /etc/init.d/nfs restart
# rpcinfo -p

NFS and ancillary services all present.

So this all boils down to the fact that portmapper won't start
properly on its own. It's as though it isn't starting as root.

/var/log yields a "portmap: cannot bind upd: address already in use". Something
tells me I'm missing something...

I have read a slew of other postings with very similar symptoms to no
avail. Note that from the perspective of network clients, NFS services
seem unaffected (i.e. I can manipulate exported shares). So the only
real problem is the long bootup time, and my now frustrated curiosity
to know what's going on here.

Best regards

Edward Garson
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      03-02-2005, 08:22 AM
Edward G wrote:
>
> /var/log yields a "portmap: cannot bind upd: address already in use". Something
> tells me I'm missing something...
>


This tells that something is already using the portmapper
port (111/UDP). Use (as root) 'netstat -upan' to check.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RPC: failed to contact portmap (errno -5) Davidcollins001@gmail.com Linux Networking 0 03-25-2007 05:37 PM
nfs portmap: server 10.122.2.37 not responding. PZ Linux Networking 0 03-12-2007 02:46 AM
RPC failed to contact portmap Christian Christmann Linux Networking 0 11-04-2006 06:48 PM
Configuring portmap and rpc to listen on specific interfaces Enrique Perez-Terron Linux Networking 1 10-01-2004 12:01 AM
nfs and portmap service problems Jeff Krimmel Linux Networking 1 06-24-2004 08:38 AM



1 2 3 4 5 6 7 8 9 10 11