Page 4 of 4

Re: showmount: Program not registered

Posted: Thu Oct 11, 2018 10:30 am
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.

Re: showmount: Program not registered

Posted: Mon Oct 15, 2018 3:06 pm
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  ]

Re: showmount: Program not registered

Posted: Mon Oct 15, 2018 3:23 pm
by scottwilkerson
shamrozkadiwal wrote:So it got fixed :) ...
glad it is resolved.

Locking thread