How to start sap on linux while booting?
Hi all,
I want to start and stop SAP automatically when the system starts or is stopped.
In earlier Suse (SLES 9) releases there was a script sapr3 in /etc/init.d which could be used for it, when the file /etc/sysconfig/sapr3 was filled correctly.
In newer releases (SLES 10) there is no such script (besides boot.sapconf, which is uesd to set the sap parameters).
Does anybody know how to start and stop sap systems using the init.d mechanism?
Thank you for you help.
Best regards
Christian
I do understand, that the function does no longer exist. But how to "create your own".
If I were to create one I'd use something along the following lines...
#! /bin/sh
# SAP startup script - sapstart
# chkconfig sapstart on - to enable on startup
# Replace SAPEXE,ADMUSR and SLOG below with correct values
### BEGIN INIT INFO
# Provides: sapstart
# Required-Start: $network $syslog $remote_fs $time
# X-UnitedLinux-Should-Start:
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Start SAP
# Description: Startup of SAP
### END INIT INFO
. /etc/rc.status
PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
SAPEXE=/sapmnt/DEV/exe
ADMUSR=devadm
SLOG=/var/log/saplog
SHELL=/bin/csh
# Reset status of this service
rc_reset
case "$1" in
start)
echo -n "Starting SAP.. "
su -s $SHELL -l $ADMUSR -c $SAPEXE/startsap >> $SLOG &
# Remember status and be verbose
rc_status -v
stop)
echo -n "Please ensure SAP is cleanly shutdown before rebooting!.. "
# Remember status and be verbose
rc_status -v
echo "Usage: $0 {start|stop}"
exit 1
esac
rc_exit
I deliberately left out 'stop' for obvious reasons, don't forget to create the log file.
Untested so use at your own risk !
Nelis
Similar Messages
-
hi all,
how do i start maxdb on linux.
very urgent,
thanks and regardsHi,
maybe you are looking for a start/stop script for linux. An example can you find here (online docu for 7.6):
http://maxdb.sap.com/doc/7_6/41/79751b1a361036e10000000a114cbd/content.htm
(Basic Information -> Concepts of the Database System -> Creating and Configuring a Database Instance -> Automatic Start)
Regards,
Thomas -
How to start TOOLSProcessManager in linux R12
Hi,
We are using Oracle Apps R12 windows and Linux.
i have start in windows OracleSIT_sitartha_TOOLSProcessManager from services.msc
but how to start in linux ?
i have check in linux
[applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl status
Processes in Instance: APPS_C_HOME.ap6004bld.us.oracle.com
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
WebCache | WebCache | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
OC4J | home | 14760 | Alive
I need start HTTP_Server only (forms Home 10.1.2)
Regds
Murali.Ri have start TOOLSProcessManager bellow the error
[applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=r12.apps.com:6001
1 of 4 processes started.
ias-instance id=APPS_C_HOME.ap6004bld.us.oracle.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=6947)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
WebCache/WebCache/WebCache
Error
--> Process (pid=6955)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCache~1
ias-component/process-type/process-set:
WebCache/WebCacheAdmin/WebCacheAdmin
Error
--> Process (pid=6939)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCacheAdmin~1 -
How to start RMAN in linux env?
Hi Gurus,
I am new to RMAN and trying to start RMAN in linux as follows.
$rman
when i am giving rman command ,nothing is comming..the cursor is blinking.
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME=$ORACLE_BASE/dbs
export PATH=$PATH:$ORACLE_HOME/bin
===========================
and rman executable is available in $ORACLE_HOME/bin.
$ cd $ORACLE_HOME/bin
$ pwd
/u01/app/oracle/dbs/bin
$ ls -ltr rman*
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rmanO
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rman
$
Please suggest me how to resolve this problem.
Regards
Nagendra.Nagendra2 wrote:
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME={color:#ff0000}$ORACLE_BASE/dbs{color}
export PATH=$PATH:$ORACLE_HOME/bin
===========================
I beleive your "ORACLE_HOME" is incorrect!
This may work better:
export ORACLE_SID=test
ORAENV_ASK=NO
. /usr/local/bin/oraenv
ORAENV_ASK=YES
The above will set your environment variables correctly.
:p -
Don't know how to start db on linux
Hi, I need some tips on how to config tnsnames.ora, listener file. Don't know what the command to run Oracle Net Assistant to config the above files. Please help.
Are there any web site teach how to start up & shutdown db on linux.
I have installed oracel 9i on redhat 7.3.
RegardsHi,
Please post your query at
Generic Linux
Regards,
Anupama -
How to start SAP and oracle on SUN SOLARIS SYSTEM
hi.
Please suggest
(Mistakenly we restarted the server when SAP is on and now SAP is not starting)
1. How to start the SAP ECC6 in sun Solaris.(version 10)
2.How to start the oracle in sun Solaris (version 10)
We are trying with
sh startsap SID
but it showing SAP SYSTEM NAME NOT FOUND
Please suggest'
Regards,Dear Ravindra,
First start oracle :
login as orasid and login to sqlplus "/as sysdba"
and then startup and make sure that listener is up and running.
For that you can lsnrctl status, if its not started just do lsnrctl start.
After that login as sidadm and then startsap R3
If still if you face any error like system name not found.
then try as startsap R3 <hostname> or startsap SID <hostname>
Defenitely it will resolves your issue.
Thanks
Kishore -
My Black Berry Z10 is not starting- Stuck at logo while booting..
My mobile BBZ10 STL-100 is stuk at logo while booting. Its not completing the process to open/on the mobile.
Is there any way to fix this issue?
Can any of you help me, how to resolve this issue.
Thanks in Advance.You can try loading the OS again, using
Upgrading OS10 devices using Autoloader
You will need to know the exact model STL100-x , found on the white sticker under your battery.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to start WebLogic in Linux?
Could you tell me how to start WebLogic 5.1 in KDE?
Best Regards,You need to open up a terminal session (Try xterm).
Change the directory to wherever you installed Weblogic (/home/Weblogic/) or
something along those lines. (cd is the command that you want)
Run the scripts located in that directory as specified in the Unix
documentation.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
"Rex Law" <[email protected]> wrote in message
news:3971bdb1$[email protected]..
Could you tell me how to start WebLogic 5.1 in KDE?
Best Regards, -
How to start isqlplus* on linux plateform
Hi,
i am beginner in oracle and want to start isqlplus* on linux plateform via putty.
any helpful steps please let me know.
thanksisqlplusctl start
more detail http://www.orafaq.com/wiki/ISQLPlus -
How to start OC4J at Linux boot time
Hello,
I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
Thanks.Just put your OC4J start/stop commands in a rc script.
Scripts in the directories
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc5.d
will be called by the operating system with the command line option start.
The number in the directory names represent the desired run level of the machine.
Scripts in the directory
/etc/rc.d/rc0.d
will be called during shutdown with the command line option stop. -
Hi
I want to upgrade Netweave 2004s sp9 to sp11, it is on linux plateform, I loged the server user <SID>adm, when i run the go script, it hanged at " Waiting for SDTServer to connect to hostname xxxxxxxx socket 6240" , anyone met the problems and how to resolve it , thanks a lot
BTW, I user the VNC to connect to the LinuxHi,
To start JSPM,you should login to the linux system with <b>sidadm</b> user.
for ex:if ur SID is J2E,then login with <b>j2eadm</b> and password is <b>administrator password.</b>
2.After logging in ,check if <b>Xclock</b> is working.
Type <b>xclock</b>,then clock should be displayed.
if not,you should set Xclock.
set xclock with command <b>SETENV DISPLAY IPadress:0.0</b>3.if it is working,then go to /usr/sap/SID/Jcxx/j2ee/JSPM.
execute ./go
it will work.
rewrad points if helpful.......... -
How to start/stop 2 parallel while loops
My question might be simple to answer for experts, but as a Labview beginner would be great to receive your help:
I hav a VI with two parallel while loops. The first loop runs in a tact of 100 ms to aquire voltage, speed and to output a speed setpoint for a motor in the same tact, read from a table.
Finally all values are written to a log-file.
The question: As soon as I run my VI, data logging starts too and my motor runs. How can I implement a button to start all loops parallel, and how can they be parallel be stopped too if I want to stop measurement? Tryed to set a local variable for both stop buttons but it didn´t work.
Thanx to all, Markus
Attachments:
screenshot.JPG 74 KB
Measure and log data.vi 147 KBSnowMule wrote:
Starting the two is easy; use the error cluster to enforce dataflow.
Stopping them is a little trickier; the code you have now isn't very expandable so I'd recommend finding a different architecture. A notifier functions like a queue with a size of 1, a queue works well for sending commands/data between loops.
There is one other significant difference between queues and notifiers. A queue can only have one reader. If you have multiple readers of a queue who reads it will be random. A notifier can have multiple listeners. It fact, that is it's purpose.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
How to start sap hcm process and forms in ess
Hi,
Here is the requirement for us i.e., employee (Role SAP_ASR_EMPLOYEE) has to initiate the HCM Process and Forms in the ESS. But as per the standard the possibilities are initiated by the Mangers and HR Administrators... How to solve it...
Regards,
Santhosh Kumar RHi,
Process can be initiated by the employees in the ESS. However you need to link your HCM P & F in the ESS l.The standard initiator role for the employee is 'HRASRD'.
Try attaching this role in the role assignment section of the process.
Regards,
Aravind.P -
How to start Designer from Linux
I have 902 iDS (not full installation) installed in /home/Oracle.
And I have 9.2 Oracle server in another Linux host.
What should I add in my .bashrc to my classpath and ld_library_path env variable to run iDS?
My /usr/bin/java is 1.4 version.
I don't find sqlplus so what should I use to manage 9.2 server?
Thanks
ReyHi Rey,
Designer doesn't run on Linux, only on Windows (and probably won't be ported - apologies). To run other Oracle tools like Sql*Plus you need to add $ORACLE_HOME/bin to your PATH, after ensuring the ORACLE_HOME is set correctly. You should then be able to just run sqlplus from a terminal (e.g Konsole). To run JDeveloper you should also add <path to jdev>/jdev/bin to your PATH then type jdev or jdevw at the command prompt. It works on mine. I don't have a linux install of other iDS tools so can't say much about them.
I hope this helps,
Keith. -
How monitoring sap through linux/unix
Dear all
how monitoring the sap through linux/unix,
venkat- For S.O. monitoring (CPU, Memory, etc) you can use linux program "system-monitor" .
- For SAP monitoring (User,Process,Trace, Dump, etc) you can use the same transaction for any S.O. (SM21, ST22, SM51, etc)
Maybe you are looking for
-
Had to buy a new computer, how do I transfer all data from my iphone4 to new computer?
-
Error while running a pro*c executable
Hi, i have a proc*c executable and i decided to schedule it in crontab, but when at the time of execution, it gives the following error, ld.so.1: cms2sap1: fatal: libclntsh.so.8.0: open failed: No such file or directory Killed iam on a solaris os, al
-
HT4938 New mac-mini server setup without keyboard and mouse
Im trying to use the server app to setup my new mac mini server without mouse and keyboard, but the server is not listed. I have tried using its IP address with no username and the serial number as password but it won't connect. Any ideas?
-
Problems with a pop-up in Dreamweaver
Hi, I have a website with an introduction that I called, of course, index.html and it opens a pop-up of 718 width and 503 height, index2.html. I did it in the behaviours section of DW with an image and in my version of Safari (5.0.6) there is no prob
-
My daughter's Nano isn't working correctly with ear buds
I purchased an iPod Nano for my daughter a few months ago, but didn't give it to her until last month (it was her birthday last month). Anyway, for all intents and purposes it is only 1 month old, since it hasn't been used before that time. Suddenly