on 2018 Jun 20 7:08 AM
Hello ,
I'am trying to install SAPROUTER on a standalone linux server , before contacting SAP to register new SAPROUTER i want to make sure that SAP commands are executable .
I have successfully set the user environment variables :
SECUDIR="/usr/sap/saprouter"
LD_LIBRARY_PATH="/usr/sap/saprouter"
SNC_LIB="/usr/sap/saprouter/libsapcrypto.so"
i'm trying to use SAP commands such as SAPGENSE but the O.S still can't identify theses commands .
Please inform me how to add SAP commands to user shells in linux .
Hello Omar,
the commands are looked up based on the PATH environment variable. If you want to execute the saprouter (and related commands) without a full path, you need to add their location to the PATH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you would need to add the /usr/sap/saprouter to the PATH variable.
You can do it in bash (with the .bash_profile) as:
export PATH=$PATH:/usr/sap/saprouter
Alright Adam , i exported the PATH exactly as you wrote and rebooted the system , but still system cannot identify SAP commands here is the output of .bash_profile file inform me if there is any syntax errors or missing items :
# .bash_profile #
Get the aliases and functions
if [ -f ~/.bashrc ]; then . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH=$PATH:/usr/sap/saprouter
User | Count |
---|---|
61 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.