Networking Forums

Networking Forums > Computer Networking > Linux Networking > Strange nfs problem - Connection refused

Reply
Thread Tools Display Modes

Strange nfs problem - Connection refused

 
 
D.K.
Guest
Posts: n/a

 
      08-03-2008, 01:01 PM
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]#


 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      08-03-2008, 04:19 PM
"D.K." <(E-Mail Removed)> 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 With Quote
 
D.K.
Guest
Posts: n/a

 
      08-03-2008, 05:26 PM
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
<world>(rw,wdelay,no_root_squash,no_subtree_check, anonuid=65534,anongid=65534)

Ideas??
DK

"Unruh" <unruh-(E-Mail Removed)> schrieb im Newsbeitrag
news:7Uklk.3653$%b7.3221@edtnps82...
> "D.K." <(E-Mail Removed)> 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 With Quote
 
Unruh
Guest
Posts: n/a

 
      08-03-2008, 06:10 PM
"D.K." <(E-Mail Removed)> 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
><world>(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" <unruh-(E-Mail Removed)> schrieb im Newsbeitrag
>news:7Uklk.3653$%b7.3221@edtnps82...
>> "D.K." <(E-Mail Removed)> 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 With Quote
 
D.K. [CCA]
Guest
Posts: n/a

 
      08-03-2008, 06:53 PM
is this ok?
message from /var/log/messages
Aug 3 20:45:58 sysxen01 portmap[4519]: Only binding to LOOPBACK address!
DK

"Unruh" <unruh-(E-Mail Removed)> schrieb im Newsbeitrag
news:xwmlk.3681$%b7.3571@edtnps82...
> "D.K." <(E-Mail Removed)> 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
>><world>(rw,wdelay,no_root_squash,no_subtree_chec k,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" <unruh-(E-Mail Removed)> schrieb im Newsbeitrag
>>news:7Uklk.3653$%b7.3221@edtnps82...
>>> "D.K." <(E-Mail Removed)> 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 With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      08-03-2008, 08:19 PM
On 2008-08-03, D.K. [CCA] <(E-Mail Removed)> wrote:
> is this ok?
> message from /var/log/messages
> Aug 3 20:45:58 sysxen01 portmap[4519]: Only binding to LOOPBACK address!
> DK
>

Is that on the server or the client? If it's the server, it could be
the reason your client can't connect. Look in /etc/default/portmap.

 
Reply With Quote
 
D.K. [CCA]
Guest
Posts: n/a

 
      08-04-2008, 08:12 AM
great ...
thanks - this suggestion helps me
at the /etc/sysconfig/network are the pmap= -l parameter are set.
after deleting this parameter all works fine.
D.K.

"Bill Marcum" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> On 2008-08-03, D.K. [CCA] <(E-Mail Removed)> wrote:
>> is this ok?
>> message from /var/log/messages
>> Aug 3 20:45:58 sysxen01 portmap[4519]: Only binding to LOOPBACK address!
>> DK
>>

> Is that on the server or the client? If it's the server, it could be
> the reason your client can't connect. Look in /etc/default/portmap.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very STRANGE LAN connection problem matt Windows Networking 0 05-26-2006 01:45 AM
Strange connection problem Walter Hofmann Linux Networking 4 08-04-2005 09:44 AM
Strange reason for mail being refused. Doug Laidlaw Linux Networking 2 05-30-2005 11:29 PM
Really strange TS connection problem cmalmstrom Windows Networking 3 06-21-2004 06:57 PM
strange connection problem peter Windows Networking 0 10-16-2003 03:06 PM



1 2 3 4 5 6 7 8 9 10 11