- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gid for a user is not picking from /etc/group file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:29 AM
09-06-2005 12:29 AM
There was a user whose uid is 101(oracle)and gid is 103(dba) . The group entry dba gone missing in /etc/group file. I have created a dba group again with same gid(103) and added oracle user in to the group. When I give the command 'id oracle' as root user it gives the output correctly as 'uid=101(oracle) gid=103(dba)' . where as when I login as oracle and give id command it says 'uid=101(oracle) gid=103()'. It doesn't recognize group name 'dba'. I appreciate, if some could help me out ASAP - I am not able to start Oracle database due to this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:31 AM
09-06-2005 12:31 AM
Re: gid for a user is not picking from /etc/group file
grpck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:33 AM
09-06-2005 12:33 AM
Re: gid for a user is not picking from /etc/group file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:38 AM
09-06-2005 12:38 AM
Re: gid for a user is not picking from /etc/group file
Is anyone by chance making a Golden Ignite Image of this system? If this is the case, the /etc/passwd and /etc/group file are temporarily modified during this process.
They can be messed up for several hours depending on the size of the system being imaged.
Its not a good idea to make a Golden Image of a system while the database is running, or if you need to run the database.
ps -ef | make_sys
Might pick up the Golden image being made.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:44 AM
09-06-2005 12:44 AM
Re: gid for a user is not picking from /etc/group file
Here is the output of pwck & grpck
# pwck
ragboddu:dhddhd:116:20::/home/ragboddu:/usr/bin/sh
Login directory not found
sanjeev1:ddhdh:117:20::/home/sanjeev1:/usr/bin/sh
Login directory not found
vkuntamu:dhdhd:118:20::/home/vkuntamu:/usr/bin/sh
Login directory not found
# grpck
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:47 AM
09-06-2005 12:47 AM
Re: gid for a user is not picking from /etc/group file
is your login as oracle performed on the server itself?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:50 AM
09-06-2005 12:50 AM
Re: gid for a user is not picking from /etc/group file
nsquery group dba
Does it report any errors??
Check perms on following files.
/etc/passwd
/etc/group
/etc/nsswitch.conf.
At least read perms for group and others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:55 AM
09-06-2005 12:55 AM
Re: gid for a user is not picking from /etc/group file
The permission of /etc/group was -r--r--
I changed to -r--r--r. It works fine.
thanks for all who contributed.