LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 01-13-2009, 10:01 AM   #1
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,917

Rep: Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600
ls: cannot access /etc/resolv.conf: stale nfs file handle - but i'm not using nfs


[fc-9-live-usb]
hi i get this error which means i cant visit websites.

i cant rm, cp, mv, vi, ... this file. how do i regain the ability to browse the internet ?

is there a way i can create a /etc/resolv.conf2 and have my system use that instead ?

thx,
 
Old 01-14-2009, 05:15 AM   #2
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by schneidz View Post
[fc-9-live-usb]
hi i get this error which means i cant visit websites.

i cant rm, cp, mv, vi, ... this file. how do i regain the ability to browse the internet ?

is there a way i can create a /etc/resolv.conf2 and have my system use that instead ?

thx,
Are you sure you don't use NFS ?
You can try reboot your box.

Or you can try to run 'ls /etc/resolv.conf' under strace and see what caused problem.
 
Old 01-14-2009, 09:23 AM   #3
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,917

Original Poster
Rep: Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600
i ended up re-installing the live-usb once again.

it seems as if the sqaushfs uses some type of nfs emulation...
 
Old 02-19-2009, 05:53 AM   #4
jcsjcs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 2
I had exactly the same problem on an eee-pc's ssd.

I tried fsck on boot but that failed. Went into the shell, remounted / read-only (difficult again) and did a manual fsck. Reboot and everything was good:

mount -no remount,ro /
fsck /


JCS.
 
1 members found this post helpful.
Old 10-02-2009, 02:39 PM   #5
htmlbase
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Smile Remounting /

I was able to use the above instructions after executing "shutdown now" to get to single user mode. Without it, the "/" was always busy. The disk had plenty of errors besides the resolv.conf problem. It works now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stale NFS File Handle problem mpnorth Linux - Newbie 10 08-12-2008 10:57 AM
stale nfs file handle on rh3u6. laihu01 Red Hat 1 05-09-2007 01:57 PM
stale NFS file handle error hardian_97 Linux - Networking 0 10-02-2005 10:09 PM
NFS stale file handle master Linux - Software 7 06-14-2005 09:49 AM
Stale NFS file handle toneys Linux - Networking 1 10-24-2004 02:36 PM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration