Operating System - HP-UX
1827801 Members
2381 Online
109969 Solutions
New Discussion

userdb fails after upgrade to 11iv3

 
SOLVED
Go to solution
Scott Larocque_1
Occasional Advisor

userdb fails after upgrade to 11iv3

Hello,

After upgrading from 11.23 to 11.31, I have the following error in rc.log:

Checking user database
Output from "/sbin/rc2.d/S225userdb start":
----------------------------
userdbck: not allowed on a Trusted System
EXIT CODE: 2
"/sbin/rc2.d/S225userdb start" FAILED

How can I clean this error up?

Any help would be appreciated.

Scottl
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: userdb fails after upgrade to 11iv3

At the moment there is no solution for this. The only workaround is to disable this checking when server boot.

regards,
ivan
Scott Larocque_1
Occasional Advisor

Re: userdb fails after upgrade to 11iv3

What would be the cleanest way to disable it? Don't see a switch in rc.config.d for it.
Ivan Krastev
Honored Contributor
Solution

Re: userdb fails after upgrade to 11iv3

Just put on second line in script - exit 0

regards,
ivan
James R. Ferguson
Acclaimed Contributor

Re: userdb fails after upgrade to 11iv3

Hi Scott:

Look in '/sbin/init.d/userdb'. There should be a variable that (if not set to one) will disable this startup. I don't have an 11.31 system to examine. There should be a file in '/etc/rc.config.d/' that defines this variable. If truly not, then simply remove the 'rc2.d' symbolic link and its (hopefully) 'rc1.d' link too. This will prevent startup and shutdown respectively.

Regards!

...JRF...
Scott Larocque_1
Occasional Advisor

Re: userdb fails after upgrade to 11iv3

Thanks Ivan, that did the trick.

James, There is nothing in the script that references rc.config.d.

Thanks for all the help,

Scottl
James R. Ferguson
Acclaimed Contributor

Re: userdb fails after upgrade to 11iv3

Hi (again) Scott:

> James, There is nothing in the script that references rc.config.d.

There wouldn't be a direct reference to this directory; only a reference to a *variable* defined in a *file* in the *directory*.

You should read the manpages for 'rc' and 'rc.config' to understand the startup/shutdown paradigm:

http://docs.hp.com/en/B3921-60631/rc.1M.html

http://docs.hp.com/en/B3921-60631/rc.config.4.html

Regards!

...JRF...