ambkup error: User has Insufficient Rights to perform the backup

  • 7008584
  • 16-May-2011
  • 26-Apr-2012

Environment

Novell Access Manager 3.1 Administration Console
Novell Access Manager 3.1 Support Pack 3 applied
Admin Console running on Linux platform (although issue possible with Windows based platform too)

Situation

Trying to perform an Access Manager system backup by running the ambkup.sh script from /opt/novell/devman/bin/ directory but administrator reported following error:

**** Error *************** Error *************** Error ****
 
AM#201001002: Failed data encryption of backed up data.
 
Options Used:
 -SLDAP -L ca.der -s192.168.30.170 -p636 -dcn=admin,o=novell -F bjectclass=* -c ub -b   u=accessManagerContainer,o=novell -D
LDIF -f/root/nambkup/ids001_20110516_1546_pre
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
**** Error *************** Error *************** Error ****
AM#201001002: Failed data encryption of backed up data.

Identifying the message that the application "could not reserve enough space for the heap size", administrator modified the ambkup.sh script (increasing the -Xmx 1024 allocation to 2048) and re-ran the installation. This may be required in environments where there is a large configuration and the number of objects to be backed up in the configuration store is very large.

This time, running the ambkup.sh script gave the following error:

**** Error *************** Error *************** Error ****
 
AM#201001004: User has Insufficient Rights to perform the backup.
 
- - - - - - - - - - - Performing back up - - - - - - - - - - -
Mon May 16 16:06:57 JST 2011
- - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - -
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
**** Error *************** Error *************** Error ****
AM#201001004: User has Insufficient Rights to perform the backup.


Resolution

Increase the amount of memory on the Admin Console to 2GB or greater. Novell recommends that the Admin Console has 4GB of RAM and 2GB is the minimum. With 2GB allocated, java heap was able to gather enough info to perform the backup successfully.