version 1.25, 2001/08/20 05:57:55 |
version 1.26, 2001/08/27 02:57:07 |
|
|
to update the user database. |
to update the user database. |
.Sh DIAGNOSTICS |
.Sh DIAGNOSTICS |
.Bl -diag |
.Bl -diag |
.It "The passwd file is busy..." |
.It "Attempting lock password file, please wait or press ^C to abort" |
The password file is currently locked by another process, or a |
.Pp |
process previously holding the lock was prematurely terminated. |
The password file is currently locked by another process; |
To determine whether another process is holding the lock, the |
.Nm |
|
will keep trying to lock the password file until it succeeds or |
|
the user hits the interupt character (control-C by default). |
|
If |
|
.Nm |
|
is interrupted while trying to gain the lock any changes made will be lost. |
|
.Pp |
|
If the process holding the lock was prematurely terminated the lock |
|
file may be stale and |
|
.Nm |
|
will wait forever trying to lock the password file. |
|
To determine whether a live process is actually holding the lock, the |
admin may run the following: |
admin may run the following: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
fstat /etc/ptmp |
fstat /etc/ptmp |
|
|
.Pp |
.Pp |
If no process is listed, it is safe to remove the |
If no process is listed, it is safe to remove the |
.Pa /etc/ptmp |
.Pa /etc/ptmp |
file to get rid of this error. |
file to clear the error. |
.El |
.El |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
The |
The |