Skip to main content
Solved

Linux: How to set environment variables that the FME Engine will see

  • December 2, 2016
  • 1 reply
  • 147 views

fmelizard
Safer
Forum|alt.badge.img+20

I'm trying to set ORACLE_HOME for FME Server on Linux, but the FME Engine is not seeing it. I fetch it and print it in a workspace, but it's set to a value I definitely didn't set:

/opt2/oracle8i/app/oracle/product/8.1.6

How can I set ORACLE_HOME for the FME Engine?

Best answer by fmelizard

On Linux, the FME Server processes are run by the user fmeserver. It's possible that you could set that fmeserver user's environment variables in some way. An alternative way that worked for me was to update the startEngines.sh script to include the following:

ORACLE_HOME=/something/that/I/want 
export ORACLE_HOME

Here is a screenshot of the change I made and a log file from FME Server showing the value it sees. They are the same :-)

0684Q00000ArKmkQAF.png

The other value you saw is set by the FME Engine if ORACLE_HOME is not already set.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

fmelizard
Safer
Forum|alt.badge.img+20
  • Author
  • Safer
  • 3719 replies
  • Best Answer
  • December 2, 2016

On Linux, the FME Server processes are run by the user fmeserver. It's possible that you could set that fmeserver user's environment variables in some way. An alternative way that worked for me was to update the startEngines.sh script to include the following:

ORACLE_HOME=/something/that/I/want 
export ORACLE_HOME

Here is a screenshot of the change I made and a log file from FME Server showing the value it sees. They are the same :-)

0684Q00000ArKmkQAF.png

The other value you saw is set by the FME Engine if ORACLE_HOME is not already set.