Troubleshooting HP-UX IPSec

Troubleshooting Scenarios

Symptoms

The ipsec_admin -startcommand fails. The ipsec_admin utility returns one of the following messages:

IPSEC_ADMIN: Failed to read IPSec admin file, error: %nn.

Did you set the password with -np?

IPSEC_ADMIN: Failed to open IPSec admin file, error: %nn.

Did you set the password with -np?

IPSEC_ADMIN: ERROR-read_admin_info(): Failed to verify ipsec

password.

IPSEC_ADMIN: ERROR-reads a DB config which is invalid

IPSEC_ADMIN: ERROR-Configuration database open failed:

reason

Solution

If ipsec_admin returns the message Failed to read IPSec admin

file, error: %nn. Did you set the password with -np? or the

message Failed to open IPSec admin file, error: %nn. Did you

set the password with -np?and you have not yet set the HP-UX IPSec password, set the password using the command ipsec_admin -newpasswdor ipsec_admin -np. Verify that the file /var/adm/ipsec/.admin_info exists. If this file not exist, restore it or use the procedure described in the section “Re-establishing the HP-UX IPSec Password” on page 55 to re-establish the password

If ipsec_admin returns the message read_admin_info(): Failed to verify ipsec password, verify that the file /var/adm/ipsec/.admin_info exists. If this file does not exist, restore it or use the procedure described in the section “Re-establishing the HP-UX IPSec Password” on page 55 to re-establish the password.

If ipsec_admin returns the message reads a DB config which is invalid or Configuration database open failed, see the following section, Corrupt or Missing Configuration Database, for more information.

182

Chapter 5