Consultor Eletrônico



Kbase P187860: Running script on a remote server using SSH to roll forward ai on the target database gives _dbutil
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/20/2011
Status: Unverified

SYMPTOM(s):

Running script on a remote server using SSH to roll forward ai on the target database gives _dbutil was not found

rfutil:_dbutil was not found

If the script is run on the target database server by a user, it works fine

FACT(s) (Environment):

UNIX
OpenEdge 10.x

CAUSE:

The progress environment variable $DLC is not set and the $DLC/bin is not appended to the $PATH at the beginning of the script.

The reason why users running the script on the local server works fine may be because when users login into the target database server the $DLC is set within their user profile, so it is automatically set. Therefore running the script on the local server works fine.

FIX:

Set the $DLC and append the $DLC/bin to the $PATH and export those two variables.

Example:

export DLC=/<path to progress installation directory>
export PATH=$DLC/bin:$PATH