<div dir="ltr"><div>In my original message I&#39;ve mentioned that:<br>==========================================<br>root@PSC01SERV008:/var/lib/glusterd/nfs# rpcinfo -p<br>   program vers proto   port  service<br>    100000    4   tcp    111  portmapper<br>    100000    3   tcp    111  portmapper<br>    100000    2   tcp    111  portmapper<br>    100000    4   udp    111  portmapper<br>    100000    3   udp    111  portmapper<br>    100000    2   udp    111  portmapper<br>==========================================<br></div>will try rpcbind in debug mode approach. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-16 4:37 GMT+08:00 Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sun, Sep 13, 2015 at 04:30:43PM +0530, Soumya Koduri wrote:<br>
&gt;<br>
&gt;<br>
&gt; On 09/13/2015 09:38 AM, Yaroslav Molochko wrote:<br>
&gt; &gt;I wish this could be that simple:<br>
&gt; &gt;root@PSC01SERV008:/var/lib# netstat -nap | grep 38465<br>
&gt; &gt;root@PSC01SERV008:/var/lib# ss -n  | grep 38465<br>
&gt; &gt;root@PSC01SERV008:/var/lib#<br>
&gt; &gt;<br>
&gt; &gt;2015-09-13 1:34 GMT+08:00 Atin Mukherjee &lt;<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a><br>
&gt; &gt;&lt;mailto:<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>&gt;&gt;:<br>
&gt; &gt;<br>
&gt; &gt;    By any chance is your Gluster NFS server is already running? Output<br>
&gt; &gt;    of netstat -nap | grep 38465 might give some clue?<br>
&gt; &gt;<br>
&gt; &gt;    -Atin<br>
&gt; &gt;    Sent from one plus one<br>
&gt; &gt;<br>
&gt; &gt;    On Sep 12, 2015 10:54 PM, &quot;Yaroslav Molochko&quot; &lt;<a href="mailto:onorua@gmail.com">onorua@gmail.com</a><br>
&gt; &gt;    &lt;mailto:<a href="mailto:onorua@gmail.com">onorua@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;        Hello,<br>
&gt; &gt;<br>
&gt; &gt;        I have a problem reported in logs:<br>
&gt; &gt;        ==================<br>
&gt; &gt;        [2015-09-12 13:56:06.271644] I [MSGID: 100030]<br>
&gt; &gt;        [glusterfsd.c:2301:main] 0-/usr/sbin/glusterfs: Started running<br>
&gt; &gt;        /usr/sbin/glusterfs version 3.7.4 (args: /usr/sbin/glusterfs -s<br>
&gt; &gt;        localhost --volfile-id gluster/nfs -p<br>
&gt; &gt;        /var/lib/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log<br>
&gt; &gt;        -S /var/run/gluster/cb186678589f28e74c67da70fd06e736.socket)<br>
&gt; &gt;        [2015-09-12 13:56:06.277921] I [MSGID: 101190]<br>
&gt; &gt;        [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started<br>
&gt; &gt;        thread with index 1<br>
&gt; &gt;        [2015-09-12 13:56:07.284888] I<br>
&gt; &gt;        [rpcsvc.c:2215:rpcsvc_set_outstanding_rpc_limit] 0-rpc-service:<br>
&gt; &gt;        Configured rpc.outstanding-rpc-limit with value 16<br>
&gt; &gt;        [2015-09-12 13:56:07.292484] W [MSGID: 112153]<br>
&gt; &gt;        [mount3.c:3910:mnt3svc_init] 0-nfs-mount: Exports auth has been<br>
&gt; &gt;        disabled!<br>
&gt; &gt;        [2015-09-12 13:56:07.294357] E<br>
&gt; &gt;        [rpcsvc.c:1370:rpcsvc_program_register_portmap] 0-rpc-service:<br>
&gt; &gt;        Could not register with portmap 100005 3 38465<br>
&gt;<br>
&gt; Port registration failed. Could you check &#39;/var/log/messages&#39; and dmesg to<br>
&gt; see if there are any errors logged? Is firewalld running on your system.<br>
&gt; Verify if the port is open to be used.<br>
<br>
</div></div>Registration of services at portmap can also fail because there is a<br>
service with that program number and version registered already. Could<br>
you check if that is the case?<br>
<br>
    $ rpcinfo -p | grep 100005<br>
        100005    3   tcp  38465  mountd<br>
        100005    1   tcp  38466  mountd<br>
<br>
If you see a similar output, check if you have standard NFS services<br>
running. The rpc.mountd process will also register itself at the<br>
portmapper, but it will conflict with the NFS-services that Gluster<br>
provides. Make sure all NFS services (server and client) have been<br>
disabled and stopped. After that, check with the &#39;rpcinfo&#39; command if<br>
any of nlockmgr, mount, status or nfs are registered. If that is the<br>
case, you can unregister them one-by-one with commands like this:<br>
<br>
    # rpcinfo -d 100005 1<br>
    # rpcinfo -d 100005 3<br>
    ...<br>
<br>
After unregistering the services at the portmapper, you should be able<br>
to start the Gluster-NFS service by restarting glusterd.<br>
<br>
HTH,<br>
Niels<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Thanks,<br>
&gt; Soumya<br>
&gt; &gt;        [2015-09-12 13:56:07.294398] E [MSGID: 112088]<br>
&gt; &gt;        [nfs.c:341:nfs_init_versions] 0-nfs: Required program  MOUNT3<br>
&gt; &gt;        registration failed<br>
&gt; &gt;        [2015-09-12 13:56:07.294413] E [MSGID: 112109] [nfs.c:1482:init]<br>
&gt; &gt;        0-nfs: Failed to initialize protocols<br>
&gt; &gt;        [2015-09-12 13:56:07.294426] E [MSGID: 101019]<br>
&gt; &gt;        [xlator.c:428:xlator_init] 0-nfs-server: Initialization of<br>
&gt; &gt;        volume &#39;nfs-server&#39; failed, review your volfile again<br>
&gt; &gt;        [2015-09-12 13:56:07.294438] E<br>
&gt; &gt;        [graph.c:322:glusterfs_graph_init] 0-nfs-server: initializing<br>
&gt; &gt;        translator failed<br>
&gt; &gt;        [2015-09-12 13:56:07.294448] E<br>
&gt; &gt;        [graph.c:661:glusterfs_graph_activate] 0-graph: init failed<br>
&gt; &gt;        [2015-09-12 13:56:07.294781] W<br>
&gt; &gt;        [glusterfsd.c:1219:cleanup_and_exit]<br>
&gt; &gt;        (--&gt;/usr/sbin/glusterfs(mgmt_getspec_cbk+0x11a) [0x7fbe9c754b7a]<br>
&gt; &gt;        --&gt;/usr/sbin/glusterfs(glusterfs_process_volfp+0x123)<br>
&gt; &gt;        [0x7fbe9c74fcb3] --&gt;/usr/sbin/glusterfs(cleanup_and_exit+0x59)<br>
&gt; &gt;        [0x7fbe9c74f329] ) 0-: received signum (0), shutting down<br>
&gt; &gt;        ===================<br>
&gt; &gt;<br>
&gt; &gt;        I&#39;ve checked the page:<br>
&gt; &gt;        <a href="http://www.gluster.org/community/documentation/index.php/Gluster_3.1:_NFS_Frequently_Asked_Questions" rel="noreferrer" target="_blank">http://www.gluster.org/community/documentation/index.php/Gluster_3.1:_NFS_Frequently_Asked_Questions</a><br>
&gt; &gt;<br>
&gt; &gt;        I&#39;ve found report in RedHat that it&#39;s necessary to remove -w<br>
&gt; &gt;        from rpcbind becuse some times it causes problems.<br>
&gt; &gt;        I did all that but still no luck on one of the servers, what is<br>
&gt; &gt;        interesting, the other server (peered) is working fine without<br>
&gt; &gt;        any problems.<br>
&gt; &gt;<br>
&gt; &gt;        root@PSC01SERV008:/var/lib/glusterd/nfs# systemctl status nfs<br>
&gt; &gt;        ● nfs.service<br>
&gt; &gt;            Loaded: not-found (Reason: No such file or directory)<br>
&gt; &gt;            Active: inactive (dead)<br>
&gt; &gt;<br>
&gt; &gt;        root@PSC01SERV008:/var/lib/glusterd/nfs# systemctl status rpcbind<br>
&gt; &gt;        ● rpcbind.service - RPC bind portmap service<br>
&gt; &gt;            Loaded: loaded (/etc/systemd/system/rpcbind.service;<br>
&gt; &gt;        enabled; vendor preset: enabled)<br>
&gt; &gt;           Drop-In: /run/systemd/generator/rpcbind.service.d<br>
&gt; &gt;                    └─50-rpcbind-$portmap.conf<br>
&gt; &gt;            Active: active (running) since Sat 2015-09-12 13:55:07 UTC;<br>
&gt; &gt;        6min ago<br>
&gt; &gt;          Main PID: 9796 (rpcbind)<br>
&gt; &gt;            Memory: 428.0K<br>
&gt; &gt;            CGroup: /system.slice/rpcbind.service<br>
&gt; &gt;                    └─9796 /sbin/rpcbind<br>
&gt; &gt;<br>
&gt; &gt;        Sep 12 13:55:07 PSC01SERV008 systemd[1]: Starting RPC bind<br>
&gt; &gt;        portmap service...<br>
&gt; &gt;        Sep 12 13:55:07 PSC01SERV008 systemd[1]: Started RPC bind<br>
&gt; &gt;        portmap service.<br>
&gt; &gt;        root@PSC01SERV008:/var/lib/glusterd/nfs# rpcinfo -p<br>
&gt; &gt;            program vers proto   port  service<br>
&gt; &gt;             100000    4   tcp    111  portmapper<br>
&gt; &gt;             100000    3   tcp    111  portmapper<br>
&gt; &gt;             100000    2   tcp    111  portmapper<br>
&gt; &gt;             100000    4   udp    111  portmapper<br>
&gt; &gt;             100000    3   udp    111  portmapper<br>
&gt; &gt;             100000    2   udp    111  portmapper<br>
&gt; &gt;<br>
&gt; &gt;        I&#39;ve tried to reinstall it agaon and again - but there is no luck.<br>
&gt; &gt;<br>
&gt; &gt;        What I have:<br>
&gt; &gt;        cat /etc/lsb-release<br>
&gt; &gt;        DISTRIB_ID=Ubuntu<br>
&gt; &gt;        DISTRIB_RELEASE=15.04<br>
&gt; &gt;        DISTRIB_CODENAME=vivid<br>
&gt; &gt;        DISTRIB_DESCRIPTION=&quot;Ubuntu 15.04&quot;<br>
&gt; &gt;<br>
&gt; &gt;        ii  glusterfs-client<br>
&gt; &gt;        3.7.4-ubuntu1~vivid1              amd64        clustered<br>
&gt; &gt;        file-system (client package)<br>
&gt; &gt;        ii  glusterfs-common<br>
&gt; &gt;        3.7.4-ubuntu1~vivid1              amd64        GlusterFS common<br>
&gt; &gt;        libraries and translator modules<br>
&gt; &gt;        ii  glusterfs-server<br>
&gt; &gt;        3.7.4-ubuntu1~vivid1              amd64        clustered<br>
&gt; &gt;        file-system (server package)<br>
&gt; &gt;<br>
&gt; &gt;        What else can I check? How can I fix it, what is most important :)<br>
&gt; &gt;        Thanks in advance!<br>
&gt; &gt;<br>
&gt; &gt;        _______________________________________________<br>
&gt; &gt;        Gluster-users mailing list<br>
&gt; &gt;        <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<br>
&gt; &gt;        <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;Gluster-users mailing list<br>
&gt; &gt;<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>