Environment
Novell Access Manager 3.1 Linux based Access Gateway Service (AGS)
AGS running on SLES 11 SP1 x86-64
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.
- 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.