| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-08-2011, 08:36 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2009
Posts: 23
Rep:
|
NFS user ID problem
Hello,
I upgraded from Debian Squeeze to Ubuntu 11.04. I did a fresh install and transferred the user information from the old system to the new system (/etc/passwd, /etc/shadow).
If I ssh into the server and run ls -l I get the following.
total 19512
drwxr-xr-x 8 vielmaj users 928 2011-07-31 16:55 BaTiO3
drwxr-xr-x 3 vielmaj users 120 2011-06-22 17:36 BiFeO3
drwxr-xr-x 2 vielmaj users 568 2011-07-28 08:36 bin
drwxr-xr-x 9 vielmaj users 312 2011-06-22 17:38 BTO
drwxr-xr-x 6 vielmaj users 160 2011-04-01 14:24 BTOFit
If I ssh into a client and run ls -l I get this
total 19512
drwxr-xr-x 8 4294967294 4294967294 928 2011-07-31 16:55 BaTiO3
drwxr-xr-x 3 4294967294 4294967294 120 2011-06-22 17:36 BiFeO3
drwxr-xr-x 2 4294967294 4294967294 568 2011-07-28 08:36 bin
drwxr-xr-x 9 4294967294 4294967294 312 2011-06-22 17:38 BTO
drwxr-xr-x 6 4294967294 4294967294 160 2011-04-01 14:24 BTOFit
I am not sure where to begin.
Thanks,
Jason
|
|
|
|
08-08-2011, 09:06 PM
|
#2
|
|
Member
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 97
Rep:
|
Probably the first thing to try is changing the owner of files like this:
Code:
(as root):
chown -R vielmaj:users /whatever_directory/
where -R means recursive (it will change all files and directories under the parent).
But since the groups are showing up 2^32-2 makes me think that the chown may not work. Try it out and post what happens.
--Shaun
|
|
|
|
08-08-2011, 09:46 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2009
Posts: 23
Original Poster
Rep:
|
I have tried that on the client machine. I get the following for all the files.
chown: changing ownership of `BTO/GGA_Database/RhomDisp/Fit198': Invalid argument
|
|
|
|
08-09-2011, 06:29 AM
|
#4
|
|
Member
Registered: Nov 2008
Location: UK
Distribution: RHEL, Fedora
Posts: 68
Rep:
|
Did you upgrade the client or the server?
What kind of authentication are you using to map the UIDs and GIDs - NIS/LDAP/Kerberos ?
|
|
|
|
08-09-2011, 07:55 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Rep:
|
Did you switch from debian to ubunto on the server or on the client?!
Looks like the client uids/gids are different than on the server.
|
|
|
|
08-09-2011, 10:14 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2009
Posts: 23
Original Poster
Rep:
|
I upgraded both the client and the server. I am using NIS.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:08 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
|
|