Consultor Eletrônico



Kbase P52476: How to determine what port the database was started on?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2003
Status: Unverified

GOAL:

How to determine what port the database was started on?

FIX:

To determine what Port if any the database was started check any of the following.

The "-S" parameter is specified on Startup of the database.

Depending how the database is started, will determine where the "-S" parameter resides.

1. If the database is started by a script then within the script file on the line that starts the database there should be an entry for the "-S" parameter.

2. If the database startup parameters are contained within a parameter files the then on the command to execute the startup of the database there should be a "-pf" parameter with a file referenced. The file referenced within the "filename.pf" will contain the value for the "-S" parameter.

3. If the database is started by a user, then the user who initiates the startup of the database should know the value of the "-S" parameter.

If you can not determine how the database is started, the value of the "-S" parameter is written to the database logfile. The database logfile is named "dbname.lg".

To determine if a database was started with a -S parameters, you can view the log file and look for a line similar to the following:

BROKER 0: Service Name (-S): ####. (4262)

If the database is not started with on a listening port the following entry will be in the logfile.

BROKER 0: Service Name (-S): Not Enabled. (4262)