Operating System - HP-UX
1847165 Members
6348 Online
110263 Solutions
New Discussion

Re: checking user database failed at startup

 
SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

checking user database failed at startup

guys i have an hp-ux 11-31 server and at boot it gives error checking user database fail
what does this mean i am not familier with this is it a new feature in 11.31
5 REPLIES 5
Victor Fridyev
Honored Contributor

Re: checking user database failed at startup

Hi,

It looks like you have a wrong record in /etc/passwd or /etc/group files.
Run vipw and try to save the file after a small change. Vipw tests passwd file integrity.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Solution

Re: checking user database failed at startup

Sorry Victor, this is nothing to do with /etc/passwd . it indicates that the userdbck command found a problem in the files under /var/adm/userdb

You can see what problems it might have found by looking at the relevant section of /etc/rc.log for when /sbin/rc2.d/S225userdb was executed

You can see if there is still a problem by running:

userdbck
echo $?

If you are seeing a return code of 0 then userdbck fixed the userdb and you no llonger have a problem.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Andrew medhurst1
Frequent Advisor

Re: checking user database failed at startup

thanks for the answer.
tried userdbck and get following back#
userdbck not allowedx on a trusted system
is this user database a new feature.
regards
andrew
Andrew medhurst1
Frequent Advisor

Re: checking user database failed at startup

found problem old type of trusting so tsconvert -r and them pwconv to create shadow password file BUT and its a good one, root password has expired and it will not let me on or change the password, any ideas on this or is a reboot to single user the only way.
regards
andrew
Andrew medhurst1
Frequent Advisor

Re: checking user database failed at startup

all resolved had to put into single user mode and change.
done this and all ok