Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
I am having problems mounting a in Mandriva 2006 official..
I have two Mandriva PCs, one 32bit (tahiti) and one 64bit (borabora). They are both on the same network, and I can ftp/telnet/ping both ways. I have created NFS mount points on both sides (they look similar), but I can only mount on tahiti. If I try to mount the NFS share (on Tahiti) on borabora, it doesn't find anything when I 'search servers' in the MDK control center. I have also tried doing it manually, but without luck. Don't understand why this works one way, but not the other. I have even tried shutting down the firewall, to no help. I checked the /var/log/auth.log on the host, but I don't even see an entry for when I try to connect. I see entries when I telnet, so I know I can connnect. This almost seems like a bug in Mandriva 2006 x64......
use the exports command on the would-be client to directly see what shares it can or can't see on the failing server. also is the NFS server even running on that box?
Thanks for getting back to me. Exports looks good as far as I can see. This is on the client:
# generated by drakhosts.pl
/home/eikeland/Documents Tahiti(no_all_squash,sync,insecure,ro)
This directory is mounted OK on the other machine.
On the other machine I have:
# generated by drakhosts.pl
/home/eikeland/mp3 borabora(no_all_squash,sync,insecure,ro)
/media/Video borabora(no_all_squash,sync,insecure,ro)
This also looks good to me since 'borabora' should be allowed to mount the drives on Tahiti. However, the mount points don't show up on borabora.
The NFS service is also running according to the Control Center.
I see there is also an NFS lock on the server. I turned this off, but that didn't help either.
I also find it interesting that I can remote control one machine from the other, but not the other way awound. It's the same machine that I am having problems with.
It's also interesting that if I do 'showmount' on the client, the server name and IP address is found. I am not sure if that means it can find it, or if just means that I have given that machine access to mount it's partitions.
do you have portmap running on both machines? do you have any netfilter rules on either box? run "iptables -L" to list anything that could be blocking the connections. also check the end of /var/log/messages on both machiens after the attempt to connect
Yes, I have portmap running on both the server and the client.
Server:
[root@Tahiti eikeland]# ps -ef | grep portmap
rpc 3095 1 0 12:54 ? 00:00:00 portmap
On the server, I get too much to list... Is there anything in particular I should be looking form such as?
Chain reject (11 references)
target prot opt source destination
DROP all -- anywhere anywhere PKTTYPE = broadcast
DROP all -- anywhere anywhere PKTTYPE = multicast
DROP all -- 192.168.1.255 anywhere
DROP all -- 255.255.255.255 anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable
REJECT icmp -- anywhere anywhere reject-with icmp-host-unreachable
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Also, I noticed that portmap is a little different on the two machines. This might have something to do with that.
Server:
[root@Tahiti eikeland]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 978 status
100024 1 tcp 981 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 32769 nlockmgr
100021 3 tcp 32769 nlockmgr
100021 4 tcp 32769 nlockmgr
100005 1 udp 677 mountd
100005 1 tcp 680 mountd
100005 2 udp 677 mountd
100005 2 tcp 680 mountd
100005 3 udp 677 mountd
100005 3 tcp 680 mountd
I also noticed that I have both eth0 and eth1 for some reason. In 'Monitor Network', it says that I am not connected. I do have internet connection though, so I am not sure what the deal is there. The monitor is also showing activity.
The only thing I see in /var/log/messages on the server when I try to connect is:
Mar 18 14:30:00 Tahiti CROND[7577]: (mail) CMD (/usr/bin/python -S /usr/lib/mailman/cron/gate_news)
This doesn't look like have anything to do with connecting from the client (borabora).
On the client I see:
Mar 18 14:30:07 borabora diskdrake[6376]: launched command: /etc/init.d/portmap status
I still don't know what is going on here, but some help on the iptables might be helpful. I will also try to look around on linuxquestions.org and google.
OK, I finally figured out problem with mounting in Mandriva!
I ran this command as root on the host:
/usr/sbin/exportfs -r
That seems to fix it since as soon as I did that the host was seen on the client as well as all the mount shares on the host. I am glad I finally got that to work...
Not sure why this command doesn't run by default in Mandriva..
OK had turned off the firewall to make sure that wasn't an issue, but when I turned it back on I wasn't able to mount. It seems like it's on the host, and I am not sure what port I need to open up. I have opened port 2049 (udp/tcp), but it still doesn't work. Any suggestions?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.