How to enable server logging when using the SRVANY utility to create service
(Last modified: 31Jan2003)
This document (10079389) is provided subject to the disclaimer at the end of this document.
goal
How to enable server logging when using the SRVANY utility to create service
fact
Novell exteNd Application Server 3.7.4
fix
It is not possible to configure srvany in such a way that it will allow redirection of the exteNd Application Server console output when the exteNd Server is running as NT service. However, there is a solution to it.
1)Replace whatever value you have in the 'Application' value (Ex.:F:\silverstream372\bin\SilverServer.exe )in the NT Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AGServer\Parameters
with
c:\\winnt\\system32\\cmd.exe /c F:\silverstream372\bin\SilverServer.exe > c:\output.txt 2>&1
This will redirect the output to a file called output.txt
note
There is one drawback. By doing this one could stop the NT Service AGServer, but the 'orphaned' processes will not stop. This means that the exteNd Server processes ( server and monitor) and the eventual ASA processes, keep on running in the background. The thing to do here is to use another little gadget called KILL.exe ( also from the same NT Resource Kit) to really kill the orphaned processes.
document
Document Title: | How to enable server logging when using the SRVANY utility to create service |
Document ID: | 10079389 |
Solution ID: | NOVL86378 |
Creation Date: | 24Jan2003 |
Modified Date: | 31Jan2003 |
Novell Product Class: | exteNd |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.