This can occur if you replace a hard drive and incorrectly reinstall the Identity Server. See Uninstalling Components in the NetIQ Access Manager 4.0 SP1 Installation Guide for the correct procedure.
Uninstalling Components