on 10-05-2015 10:05 PM
Hi folks,
I can only run the command startsap from /sapmnt/<SID>/exe or /usr/sap/<SID>/SYS/exe run as <sid>adm.
If I try to run the command from /tmp or /, for instance ..., nothing happens.
I checked the environment variables and the path and libpath variables have the /sapmnt/<SID>/exe or /usr/sap/<SID>/SYS/exe setup.
Has anyone faced that before?
Thanks a lot,
M'a
Thank you all.
The issue was related to the environment file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you share env variables for user <sid>adm to check for the value of PATH variable ? Please follow steps below to share the result.
su - <sid>adm
> env
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
What do you mean by "nothing happens"? You mean that the instance does not start?
Or your operating system returns something like "command not found"?
Maybe posting a screenshot could help .
In addition, when you are at /sapmnt/<SID>/exe, for example, do you execute "./startsap" or just "startsap"?
Regards,
Isaías
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marilia,
The issue is with your environment do check .sapenv.csh and .dbenv.csh files for the paths of your exe directories.
Also does your user have a .profile in /home/<SID>adm.
You may need to revisit the enviroment how its setup and default shell for the user.
try to run csh command and then run stopsap or startsap command and update us.
And do confirm the contents of the /usr/sap/sapservices file.
Regards,
Ram
OK.....
But what is the output from the command below?
which startsap
==> that is the complete command... "which <command>" will show from where the <command> will be executed
==> for example, you have the startsap at the /sapmnt/... and at the /usr/sap/... folder structures
executing "which startsap" will show from which startsap ( ) command will be used (from /sapmnt or from /usr/sap)
------------
so, what is the output from "which startsap" when executed from /tmp and /sapmnt/<SID>/exe?
It should return the same result...
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.