HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot obtain lock for /etc/ptmp
Operating System - HP-UX
1833796
Members
5159
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-27-2006 01:38 AM
11-27-2006 01:38 AM
Cannot obtain lock for /etc/ptmp
When I attempt to change a passwdord via passwd or vipw I get the errors:
lockf: Lockf deadlock detection
vipw: Cannot obtain lock for /etc/ptmp
There is no file /etc/ptmp.
When I touch this file and then try a vipw I get:
lckpwdf: No such file or directory
vipw: Cannot obtain lock for /etc/.pwd.lock
There is no file /etc/.pwd.lock
If I then touch that file and try vipw again I get:
vipw: temporary file busy; try again later
Right now no one can change passwords. What can I try?
lockf: Lockf deadlock detection
vipw: Cannot obtain lock for /etc/ptmp
There is no file /etc/ptmp.
When I touch this file and then try a vipw I get:
lckpwdf: No such file or directory
vipw: Cannot obtain lock for /etc/.pwd.lock
There is no file /etc/.pwd.lock
If I then touch that file and try vipw again I get:
vipw: temporary file busy; try again later
Right now no one can change passwords. What can I try?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 02:23 AM
11-27-2006 02:23 AM
Re: Cannot obtain lock for /etc/ptmp
Mike,
have you tested with lsof as it suggest in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=84458
What were your results ?
Did this answer fix the problem ?
have you tested with lsof as it suggest in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=84458
What were your results ?
Did this answer fix the problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 06:15 AM
11-27-2006 06:15 AM
Re: Cannot obtain lock for /etc/ptmp
I found this in the newsgroups:
The system wide lock table is full - it holds about 200 locks by
default; but you can up its size by changing the HP-UX kernel configurable
parameter 'nflocks'.
Your table could be too small for the number of processes running that
need to use file locks. Or a single process could be misbehaving; by
grabbing all available locks ... I've seen a buggy version of the HP
network lock daemon cause this problem
What version of HP-UX are you running?
The system wide lock table is full - it holds about 200 locks by
default; but you can up its size by changing the HP-UX kernel configurable
parameter 'nflocks'.
Your table could be too small for the number of processes running that
need to use file locks. Or a single process could be misbehaving; by
grabbing all available locks ... I've seen a buggy version of the HP
network lock daemon cause this problem
What version of HP-UX are you running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 11:54 PM
11-27-2006 11:54 PM
Re: Cannot obtain lock for /etc/ptmp
Peter-- I ran lsof and no processes had the passwd file open.
Coolmar-- I am running Hp-UX v11.
Note-- the problem went away yesterday afternoon, but it is back again now.
Coolmar-- I am running Hp-UX v11.
Note-- the problem went away yesterday afternoon, but it is back again now.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP