Knowledgebase

Knowledgebase ID# :: 3205

How to Establish the Sybase Log for Serena Collage

subject: configuration
product: Serena Collage version: ALL

If you have installed Serena Collage for use with Sybase as the database repository, edit the collage.bat or collage.sh file [depending on the Operating System for the Collage Application server].

For collage.bat files:

:SYBASE_START
    start dbsrv8 -gd all -n %INSTALLATIONNAME% -gp 4096 -cl %SYBASE_MIN_MEMORY% -ch %SYBASE_MAX_MEMORY% -ti %SYBASE_TIMEOUT% -x tcpip(ServerPort=%SYBASE_PORT%)
    goto END

can be set to

:SYBASE_START
    start dbsrv8 -gd all -n %INSTALLATIONNAME% -gp 4096 -cl %SYBASE_MIN_MEMORY% -ch %SYBASE_MAX_MEMORY% -ti %SYBASE_TIMEOUT% -x tcpip(ServerPort=%SYBASE_PORT%) -o "<Drive:\<Directory>\Collage\sybaselog.txt"
    goto END

For collage.sh files:

case $1 in 
    sybase-startservice | sybase-start)
        cd ${COLLAGE_HOME}/sql
        ../sybase/bin/dbsrv8 -gd all -n $INSTALLATIONNAME -gp 4096 -cl $SYBASE_MIN_MEMORY -x 'tcpip(ServerPort=2638)' -ud -ti $SYBASE_TIMEOUT -o /opt/collage/sybaselog.txt


related information:

For Windows installations, Double Quotes must surround the location of the sybaselog file.  For example, the following value is a legitimate value.

"D:\servers\serena\collage\logs\sybaselog.txt"