Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
|
 |
08-21-2013, 11:13 AM
|
#1
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Rep: 
|
Stale NFS handle, can't restart service. Maybe a different issue?
I'm an IT manager who just got tossed into the deep end of the pool in regards to Linux. Purely windows background so it's sink or swim for me.
I have an engineer trying to run "gedit" on RH5.8 I know what you are thinking but we're not upgrading yet.
Depending on which machine he is ssh'd into he can run gedit just fine. However, on one of our blades when he tries to run it nothing happens.
I've been able to see the following:
Aug 19 09:54:59 bla02 sshd[6124]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys
Aug 19 09:55:04 bla02 sshd[6124]: error: Could not get shadow information for user
Aug 19 09:55:04 bla02 sshd[6124]: Accepted password for werikson from 11.112.13.62 port 11591 ssh2
Aug 19 09:55:09 bla02 gconfd (user-6241): starting (version 2.14.0), pid 6241 user 'user'
Aug 19 09:55:09 bla02 gconfd (user-6241): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Aug 19 09:55:09 bla02 gconfd (user-6241): Resolved address "xml:readwrite:/home/werikson/.gconf" to a writable configuration source at position 1
Aug 19 09:55:09 bla02 gconfd (user-6241): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Aug 19 09:55:39 bla02 gconfd (user-6241): Failed to close gconfd logfile; data may not have been properly saved (Stale NFS file handle)
Aug 19 09:55:39 bla02 gconfd (user-6241): GConf server is not in use, shutting down.
Aug 19 09:55:39 bla02 gconfd (user-6241): Exiting
When I try to restart the NFS service on bla02 it will stop all but the NFS services:
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [FAILED]
I am at root level but there are multiple users using this machine. My engineer reported this was working until a couple of days ago. Any ideas or direction?
I should also add that I fixed the authentication problem on the first couple lines. Now it's just the bad NFS handle that needs to be resolved.. I think.. :-)
Last edited by sledwrecker; 08-21-2013 at 11:16 AM.
|
|
|
08-21-2013, 05:19 PM
|
#2
|
Member
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57
Rep: 
|
There are quite a few unknowns at this moment
-does some person/user currently using the share?
-does the system need to be recycled?
-what has changed from then to now?
Most of our stale handles happen when a resource is abruptly removed while still in use. We normally have to bounce the box or stop the networking somehow.
Hope that helps...
|
|
|
08-21-2013, 05:46 PM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,417
|
Any chance of using 'lsof' to see which resources are in use?
|
|
|
08-22-2013, 09:58 AM
|
#4
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep: 
|
Quote:
Originally Posted by Linux MR
There are quite a few unknowns at this moment
-does some person/user currently using the share?
-does the system need to be recycled?
-what has changed from then to now?
Most of our stale handles happen when a resource is abruptly removed while still in use. We normally have to bounce the box or stop the networking somehow.
Hope that helps...
|
-Currently the user is not using the share. He has been directed to use another server that gedit work on. On a side note, I can open gedit from my session without any issues. This definitly appears to be user related not global.
- I cannot recycle (assume you mean reboot) the machine. It is a server in our cluster farm. Rebooting is an absolute last resort with very high level of impact.
- Nothing has really changed. I think he possibly had a failure closing out gedit in his last session and now it's failing to open as a result.
Still stumped.
|
|
|
08-22-2013, 10:01 AM
|
#5
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep: 
|
Quote:
Originally Posted by unSpawn
Any chance of using 'lsof' to see which resources are in use?
|
Thanks for this, I found on redhat I have to launch it from /usr/sbin but it's there. Unfortunetly it does not list anything being used by this particular user. Very useful however I will be using this command a lot!
|
|
|
08-22-2013, 03:53 PM
|
#6
|
Member
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57
Rep: 
|
-You could always try to refresh the export table, or
-forcibly unmount(i don't think it will go down willingly) and then remount the file handle in question, or
-restart the network (which could have huge impacts)
|
|
|
08-22-2013, 03:55 PM
|
#7
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep: 
|
Quote:
Originally Posted by Linux MR
-You could always try to refresh the export table, or
-forcibly unmount(i don't think it will go down willingly) and then remount the file handle in question, or
-restart the network (which could have huge impacts)
|
- How would I forecebly unmount the file handle?
|
|
|
08-22-2013, 05:10 PM
|
#8
|
Member
Registered: May 2013
Location: Pacific North West
Distribution: Red Hat, Scientific, Fedora, openSuSE, Mageia, Mint, Arch
Posts: 57
Rep: 
|
For example
nfs on /my/nfs_export
Code:
# umount -f /my/nfs_export
# ###-->COMMENT:now checking to see if it's still mounted
# df -h
# mount -t nfs nfs_ip:/path/to/share /my/nfs_export
Hope that helps...
|
|
|
08-26-2013, 10:41 AM
|
#9
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep: 
|
Unfortunetly nothing I've tried has worked. I tried Linux MR's recommendation of unmounting the directory and re-mounting it. That also did not resolve the problem. I'm now waiting for downtime to reboot the blade.
|
|
|
08-28-2013, 02:39 PM
|
#10
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep: 
|
Got this resolved, one of my engineers is a linux genius
user@bla02 /home/user: ps -ef | grep user
root 10937 30061 0 14:19 ? 00:00:00 sshd: user [priv]
user 10942 10937 0 14:19 ? 00:00:00 sshd: user@pts/61
user 10943 10942 4 14:19 pts/61 00:00:00 -csh
user 11078 10943 0 14:20 pts/61 00:00:00 ps -ef
user 11079 10943 0 14:20 pts/61 00:00:00 grep user
user 13344 1 0 Jun24 ? 00:00:00 /usr/libexec/gam_server
user@bla02 /home/user: kill -9 13344
user@bla02 /home/user: ps -ef | grep user
root 10937 30061 0 14:19 ? 00:00:00 sshd: user [priv]
user 10942 10937 0 14:19 ? 00:00:00 sshd: user@pts/61
user 10943 10942 2 14:19 pts/61 00:00:00 -csh
user 11082 10943 0 14:20 pts/61 00:00:00 ps -ef
user 11083 10943 0 14:20 pts/61 00:00:00 grep user
user@bla02 /home/user: gedit
gedit now starts !
|
|
|
All times are GMT -5. The time now is 12:47 PM.
|
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
|
|