Prev: raid on mixed ide/sata drives (/dev/hda /dev/sda) not assembled at boot with initramfs
Next: raid on mixed ide/sata drives (/dev/hda /dev/sda) not assembled at boot with initramfs
From: Alex Samad on 7 Feb 2010 15:20 On Sun, Feb 07, 2010 at 10:07:41AM -0500, Michael Yang wrote: > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf(a)gmail.com> wrote: > [snip] > > > > > Anybody can help with this? you mounting with tcp or udp. if tcp try moving to udp > > Thanks. -- "The Iraqis need to be very much involved. They were the people that was brutalized by this man." - George W. Bush 12/15/2003 Washington, DC
From: Michael Yang on 8 Feb 2010 00:40 On Sun, Feb 7, 2010 at 10:31 AM, Osamu Aoki <osamu(a)debian.org> wrote: > On Sat, Feb 06, 2010 at 03:35:37PM -0500, Michael Yang wrote: > ... > > ls: cannot access .xsession-errors: Stale NFS file handle > > ls: cannot access .Xauthority: Stale NFS file handle > ... > > Anyone can help me with this? > > I have no idea but I uually use google on this kind of situation. (At > least fro short info, there is no simple solution I can present.) > > Peple may have had encountered similar and did much more dig in to solve > this. > > Alas, I see many > > http://www.linuxquestions.org/questions/linux-networking-3/stale-nfs-file-handle-error-369219/ > > http://www.cyberciti.biz/tips/nfs-stale-file-handle-error-and-solution.html > > ... > > But yor case is on local file... Did you check file permission of > .xsession-errors and .Xauthority. > > Please post "ls -l ~/.xsession-errors ~/.Xauthority" > > Osamu > > > > Thanks very much. > > Michael. > Yes, I did search on google. What is different in my case from those is that I have no NFS mounting on my system. It happens on my $HOME, which is a separate partition ext2 system. When I list these two files, it outputs: $ ls -l ~/.xsession-errors ~/.Xauthority ls: cannot access /home/michael/.xsession-errors: Stale NFS file handle ls: cannot access /home/michael/.Xauthority: Stale NFS file handle I don't have NFS service open on my system. I do have samba, ssh server open. If the files are modified from any remote malicious user (by any chance, although low possibility), how to fix this two files by any mounting options? (like edit in /etc/fstab for /home entry). Thanks very much.
From: Alex Samad on 8 Feb 2010 01:30 On Mon, Feb 08, 2010 at 12:36:39AM -0500, Michael Yang wrote: > On Sun, Feb 7, 2010 at 10:31 AM, Osamu Aoki <osamu(a)debian.org> wrote: > > > On Sat, Feb 06, 2010 at 03:35:37PM -0500, Michael Yang wrote: > > ... > > > ls: cannot access .xsession-errors: Stale NFS file handle > > > ls: cannot access .Xauthority: Stale NFS file handle > > ... > > > Anyone can help me with this? > > > > I have no idea but I uually use google on this kind of situation. (At > > least fro short info, there is no simple solution I can present.) > > > > Peple may have had encountered similar and did much more dig in to solve > > this. > > > > Alas, I see many > > > > http://www.linuxquestions.org/questions/linux-networking-3/stale-nfs-file-handle-error-369219/ > > > > http://www.cyberciti.biz/tips/nfs-stale-file-handle-error-and-solution.html > > > > ... > > > > But yor case is on local file... Did you check file permission of > > .xsession-errors and .Xauthority. > > > > Please post "ls -l ~/.xsession-errors ~/.Xauthority" > > > > Osamu > > > > > > > Thanks very much. > > > Michael. > > > > Yes, I did search on google. What is different in my case from those is that > I have no NFS mounting on my system. It happens on my $HOME, which is a > separate partition ext2 system. > > When I list these two files, it outputs: > $ ls -l ~/.xsession-errors ~/.Xauthority > ls: cannot access /home/michael/.xsession-errors: Stale NFS file handle > ls: cannot access /home/michael/.Xauthority: Stale NFS file handle > > I don't have NFS service open on my system. I do have samba, ssh server > open. > > If the files are modified from any remote malicious user (by any chance, > although low possibility), how to fix this two files by any mounting > options? (like edit in /etc/fstab for /home entry). I presume you have tried rebooting. you can use mount to show the mounted fs and have a look at /etc/mtab as well > > Thanks very much. -- Alexander Graham Bell is alive and well in New York, and still waiting for a dial tone.
From: marc on 8 Feb 2010 05:00 Michael Yang wrote: > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf(a)gmail.com> wrote: > >> When I list files under my $HOME, I found following two files that can not >> be accessed: >> >> ls: cannot access .xsession-errors: Stale NFS file handle >> ls: cannot access .Xauthority: Stale NFS file handle >> total 2384 >> -????????? ? ? ? ? ? .xsession-errors >> -????????? ? ? ? ? ? .Xauthority >> >> It looks like a remote access from NFS system from error message. But it is >> my $HOME, which is a ext2 system. This is the entry in my /etc/fstab >> /dev/sda8 /home ext2 defaults 0 2 >> >> This error is probably causing another problem of accessing my $HOME files >> from GTK-based application. When I "open -> file" from a gtk-based >> application to open a file under $HOME, I can not see any files of $HOME >> from the "open..file" dialog. >> >> Anyone can help me with this? >> >> Thanks very much. >> Michael. >> >> > Anybody can help with this? > > Thanks. Please switch off HTML. Try running fsck. $ sudo touch /forcefsck then reboot. -- Best, Marc "Change requires small steps." -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Michael Yang on 8 Feb 2010 11:30
On Mon, Feb 8, 2010 at 4:51 AM, marc <gmane(a)auxbuss.com> wrote: > Michael Yang wrote: > > > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf(a)gmail.com> > wrote: > > > >> When I list files under my $HOME, I found following two files that can > not > >> be accessed: > >> > >> ls: cannot access .xsession-errors: Stale NFS file handle > >> ls: cannot access .Xauthority: Stale NFS file handle > >> total 2384 > >> -????????? ? ? ? ? ? .xsession-errors > >> -????????? ? ? ? ? ? .Xauthority > >> > >> It looks like a remote access from NFS system from error message. But it > is > >> my $HOME, which is a ext2 system. This is the entry in my /etc/fstab > >> /dev/sda8 /home ext2 defaults 0 2 > >> > >> This error is probably causing another problem of accessing my $HOME > files > >> from GTK-based application. When I "open -> file" from a gtk-based > >> application to open a file under $HOME, I can not see any files of $HOME > >> from the "open..file" dialog. > >> > >> Anyone can help me with this? > >> > >> Thanks very much. > >> Michael. > >> > >> > > Anybody can help with this? > > > > Thanks. > > Please switch off HTML. > > Try running fsck. > > $ sudo touch /forcefsck > > then reboot. > > Tried but doesn't work. > -- > Best, > Marc > > "Change requires small steps." > > > > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster(a)lists.debian.org > > |