Consultor Eletrônico



Kbase 18183: Errors 1890 & 1451 occur when environment variable ORASRV is not set
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/02/2005
Status: Verified

FACT(s) (Environment):

Oracle DataServer

SYMPTOM(s):

Unable to connect ORACLE db

BROKER: Could not spawn a server. (1890)

Failed to connect to ORACLE database . (1451)

Disconnected from server because database name was incorrect. (437)

Using DataServer Broker

CAUSE:

Environment variable ORASRV is not set or is incorrect.

The _probrkr executable starts the broker which spawns the DataServer process, the _orasrv. Unless you set ORASRV to point to another DataServer executable, the broker starts the default DataServer executable which resides within %DLC%\bin directory ($DLC/bin).

This variable is especially important when working with multiple versions of Progress. When the broker is started, it knows which _orasrv process to start.

FIX:

1. Set ORASRV variable to the DataServer process.

UNIX
ORASRV=$DLC/bin/_orasrv

Windows
set ORASRV=%DLC%\bin\_orasrv.exe

**Set this environment variable can be set at the system level and/or in the same session where the DataServer Broker is started.

2. Start _probrkr
_probrkr -S service -N tcp -H hostname