Strange nfs problem - Connection refused - Networking

This is a discussion on Strange nfs problem - Connection refused - Networking ; Hi all, i hope someone can help me. i cant mount an NFS share from remote. i have to mount the nfs share vom the local server and from one remote server. mount to 127.0.0.1 will work, but not from ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Strange nfs problem - Connection refused

  1. Strange nfs problem - Connection refused

    Hi all,
    i hope someone can help me.
    i cant mount an NFS share from remote.
    i have to mount the nfs share vom the local server and from one remote
    server.
    mount to 127.0.0.1 will work, but not from the same device while using the
    eth0 ip-address.
    its an preinstalled appliance image so i dont take the most settings.

    [root@sysxen01 etc]# mount -t nfs 192.168.22.94:/nfsdir /mntdir

    mount: mount to NFS server '192.168.22.94' failed: System Error: Connection
    refused.

    [root@sysxen01 etc]# mount -t nfs 127.0.0.1:/nfsdir /mntdir

    [root@sysxen01 etc]#



  2. Re: Strange nfs problem - Connection refused

    "D.K." writes:

    >Hi all,
    >i hope someone can help me.
    >i cant mount an NFS share from remote.
    >i have to mount the nfs share vom the local server and from one remote
    >server.
    >mount to 127.0.0.1 will work, but not from the same device while using the
    >eth0 ip-address.
    >its an preinstalled appliance image so i dont take the most settings.


    >[root@sysxen01 etc]# mount -t nfs 192.168.22.94:/nfsdir /mntdir


    >mount: mount to NFS server '192.168.22.94' failed: System Error: Connection
    >refused.


    Well, make sure that portman and mountd have permissions in
    /etc/hosts.allow, and that the file system is actually exported
    (/etc/exports and exportfs) to 192.168.22.94


    >[root@sysxen01 etc]# mount -t nfs 127.0.0.1:/nfsdir /mntdir


    >[root@sysxen01 etc]#




  3. Re: Strange nfs problem - Connection refused

    i think i have done this all...

    Expoprts:
    [root@sysxen01 etc]# tail exports
    /nfsdir *(rw,sync,no_root_squash) 192.168.22.0/24(rw,sync,no_root_squash)

    Hosts.allow:
    [root@sysxen01 etc]# tail hosts.allow
    #
    ALL: ALL
    portmap: 192.168.22.0/255.255.255.0
    lockd: 192.168.22.0/255.255.255.0
    rquotad: 192.168.22.0/255.255.255.0
    mountd: 192.168.22.0/255.255.255.0
    statd: 192.168.22.0/255.255.255.0
    ANY: ANY

    Iptables are stopped

    root@sysxen01 ~]# exportfs -v
    /nfsdir
    192.168.22.0/24(rw,wdelay,no_root_squash,no_subtree_check,anonu id=65534,anongid=65534)
    /nfsdir
    (rw,wdelay,no_root_squash,no_subtree_check,anonuid =65534,anongid=65534)

    Ideas??
    DK

    "Unruh" schrieb im Newsbeitrag
    news:7Uklk.3653$%b7.3221@edtnps82...
    > "D.K." writes:
    >
    >>Hi all,
    >>i hope someone can help me.
    >>i cant mount an NFS share from remote.
    >>i have to mount the nfs share vom the local server and from one remote
    >>server.
    >>mount to 127.0.0.1 will work, but not from the same device while using the
    >>eth0 ip-address.
    >>its an preinstalled appliance image so i dont take the most settings.

    >
    >>[root@sysxen01 etc]# mount -t nfs 192.168.22.94:/nfsdir /mntdir

    >
    >>mount: mount to NFS server '192.168.22.94' failed: System Error:
    >>Connection
    >>refused.

    >
    > Well, make sure that portman and mountd have permissions in
    > /etc/hosts.allow, and that the file system is actually exported
    > (/etc/exports and exportfs) to 192.168.22.94
    >
    >
    >>[root@sysxen01 etc]# mount -t nfs 127.0.0.1:/nfsdir /mntdir

    >
    >>[root@sysxen01 etc]#

    >
    >




  4. Re: Strange nfs problem - Connection refused

    "D.K." writes:

    >i think i have done this all...


    >Expoprts:
    >[root@sysxen01 etc]# tail exports
    >/nfsdir *(rw,sync,no_root_squash) 192.168.22.0/24(rw,sync,no_root_squash)


    >Hosts.allow:
    >[root@sysxen01 etc]# tail hosts.allow
    >#
    >ALL: ALL
    >portmap: 192.168.22.0/255.255.255.0
    >lockd: 192.168.22.0/255.255.255.0
    >rquotad: 192.168.22.0/255.255.255.0
    >mountd: 192.168.22.0/255.255.255.0
    >statd: 192.168.22.0/255.255.255.0
    >ANY: ANY


    >Iptables are stopped


    >root@sysxen01 ~]# exportfs -v
    >/nfsdir
    >192.168.22.0/24(rw,wdelay,no_root_squash,no_subtree_check,anonu id=65534,anongid=65534)
    >/nfsdir
    >(rw,wdelay,no_root_squash,no_subtree_check,anonuid =65534,anongid=65534)


    >Ideas??


    Nope, except try lookin in the various /var/log files for some clue.

    Ie try mounting and doing tail on various of the files to see if there is
    anything there.


    >DK


    >"Unruh" schrieb im Newsbeitrag
    >news:7Uklk.3653$%b7.3221@edtnps82...
    >> "D.K." writes:
    >>
    >>>Hi all,
    >>>i hope someone can help me.
    >>>i cant mount an NFS share from remote.
    >>>i have to mount the nfs share vom the local server and from one remote
    >>>server.
    >>>mount to 127.0.0.1 will work, but not from the same device while using the
    >>>eth0 ip-address.
    >>>its an preinstalled appliance image so i dont take the most settings.

    >>
    >>>[root@sysxen01 etc]# mount -t nfs 192.168.22.94:/nfsdir /mntdir

    >>
    >>>mount: mount to NFS server '192.168.22.94' failed: System Error:
    >>>Connection
    >>>refused.

    >>
    >> Well, make sure that portman and mountd have permissions in
    >> /etc/hosts.allow, and that the file system is actually exported
    >> (/etc/exports and exportfs) to 192.168.22.94
    >>
    >>
    >>>[root@sysxen01 etc]# mount -t nfs 127.0.0.1:/nfsdir /mntdir

    >>
    >>>[root@sysxen01 etc]#

    >>
    >>




  5. Re: Strange nfs problem - Connection refused

    is this ok?
    message from /var/log/messages
    Aug 3 20:45:58 sysxen01 portmap[4519]: Only binding to LOOPBACK address!
    DK

    "Unruh" schrieb im Newsbeitrag
    news:xwmlk.3681$%b7.3571@edtnps82...
    > "D.K." writes:
    >
    >>i think i have done this all...

    >
    >>Expoprts:
    >>[root@sysxen01 etc]# tail exports
    >>/nfsdir *(rw,sync,no_root_squash) 192.168.22.0/24(rw,sync,no_root_squash)

    >
    >>Hosts.allow:
    >>[root@sysxen01 etc]# tail hosts.allow
    >>#
    >>ALL: ALL
    >>portmap: 192.168.22.0/255.255.255.0
    >>lockd: 192.168.22.0/255.255.255.0
    >>rquotad: 192.168.22.0/255.255.255.0
    >>mountd: 192.168.22.0/255.255.255.0
    >>statd: 192.168.22.0/255.255.255.0
    >>ANY: ANY

    >
    >>Iptables are stopped

    >
    >>root@sysxen01 ~]# exportfs -v
    >>/nfsdir
    >>192.168.22.0/24(rw,wdelay,no_root_squash,no_subtree_check,anonu id=65534,anongid=65534)
    >>/nfsdir
    >>(rw,wdelay,no_root_squash,no_subtree_check,anonuid =65534,anongid=65534)

    >
    >>Ideas??

    >
    > Nope, except try lookin in the various /var/log files for some clue.
    >
    > Ie try mounting and doing tail on various of the files to see if there is
    > anything there.
    >
    >
    >>DK

    >
    >>"Unruh" schrieb im Newsbeitrag
    >>news:7Uklk.3653$%b7.3221@edtnps82...
    >>> "D.K." writes:
    >>>
    >>>>Hi all,
    >>>>i hope someone can help me.
    >>>>i cant mount an NFS share from remote.
    >>>>i have to mount the nfs share vom the local server and from one remote
    >>>>server.
    >>>>mount to 127.0.0.1 will work, but not from the same device while using
    >>>>the
    >>>>eth0 ip-address.
    >>>>its an preinstalled appliance image so i dont take the most settings.
    >>>
    >>>>[root@sysxen01 etc]# mount -t nfs 192.168.22.94:/nfsdir /mntdir
    >>>
    >>>>mount: mount to NFS server '192.168.22.94' failed: System Error:
    >>>>Connection
    >>>>refused.
    >>>
    >>> Well, make sure that portman and mountd have permissions in
    >>> /etc/hosts.allow, and that the file system is actually exported
    >>> (/etc/exports and exportfs) to 192.168.22.94
    >>>
    >>>
    >>>>[root@sysxen01 etc]# mount -t nfs 127.0.0.1:/nfsdir /mntdir
    >>>
    >>>>[root@sysxen01 etc]#
    >>>
    >>>

    >
    >




+ Reply to Thread