showmount: Program not registered

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: showmount: Program not registered

Postby scottwilkerson » Thu Oct 11, 2018 10:30 am

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12610
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: showmount: Program not registered

Postby shamrozkadiwal » Mon Oct 15, 2018 3:06 pm

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  ]
shamrozkadiwal
 
Posts: 44
Joined: Thu Jan 25, 2018 1:13 am

Re: showmount: Program not registered

Postby scottwilkerson » Mon Oct 15, 2018 3:23 pm

shamrozkadiwal wrote:So it got fixed :) ...


glad it is resolved.

Locking thread
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12610
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Previous

Return to Nagios Core

Who is online

Users browsing this forum: bumbo and 26 guests