strangely, i'm beginning to think it's some strange environment problem because i just suffered the problem again, and this time decided to open a second terminal to see if the problem could exist in two separate terminals.
Here are the results from both terminals:
Code:
TERMINAL 1:
stg-backup:/rmt/project2 # date; ls -l
Mon Jan 14 15:02:08 GMT 2008
total 0
stg-backup:/rmt/project2 #
Code:
TERMINAL 2:
stg-backup:/rmt/project2 # date; ls -l
Mon Jan 14 15:02:08 GMT 2008
total 44
drwxrwsr-x 9 root stg 4096 2008-01-13 20:20 .
drwxr-xr-x 9 root root 0 2008-01-14 15:01 ..
-rw-r--r-- 1 root stg 21 2008-01-13 21:16 .arkeiaNOBACKUP
-rw-r--r-- 1 root stg 480 2005-06-28 12:52 .arkeiaNOBACKUP.email
-rw-r--r-- 1 root stg 21 2008-01-12 21:15 .arkeiaNOBACKUP.old
drwxrwsr-x 11 stg stg 4096 2008-01-11 13:27 ASR
drwxrwsr-x 8 mstuttle stg 4096 2007-08-10 15:34 demos
drwxrwxr-x 11 gwebster stg 4096 2007-03-23 18:39 gabe
drwxrwsr-x 2 root stg 4096 2005-02-04 17:36 home
-rw-r--r-- 1 root stg 99 2004-03-18 17:46 Makefile
drwxr-xr-x 2 root root 4096 2008-01-08 10:06 mysqlbackup
-rw-r--r-- 1 root stg 6 2004-10-29 07:50 neil.txt
-rw------- 1 root stg 675 2004-03-22 09:58 nohup.out
lrwxrwxrwx 1 root stg 20 2005-11-30 09:13 remote -> /rmt/sysadmin/remote
drwxrwxrwx 29 root root 4096 2008-01-14 15:01 .snapshot
lrwxrwxrwx 1 root stg 22 2005-09-09 17:00 stguser -> /rmt/stg14/TTS/stguser
drwxrwsrwx 4 kate stg 4096 2004-07-27 14:48 sysadmin
stg-backup:/rmt/project2 #
as you can see, i had two terminals open on the same machine at exactly the same time, both in the same automounted NFS directory, running exactly the same command.
One terminal failed, and the other worked.
Therefore this cannot be a hardware problem, right?
to prove that this is not a coincidence, i ran the same test three more times, and got exactly the same results - TERMINAL 1 was "broken" and TERMINAL 2 was working.
I then logged out on TERMINAL 1 and logged back in again and it works again:
Code:
stg-backup:/rmt/project2 # date; ls -l
Mon Jan 14 15:05:26 GMT 2008
total 0
stg-backup:/rmt/project2 # logout
Connection to stg-backup closed.
rhobbs@stg-mkc5:~> ssh stg-backup -l root
Password:
Last login: Mon Jan 14 15:01:36 2008 from stg-mkc5.crl.toshiba.co.uk
stg-backup:~ # cd /rmt/project2
stg-backup:/rmt/project2 # ls -l
total 44
drwxrwsr-x 9 root stg 4096 2008-01-13 20:20 .
drwxr-xr-x 7 root root 0 2008-01-14 15:05 ..
-rw-r--r-- 1 root stg 21 2008-01-13 21:16 .arkeiaNOBACKUP
-rw-r--r-- 1 root stg 480 2005-06-28 12:52 .arkeiaNOBACKUP.email
-rw-r--r-- 1 root stg 21 2008-01-12 21:15 .arkeiaNOBACKUP.old
drwxrwsr-x 11 stg stg 4096 2008-01-11 13:27 ASR
drwxrwsr-x 8 mstuttle stg 4096 2007-08-10 15:34 demos
drwxrwxr-x 11 gwebster stg 4096 2007-03-23 18:39 gabe
drwxrwsr-x 2 root stg 4096 2005-02-04 17:36 home
-rw-r--r-- 1 root stg 99 2004-03-18 17:46 Makefile
drwxr-xr-x 2 root root 4096 2008-01-08 10:06 mysqlbackup
-rw-r--r-- 1 root stg 6 2004-10-29 07:50 neil.txt
-rw------- 1 root stg 675 2004-03-22 09:58 nohup.out
lrwxrwxrwx 1 root stg 20 2005-11-30 09:13 remote -> /rmt/sysadmin/remote
drwxrwxrwx 29 root root 4096 2008-01-14 15:01 .snapshot
lrwxrwxrwx 1 root stg 22 2005-09-09 17:00 stguser -> /rmt/stg14/TTS/stguser
drwxrwsrwx 4 kate stg 4096 2004-07-27 14:48 sysadmin
stg-backup:/rmt/project2 #
so now i'm
really confused...
The annoying thing is that i have also just noticed that this problem is causing some of the cron jobs that access remote NFS volumes to fail as well!
Argh!
Someone help me, please! lol