- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Creating new group
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
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
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
тАО04-28-2004 05:11 AM
тАО04-28-2004 05:11 AM
Creating new group
/etc/passwd File Busy --- try again.
Any ideas.
Thanks in advance for your help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:14 AM
тАО04-28-2004 05:14 AM
Re: Creating new group
as root :
fuser -fu /etc/passwd
or use lsof if you have it installed on your server
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:14 AM
тАО04-28-2004 05:14 AM
Re: Creating new group
# fuser /etc/passwd
This will tell you which process ID is accessing the file.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:19 AM
тАО04-28-2004 05:19 AM
Re: Creating new group
changing content of passwd file i.e.
ps -ef | grep passwd
ps -ef | grep vipw
or is another SAM Session running elsewhere?
2. If you cannot find anything check if the file /etc/ptmp is existing.
Tis file is used in HP-UX to block the password file for exclusive usage.
3. If you are sure nobody else ir realy using your password file.
rm /etc/ptmp
and try to create your group again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:31 AM
тАО04-28-2004 05:31 AM
Re: Creating new group
The file /etc/ptmp does not exits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:33 AM
тАО04-28-2004 05:33 AM
Re: Creating new group
post the result and we'll see if we can kill it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 06:14 AM
тАО04-28-2004 06:14 AM
Re: Creating new group
root 1155 1 0 Apr 15 ? 0:19 /usr/sbin/pwgrd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 06:24 AM
тАО04-28-2004 06:24 AM
Re: Creating new group
That is the passwd caching deamon.
You could try a:
# kill -HUP 1155
and try again.
Or just kill the process.
you can always restart it as root:
#/usr/sbin/pwgrd
You could check the patch database for some patches.
http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.pdb|patch.breadcrumb.search|&patchid=PHCO_28007&context=hpux:800:11:11
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 10:24 AM
тАО04-28-2004 10:24 AM
Re: Creating new group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 03:23 PM
тАО04-28-2004 03:23 PM
Re: Creating new group
1) Exit all the way out of SAM and check for other SAM processes running (ps -ef |grep -i sam). If SAM processes are running, check to see who it is that is running this or kill the process(es).
2) If no SAM processes were running you may want to reboot ... this would be the cleanest way of removing the file lock rather than killing processes at random.
3) If you don't HAVE to use SAM, or if the problem still persists, try using the command line to create your new group. Look up the syntax and options for "groupadd" and see if you can create the group from the command line (you can specify the group name, the GID, etc. all at the command line just as you can through SAM).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:48 AM
тАО04-29-2004 12:48 AM
Re: Creating new group
I did create it, and now I am able to create user groups using SAM.
Thanks all for your help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2004 03:35 PM
тАО05-18-2004 03:35 PM
Re: Creating new group
I assume this is your first experience on the ITRC forum as you did not award points to the forumers for the answers you were provided. May I suggest that you take a look at the following link to learn about the points system in use here. Thanks.
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Please read the article, assess the assistance you were provided by the forumers, then reward them. Thanks!