NFS Permissions - Lost Connectivity
We have two Linux boxes in our Windows environment. They predate me and anyone else still working here, so essentially they sit there largely untouched most of the time.
Recently part of the process they perform has stopped working. The cron logs indicate that one of the boxes fails to mount the other system, claiming permission denied. I noticed on booting that there's actually 2 mounts that fail. My first question is, how do I go about troubleshooting/resolving this, and I'd be curious to know why this suddenly happened? (As of 7/18 as far as I can tell). Machine 1 = 10.0.28.3 Machine 2 = 10.0.29.48 (trying to mount to machine 1) Windows machines can connect to shares that machine 2 cannot mount to. fstab on Machine 2: Code:
10.0.28.3:/u/apps/mysql /u/mnt/qxxxxxxx/mysql nfs defaults 0 0 Code:
/u/apps/mysql 10.0.29.48(rw,insecure,no_root_squash,sync) |
1. who is the cron job running as?
2. try logging into machine 2 as root and mount manually Code:
mount /u/mnt/qxxxxxxx/mysql also, lets see exactly what distro+version you have Code:
cat /etc/*release* (http://linux.oneandoneis2.org/LNW.htm - important diffs between MS + Linux) http://rute.2038bug.com/index.html.gz - tutorial The answer to the 'cat ...' qn will enable us to be more specific in our advice. Welcome to LQ :) |
The cron is running as root.
From machine 2, as root, I am getting permission denied. Code:
[root@qxxxxxx2 root]# mount -t nfs 10.0.28.3:/u/apps/mysql /u/mnt/qxxxxxxx/mysql Code:
LSB_VERSION="1.3" Thanks again! |
So, please give us the complete version info for both: 'old version of Centos' is insufficient.
On BOTH Code:
iptables -nvL Please read those links, otherwise we are going to end up having to write very long answers. |
Machine 1
Code:
[root@qcserver root]# cat /etc/*release* Code:
[root@qclinux2 root]# cat /etc/*release* |
Ok, so you appear to have 2 extremely old and out of date releases, specifically
Centos3.9 Tao 1 Both based on RHEL (Redhat enterprise Linux) v3, which went out of support yrs ago, in fact v4 went out of support this yr. This means that updates have not been available in years, so you are using old SW severely lacking in security... You can try here https://docs.redhat.com/docs/en-US/R...nux/index.html, specifically 'Red Hat Enterprise Linux 3' section. Try Chap 9 of this https://docs.redhat.com/docs/en-US/R...ide/index.html Hopefully if anyone else still has RHEL3 or equiv, they will be able to help you with the above. These cmds may help show what parts of nfs ar eup: Code:
service nfs status I'd recommend moving up to Centos v6.x as soon as you can. |
All times are GMT -5. The time now is 02:14 PM. |