Howto enable coredumps on a Linux Access Gateway Service host

  • 7009446
  • 28-Sep-2011
  • 26-Apr-2012

Environment

Novell Access Manager 3.1 Linux based Access Gateway Service (AGS)
AGS running on SLES 11 SP1 x86-64

Situation

Access Manager setup and running fine. The AccessGateway Service (AGS) server is protecting Web servers. Occassionally (one a week), one of the AGS servers appears to crash. The /var/log/novell-apache2/error_log file will indicate that the server crashed, but no core file seems to be generated.

Resolution

To enable coredumping on the Linux based AGS servers, we need to do the following::

- remove any ulimit settings via the 'ulimit -c unlimited' command
- modify /var/opt/novell/tomcat5/webapps/agm/WEB-INF/config/apache2/DebugSettings.conf file and
    - remove the default line "CoreDumpDirectory /var/cache/novell-apache2/" and make sure to add it to the end of the same file.
- restart the novell-apache2 and novell-tomcat5 services on the host

When a crash occurs, the core will be available in the
/var/cache/novell-apache2/ directory.