Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: HADB Administration Problems
- Next: Failure in configure-ha-cluster

# Shared Memory Segment Key Already Exists (Windows only)

## Description

The `hadbm` process returns the following error:

    HADB-S-05515: Shared memory segment with key "NNNNN" exists already

This can happen during HADB instance creation following a controlled stop without deleting a previously created instance that is using the same portbase. The problem may also be the result of a failed HADB instance deletion for any reason.

## Solution

Delete all stopped `hadb` instances to make sure all HADB resources are free before attempting to reuse them.

If the problem persists, manually remove the HADB Shared Memory segments by deleting the HADB files in `$TMP/f_*`.

- Previous: HADB Administration Problems
- Next: Failure in configure-ha-cluster

- © 2010, Oracle Corporation and/or its affiliates