Hello again.
Amazing. I had two responses before I had sent the question (well, almost
;-)
My original question was:
>I have a v4.0d system with patck kit 2 applied, recently upgraded from
>3.2g (via 4.0a). Everything works OK except that when I try run the
>dxaccounts utility or the useradd program, they die with exit status 1
>and this error:
>
>The password and group files are currently locked by another user.
>Please try again later.
>
>I have searched for old lock files, but can't find any. I have also tried
>to reboot the system, but the problem persists. I have already run the
>convauth utility, and the edauth utility works well, as does vipw.
>
>Any hints? Thanks in advance,
The solution was to remove the file /etc/.AM_is_running. Now everythings
works beautifully. Thanks to Martin Mokrejs and Martin Moore for their
quick responses, and to anyone whose message hasn't arrived yet. Here are
their responses:
===================================================================
Date: Mon, 7 Sep 1998 15:16:27 +0200 (MET DST)
From: Martin Mokrejs <mmokrejs_at_natur.cuni.cz>
To: "Pedro J. Lobo" <pjlobo_at_euitt.upm.es>
Subject: Re: Can't add new user
On Mon, 7 Sep 1998, Pedro J. Lobo wrote:
> Hi, admins.
>
> I have a v4.0d system with patck kit 2 applied, recently upgraded from
> 3.2g (via 4.0a). Everything works OK except that when I try run the
> dxaccounts utility or the useradd program, they die with exit status 1 and
> this error:
>
> The password and group files are currently locked by another user.
> Please try again later.
This bug was fixed with some patch on 4.0B. It should be OK on 4.0D, so you
probably don't have all patches installed!
Anyway, do:
rm /etc/.AM*
and run dxaccounts ;-)
>
> Any hints? Thanks in advance,
>
> Pedro J. Lobo
>
> -------------------------------------------------------------------
> Pedro José Lobo Perea Tel: +34 91 336 78 19
> Centro de Cálculo Fax: +34 91 331 92 29
> EUIT Telecomunicación - UPM e-mail: pjlobo_at_euitt.upm.es
>
>
-------------------------------------------------------------------------
| Martin MOKREJS - Net&SysAdmin |
| PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs |
| mmokrejs_at_natur.cuni.cz Faculty of Science, The Charles University |
| tel.: +420-2-2195 2315 Albertov 6, PRAGUE 2, 128 43, Czech Republic |
-------------------------------------------------------------------------
====================================================================
Date: Mon, 7 Sep 1998 09:16:49 -0400 (EDT)
From: Martin Moore <martin_at_decatl.alf.dec.com>
To: "Pedro J. Lobo" <pjlobo_at_euitt.upm.es>
Cc: martin_at_decatl.alf.dec.com
Subject: Re: Can't add new user
Look for /etc/.AM_is_running and remove it if there.
--
Martin J. Moore 5555 Windward Parkway West
Digital UNIX Expert Team Alpharetta GA 30004-7407
Customer Services Division +1-800-354-9000 x31679
Compaq Computer Corporation mailto: martin_at_alf.dec.com
====================================================================
Pedro J. Lobo
-------------------------------------------------------------------
Pedro José Lobo Perea Tel: +34 91 336 78 19
Centro de Cálculo Fax: +34 91 331 92 29
EUIT Telecomunicación - UPM e-mail: pjlobo_at_euitt.upm.es
Received on Mon Sep 07 1998 - 14:12:25 NZST