Environment
Novell GroupWise 8
Novell GroupWise 7
Novell GroupWise Post Office Agent
Situation
This is the most reliable way to get a coredump of an active POA.
This process should be used when a coredump needs to be forced to view the current active threads, not to capture an application crash.
Resolution
Step 1. From a terminal, type in:
ulimit -c unlimited
Step 2. Find out the process id of the poa either using ps or look into poa's http console
(ps -eaf | grep gwpoa)
Step 3. Run as root, then type "gdb gwpoa" and inside the gdb type "attach < the process id>
Step 4. type "generate-core-file"
A corefile named core.<pid> will be generated.
If you want to resume the POA running you can type in "detach" and then "quit" to exit gdb.
It should be found in either the directory that you were in when the gdb command was executed, in the /opt/novell/groupwise/agents/bin directory, or in the / directory.
Step 5. You will need to get the version of the POA that you are running. You can get this by running:
ll /opt/novell/groupwise/agents/bin/gwpoa