Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2002, 11:51 PM
|
#1
|
Member
Registered: Sep 2002
Location: fdas
Posts: 100
Rep:
|
Can't mount remote machine
I wnat to mount UNIX path from the RH linux , i have edit /etc/exports file and run "exports -a" , but still find the below error, can suggest how to fix ? thx.
mount: RPC: Unable to receive; errno = Connection refused
|
|
|
12-06-2002, 01:00 AM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
nfs is not running, or you have it blocked by a firewall
|
|
|
09-02-2003, 11:38 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 2
Rep:
|
I have recently upgraded from Linux Redhat 7.2 to 9.0 on my Laptop and I am having trouble remotely mounting my Desktop directories. The Desktop has not been changed so I am sure the problem is in my new Redhat 9.0.
Here is the relevant line in my /etc/fstab:
spin:/ /mnt/spin nfs noauto,user,intr 0 0
so this means mounting the machine called spin (Desktop) onto the (EXISTING) directory /mnt/spin in the Laptop. By the way, "spin" runs Redhat 7.2.
When I attempt
% mount /mnt/spin
I get the error message
mount: RPC: Timed out
after some delay. The curious thing is that the file
/var/log/messages on "spin" (the server) gets appended with the line
Sep 2 13:32:45 spin rpc.mountd: authenticated mount request from <client IP>:999 for / (/)
which seems to indicate that the "server is willing to serve".
Please help if you can!
Ruy
|
|
|
09-02-2003, 10:24 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
restart portmap
service portmap restart
if this fails to help maybe you can try with the ip address and watch the log file on the nfs server
try to bypass fstab
mount 192.168.0.2:/ /mnt/spin
|
|
|
09-03-2003, 09:00 AM
|
#5
|
LQ Newbie
Registered: Sep 2003
Posts: 2
Rep:
|
Dear David,
Thanks for your time, but unfortunately it did not seem to work. Here is a log of the session where I attempted to follow your suggestions. Please note "exel" is the client laptop (running Redhat 9.0) and "spin" the server desktop (running Redhat 7.2).
[root@exel ~]# ssh root@spin
root@spin's password:
Last login: Wed Sep 3 10:48:04 2003 from exel
[root@spin ~]# service portmap restart
Stopping portmapper: [ OK ]
Starting portmapper: [ OK ]
[root@spin ~]# tail /var/log/messages
...
Sep 3 10:49:05 spin sshd(pam_unix)[11946]: session opened for user root by (uid=0)
Sep 3 10:49:13 spin portmap: portmap shutdown succeeded
Sep 3 10:49:13 spin portmap: portmap startup succeeded
[root@spin ~]# exit
logout
Connection to spin closed.
[root@exel ~]# service portmap restart
Stopping portmapper: [ OK ]
Starting portmapper: [ OK ]
[root@exel ~]# tail /var/log/messages
...
Sep 3 10:50:01 exel portmap: portmap shutdown succeeded
Sep 3 10:50:01 exel portmap: portmap startup succeeded
[root@exel ~]# mount <SPIN IP ADDRESS>:/ /mnt/spin
(about 30 seconds delay)
mount: RPC: Timed out
[root@exel ~]# ssh root@spin
root@spin's password:
Last login: Wed Sep 3 10:49:05 2003 from exel
[root@spin ~]# tail /var/log/messages
...
Sep 3 10:49:05 spin sshd(pam_unix)[11946]: session opened for user root by (uid=0)
Sep 3 10:49:13 spin portmap: portmap shutdown succeeded
Sep 3 10:49:13 spin portmap: portmap startup succeeded
Sep 3 10:49:28 spin sshd(pam_unix)[11946]: session closed for user root
Sep 3 10:50:01 spin rpc.mountd: authenticated mount request from <SPIN IP ADDRESS>:787 for / (/)
Sep 3 10:50:19 spin last message repeated 6 times
Sep 3 10:50:43 spin sshd(pam_unix)[12010]: session opened for user root by (uid=0)
Sorry I replaced the IP address for privacy.
Someone told me there are different versions of NFS and this could be the cause of my problems. But I cannot get any followup on this :-(
Ruy
|
|
|
09-04-2003, 12:06 AM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
I ran into a problem a while back like this, I can't remember exactly what the difference was. But I did need to rephrase the shares in /etc/exports before it would work
try this
create an empty folder and setup /etc/exports like this
/nfstest *(rw,sync)
and run exportfs -a
|
|
|
All times are GMT -5. The time now is 12:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|