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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-13-2009, 10:01 AM
|
#1
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
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,
|
|
|
01-14-2009, 05:15 AM
|
#2
|
ELF Statifier author
Registered: Oct 2007
Posts: 676
Rep:
|
Quote:
Originally Posted by schneidz
[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.
|
|
|
01-14-2009, 09:23 AM
|
#3
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
Original Poster
|
i ended up re-installing the live-usb once again.
it seems as if the sqaushfs uses some type of nfs emulation...
|
|
|
02-19-2009, 05:53 AM
|
#4
|
LQ Newbie
Registered: Jun 2005
Posts: 7
Rep:
|
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.
|
10-02-2009, 02:39 PM
|
#5
|
LQ Newbie
Registered: Oct 2009
Posts: 1
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 09:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|