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

Shared Memory Segment Key Already Exists (Windows only)


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.


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_*.