showmount: Program not registered

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: showmount: Program not registered

Post by scottwilkerson »

I'm not sure what you are trying to accomplish with these tests.

The Nagios XI server need to reach X.X.X.X

You will need to adjust any firewall the system is using
so that NFS clients (Nagios XI) can communicate with the server. You will need to ensure that the following ports are
open before sharing any filesystem:
UDP: 111, 1039, 1047, 1048 and 2049.
TCP: 111, 1039, 1047, 1048 and 2049.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
shamrozkadiwal
Posts: 74
Joined: Thu Jan 25, 2018 1:13 am

Re: showmount: Program not registered

Post by shamrozkadiwal »

So it got fixed :) ...

I ran this command to see the established connections on 111 and found 900+ active connection

Code: Select all

[shkadi@awh014 /]$ sudo netstat -pantu | grep 111
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      3355/portmap
tcp        0      0 10.180.120.39:111           10.180.27.10:55118          ESTABLISHED 3355/portmap
tcp        0      0 10.180.120.37:111           10.180.27.10:37709          ESTABLISHED 3355/portmap
tcp        0      0 10.180.120.41:111           10.180.27.10:58690          ESTABLISHED 3355/portmap
tcp        0      0 10.180.120.39:111           10.180.27.10:56140          ESTABLISHED 3355/portmap
tcp        0      0 10.180.120.39:111           10.180.27.10:55116          ESTABLISHED 3355/portmap
tcp        0      0 10.180.120.41:111           10.180.27.10:42562          ESTABLISHED -
tcp       45      0 10.180.120.39:111           10.180.27.10:33612          CLOSE_WAIT  -
tcp        0      0 10.180.120.31:111           10.180.27.10:58485          ESTABLISHED 3355/portmap
then I ran the command to stop portmap to get rid of established connection. Also, stop nfs for safe side.

Code: Select all

[shkadi@awh014 home]$ sudo /sbin/service portmap stop
Stopping portmap:                                          [  OK  ]
[shkadi@awh014 home]$ sudo /sbin/service nfs stop
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [  OK  ]
Start the service

Code: Select all

[shkadi@awh014 home]$ sudo /sbin/service portmap start
Starting portmap:                                          [  OK  ]
[shkadi@awh014 home]$ sudo /sbin/service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: showmount: Program not registered

Post by scottwilkerson »

shamrozkadiwal wrote:So it got fixed :) ...
glad it is resolved.

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked