If the server runs for a while, then disappears:
Check log files for errors. See “Logging” for details.
On UNIX, check to see if a core file was generated. On Windows, check for a .log or .dbg file.
Check the jagsrv console for errors.
If there are no errors, restart the server to capture information next time.
Start the server from the command line, and redirect the output:
UNIX:
serverstart.sh > err.out 2>&1
Windows:
serverstart.bat >info.out 2 >err.out
On Windows, set the crash handler to userdmp.exe instead of Dr. Watson. See Chapter 6, “Advanced Topics,” for more on debugging tools.
Try the debug server.
Implement a service component to periodically write information to the server log.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |