Autostart of Services

Hi,
I am new in oracle aqpps. I actually want to know that is we do single node installation OR multi node installation, after that, how would we identifiy different services to be started to at system startup?
How we can identify service, for example i know that how to make database automatically started up ata system startup.
What about all other services and their auto startup
Thanks in Advance

Here is what I am doing to start and stop the applications and database upon machine shutdown/restart. Then just create dev11i10ctl in /etc/init.d and make sure it is on in chkconfig.
oracle:~> more startdb.sh
#!/bin/sh
. /home/oracle/dev11i10.env
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addlnctl.sh start $ORACLE_SID
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addbctl.sh start
$ORACLE_HOME/bin/emctl start dbconsole
oracle:~> more stopdb.sh
#!/bin/sh
. /home/oracle/dev11i10.env
$ORACLE_HOME/bin/emctl stop dbconsole
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addlnctl.sh stop $ORACLE_SID
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addbctl.sh stop
applmgr:~> more start_11i.sh
#!/bin/sh
. /home/applmgr/dev11i10.env
cd /lv01/oracle/dev11i10comn/admin/scripts/dev11i10_hostname
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adapcctl.sh start
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adfrmctl.sh start
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adrepctl.sh start
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adalnctl.sh start APPS_$TWO_TASK
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adcmctl.sh start apps/apps
$OAD_TOP/admin/scripts/$CONTEXT_NAME/addisctl.sh start
applmgr:~> more stop_11i.sh
#!/bin/sh
. /home/applmgr/dev11i10.env
cd /lv01/oracle/dev11i10comn/admin/scripts/dev11i10_hostnam
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adcmctl.sh stop apps/apps
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adfrmctl.sh stop
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adrepctl.sh stop
$OAD_TOP/admin/scripts/$CONTEXT_NAME/addisctl.sh stop
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adapcctl.sh stop
$OAD_TOP/admin/scripts/$CONTEXT_NAME/adalnctl.sh stop APPS_$TWO_TASK
#! /bin/sh
# /etc/init.d/dev11i10ctl
### BEGIN INIT INFO
# Provides: Oracle Applications
# Required-Start: $syslog $network $xvfbserver
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start the Oracle Applications server
### END INIT INFO
. /etc/rc.status
# Reset status of this service
rc_reset
case "$1" in
     start)
          su oracle -c "/home/oracle/startdb.sh"
su oracle -c "/home/oracle/oas10gr3_util.sh start"
          su applmgr -c "/home/applmgr/start_11i.sh"
          rc_status -v
     stop)
          su applmgr -c "/home/applmgr/stop_11i.sh"
          /root/bin/checkim.sh applmgr 60 20 600
su oracle -c "/home/oracle/oas10gr3_util.sh stop"
          su oracle -c "/home/oracle/stopdb.sh"
          rc_status -v
     status)
          echo -n "Checking for service dev11i10ctl "
          checkproc FNDSM
          rc_status -v
          echo "Usage: $0 {start|stop|status}"
     exit 1
esac
#:/etc/init.d # ./dev11i10ctl status
Checking for service dev10ctl running
#:/etc/init.d # ./dev11i10ctl stop
#!/bin/ksh
# Determine if a internal manager process of an instance is still running.
# Parameters:
#     1. applmgr owner
#     2. Pause, in seconds, before first check.
#     3. Test frequency in seconds.
#     4. Test max total duration in seconds.
# Return Status:
#     0. Internal manager Process <name> is not running.
#     1. Error
#     3. Internal manager Process <name> is still running
# Check for internal process of instance <name>, after an initial delay of
# <pause> seconds. If found, recheck after <frequency> seconds. Continue this
# check/wait procedure until <name> is no longer found, or until <duration>
# seconds have passed. Return status on exit.
# Example: After initial delay of 2 minutes, check for CPMGR process
#     every 20 seconds for up to 5 minutes total elapsed time.
#     checkim.sh applmgr 120 20 300
JOB=`basename $0`
STATUS=1
lookfor=$1
integer     delay=$2
integer     frequency=$3
integer     duration=$4
integer remainder=$duration
echo "$JOB: `date +'%T'`: Check for $lookfor internal manager after initial $delay second delay."
sleep $delay
remainder=remainder-delay
while true
do
/bin/ps -ef | grep FNDSM | grep -i $lookfor | grep -v grep | grep -v $JOB >/dev/null
if [ $? = 0 ]; then
if [ remainder -gt 0 ]; then
echo "$JOB: `date +'%T'`: $lookfor internal manager running. $remainder seconds remain."
     sleep $frequency
     remainder=remainder-frequency
else
echo "$JOB: `date +'%T'`: $lookfor internal manager still running. Done."
     STATUS=3
     break
fi
else
echo "$JOB: `date +'%T'`: Process $lookfor internal manager not found. Exiting."
STATUS=0
break
fi
done
exit $STATUS
Semaphores and other kernel parameters are listed in the following 11.5.10 installation notes:
Recommendations to Install Oracle Applications 11i
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=294932.1
Oracle Applications Release Notes, Release 11i (11.5.10.2)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316803.1
Oracle Applications 11.5.10 - Installation Update Notes for Linux x86, Solaris SPARC, MS Windows, HP-UX PA-RISC, HP-Tru64, IBM AIX - B13590-01
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=287453.1
Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64 Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 10.2)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=169706.1

Similar Messages

  • How do you autostart services??

    Hi,
    I was running OSX Server 10.4.8 in an entirely mac environment. We have recently purchased a PC which needs to connect up to the fileshare. Setting up windows services and getting the PC mac to share is no problem. However, because I didn't specify windows services for automatic startup when setting up the server. If the machine is restarted the windows services don't automatically come back up and have to be manually restarted.
    I know this is a small issue but it would be nice to know how to autostart the services! I'm sure it is something obvious that I am overlooking but any help would be much appreciated.
    Kind regards
    Dan

    The things that you've done are what's needed to start the service AFAIK. Starting the service means that the startup script is told to execute. If it doesn't start because of a dependency, like the network isn't up and stable, the start would be aborted, but a couple of minutes later it would start smoothly. At this point, I'd carefully read system.log after a reboot to see if there are any messages.
    Roger

  • Auto start bi services on reboot

    Any suggestions on the best way to auto start the BI services like OC4J, SAW, SA, Scheduler using scripting when the server is reboot? Maybe include a delay between each and check each service is up.
    /apps/OracleBI/setup/
    nohup ./oc4j -start > nohup_oc4j_start.out &
    ./run-sa.sh start
    ./run-saw.sh start
    ./run-sch.sh start
    Thanks for the help!!

    Hi,
    Have a look at the following threads.
    Autostart of Services
    Re: Autostart of Services
    Auto Start Oracle Services didn't work
    Re: Auto Start Oracle Services didn't work
    Regards,
    Hussein

  • Auto start BI Services

    Hello to all,
    is there any way to autostart BI Services , ie to submit username and password in a file, instead of entering them in the command line window?
    I have install BI in a Win2008 server
    Thank you in advance
    Edited by: user13476114 on 20 Δεκ 2010 8:02 πμ

    Hi,
    You can write those commands in a batch file and schedule it as per your needs. Any one correct me if am wrong.
    Thanks,
    Navin Kumar Bolla

  • RE: Autostart

    Pascal,
    Go to econsole. Go to application outline. Double click on
    nameservice. Double click on EnvSearchPath. The (a) after the environment
    name means it will autostart the services. Take it out to turn it off for
    all partitions. For a individual partition you would put the search path in
    the service object properties(last tab).
    ka
    Kamran Amin
    Forte Technical Leader, Core Systems
    (203)-459-7362 or 8-204-7362 - Trumbull
    [email protected]
    From: Rottier, Pascal[SMTP:[email protected]]
    Sent: Monday, April 12, 1999 9:34 AM
    To: 'Forte Users Mailing list'
    Subject: Autostart
    Hi,
    Can anyone tell me how to turn Forte's autostart on or off
    for all partitions on a node or for partitions individually.
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    /* I don't suffer from stress - I'm a carrier.... */
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    That option never toggles when I update Skype on any of my machines.  The option is actually no longer part of the installer and it should remain at its current setting when upgrading.    On a new install or if your profiles are reset, it will enable it since no current setting exists.  To test this out I just unchecked the box.  Upgraded my Skype and the box remained unchecked.

  • Automaticallu restart ebs 11i database and application services on rhel5

    Hi,
    I have installed ebs 11i on rhel5.
    Pls advice hot to automatically start services(database and application) after system restart.
    Thank you in advance,
    Denis

    Hi,
    Please see these threads.
    Autostart of Services
    Re: Autostart of Services
    Auto Start Oracle Services didn't work
    Auto Start Oracle Services didn't work
    Regards,
    Hussein

  • How to create a .exe script to start and stop Oracle EBS R12 in Linux

    Hello,
    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.
    Ali

    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.Please see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Autostart+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Auto+AND+Start+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

  • EBS R12 basics??

    HI Experts,
    I am very new to EBS R12, and some how managed to install EBS R12 on OEL. I opend http:mycomp:8000/OA_HTML/AppsLogin but it gave try again, I think I need to start some services before login.......what are those services and how to start them? I looked in the documentation section but didn't got any idea........I got the credentials as system/manager are these valid credentials?
    How to start the database?
    How to start other services?
    I am on Oracle Enterprise Linux........
    Thanks in advance,
    DK
    Edited by: user12296343 on Jan 22, 2011 10:52 AM

    I am very new to EBS R12, and some how managed to install EBS R12 on OEL. I opend http:mycomp:8000/OA_HTML/AppsLogin but it gave try again, I think I need to start some services before login.......what are those services and how to start them? I looked in the documentation section but didn't got any idea........I got the credentials as system/manager are these valid credentials?Yes -- Please see the installation manual for all the database users that are created for you.
    Oracle Applications Installation Guide: Using Rapid Install
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121oaig.pdf
    How to start the database?$ addbctl.sh start immediate
    To start/stop the database listener, issue:
    $ addlnctl.sh start <listener_name>
    How to start other services?$ adstrtl.sh <APPS username</<APPS password>
    I am on Oracle Enterprise Linux........Oracle Applications Maintenance Procedures -- Chapter 1
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121admp.pdf
    To enable autostart of the services (i.e. make the application/database start when you reboot the machine), please refer to this thread.
    Autostart of Services
    Autostart of Services
    Thanks,
    Hussein

  • Startup and shutdown of  Apps and database on R12 with linux server reboot

    Hi Guys,
    Version : R12
    Platform : Linux EL 5
    Hi Guys,
    I am trying to startup and shutdown the R12 apps and database automatically with Linux server reboots.
    Does any one have steps to do this or metalink note:
    Thanks in advance,
    Z

    Hi,
    Please see this thread.
    Autostart of Services
    Re: Autostart of Services
    Regards,
    Hussein

  • Auto start emctl dbconsole on server reboots...

    Hi All,
    I am using Linux 5.3 Os and 10g (10.2.0.4) version of database.
    I configured listener,db service and emctl service in auto start mode, means if my server gets rebooted then all these service should be up and running automatically.
    this script is working fine but the issue is with "emctl" status.
    after server reboots if I check emctl console through the url of "https://localhost:1158/em, then it is working .
    but If I check manually this service through "emctl status dbconsole" it display as "not running", if I am going to start through "emctl start dbconsole" it display is already running.
    now my question is: if this console is already up and running on machine reboots then why it disaply as "not running" when I check manually.
    can any one suggest me?
    Thanks,
    Jigisha...

    Hi,
    Have a look at the following threads.
    Autostart of Services
    Re: Autostart of Services
    Auto Start Oracle Services didn't work
    Re: Auto Start Oracle Services didn't work
    Regards,
    Hussein

  • Automatically split quantities on a put away.

    The scenario is as follows:
    We have two locations for a product '123'. One is a pick location which will hold up to 150 units of item '123' and the other is a bulk storage location.
    When a put away task is created we want it to automatically show a quantity up to 150 to be put in the pick location and the balance of the delivery to be assigned to the bulk storage location.
    Is this possible without manually going into the confirmation of the put away task and selecting the split quantities and then manually selecting the second location?

    Hi Sanjeev,
    as far as I see, the invocation service really does not start up automatically.
    However, the following code should autostart all services marked requiring autostart according to the documentation of the DefaultCacheServer.start() method, which by the way also implies that this is the expected behaviour (that autostart services are not started by reading the cache configuration, but only the start method, which is by the way called by the DefaultCacheServer application, so you need not worry about that in case of the standalone cache server JVMs).
    CacheFactory.ensureCluster();
    DefaultCacheServer.start();Depending on what kind of container you deploy to, a single place is probably available for starting up the cluster.
    E.g. in Weblogic:
    - you can use an application server startup class if you have Coherence deployed to the server classpath.
    - if you have Coherence deployed as part of your application, then you can just use an application startup class (deprecated) or application lifecycle listener (recommended). In this case you need to have such a class (application lifecycle listener or application shutdown class) anyway, to properly shut down Coherence, otherwise you will get strange NoClassDefFoundError-s upon redeploying the application.
    Best regards,
    Robert

  • Autostart of network-service fails, but manual start works fine

    I followed a guide to set up a network connection. The steps were to create a network config (/etc/config.d/network)
    interface=eth0
    address=192.168.1.2
    netmask=24
    broadcast=192.168.1.255
    gateway=192.168.1.1
    then a service description (/etc/systemd/system/network.service)
    [Unit]
    Description=Network startup
    Wants=network.target
    Before=network.target
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    EnvironmentFile=/etc/conf.d/network
    ExecStart=/sbin/ip link set dev ${interface} up
    ExecStart=/sbin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev ${interface}
    ExecStart=/sbin/ip route add default via ${gateway}
    ExecStop=/sbin/ip addr flush dev ${interface}
    ExecStop=/sbin/ip link set dev ${interface} down
    [Install]
    WantedBy=multi-user.target
    and then enable the service using systemctl enable network.
    After the rebooting calling systemctl states the service as failed. If I start it manually using systemctl start network everything works fine.
    How do I get it to work with autostart? Thanks in advance.
    Last edited by devrandom (2013-08-03 12:22:55)

    With 'a guide' I presume you referred to this guide
    The guide states
    To set static IP on enp3s0 interface you will need to create /etc/conf.d/network@enp3s0 config file and run:
    # systemctl enable [email protected]
    where enp3s0 has to be changed into your own interface name.
    Note that the EnvironmentFile has to change to /etc/conf.d/network@<interface>.

  • [Solved] Redshift.service (Making redshift autostart)

    Hey Guys.
    I trying to get redshift to autostart. Theres's no official .service file (I can't find one anyway), so I wrote one my self, but it dosen't work. I've looked through the systemd wiki entry, but I don't really see what I'm doing wrong. The ExecStart command works fine in terminal.
    redshift.service -> http://pastie.org/5436557
    Output of "systemctrl status redshift.serivce" -> http://pastie.org/5436560
    From the output I looks like the process failes to execute, but I don't get why. I made it run after SLiM, so all x processes should be running.
    Last edited by Mhyperbolic (2012-11-26 12:42:22)

    falconindy wrote:I dont know what redshift is but it sounds like its something that needs knowledge of your X screen and session to work. Starting it from PID 1 guarantees that it knows nothing about either of these. Why not start it from your own X startup script?
    I didn't now that was a consideration, but of course it makes sense.
    I works now.  Thanks for the help!

  • Windows Modules Installer - Autostart Service Not Running

    I'm receiving in my health reports for four separate WSE 2012R2 deployments the below error.  I've set the service to restart upon failure, but it seems this occurs upon every server reboot until I manually go in and start the service.  However,
    from my understanding this service only runs when it is needed, which would leave me to a false negative in the BPA scan. 
    Just curious if anyone else is getting this.
    Autostart Services Not Running:
    Windows Modules Installer

    Hi MattSla,
    On current situation, please type services.msc in RUN to open Services panel. Then navigate to Windows Modules
    Installer service and open Properties. In General tab, please check Startup type of this service. Did set as Manual? Meanwhile, in Log On tab, please check which account this service used to log on as? Did log on as Local System account?
    I check the Windows Modules Installer service in two Windows Server 2012 R2 Essentials in my Lab environment.
    It seems that this service was set as Manual. Then Generate a Health Report in Dashboard, and didn’t find any error which was related to ‘Autostart Service Not Running’.
    If this issue still exists, please open Event Viewer and check if find some relevant events. Those may help
    us to go further analyze.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Autostarting nm-applet with a .service file

    Hello, this is my very first forum post as you can see. Please be gentle.
    I'm trying to get nm-applet to autostart with awesome window manager.According to https://wiki.archlinux.org/index.php/Ne … er#Testing
    NetworkManager applets are designed to load upon login so no further configuration should be necessary for most users.
    but this doesn't seem to be the case for me after enabling NetworkManager.service. I have no issues starting nm-applet w/out the extra stuff designated in the link.
    I created the following service file but I cannot figure out how to get it to load.
    [Unit]
    Description=Start nm-applet in tray panel
    After=graphical.target
    Requires=NetworkManager.service
    [Service]
    Type=forking
    ExecStart=/usr/bin/nm-applet
    [Install]
    WantedBy=graphical.target
    [rob@X200 ~]$ systemctl --failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
    ● start-nm-applet.service loaded failed failed Start nm-applet in tray panel
    Here's the output from journalctl:
    Oct 10 20:44:24 X200 systemd[1]: Starting Start nm-applet in tray panel...
    Oct 10 20:44:24 X200 nm-applet[194]: (nm-applet:194): Gdk-ERROR **: error: XDG_RUNTIME_DIR not set in t
    Oct 10 20:44:24 X200 systemd[1]: start-nm-applet.service: control process exited, code=dumped status=5
    Oct 10 20:44:24 X200 systemd[1]: Failed to start Start nm-applet in tray panel.
    Oct 10 20:44:24 X200 systemd[1]: Unit start-nm-applet.service entered failed state.
    Oct 10 20:44:25 X200 systemd-coredump[195]: Process 194 (nm-applet) of user 0 dumped core.
    In researching the problem I found on the Ubuntu forums I believe someone saying that certain environmental variables have priority over others and are loaded earlier. This led me to believe I should put in the service file a
    After=whatever .service is associated with loading XDG_RUNTIME_DIR
    or perhaps I ought to use the Requires designator? Anyways I couldn't find a working solution after a few days of research and trial and error.
    I've tried different variants for the ExecStart field including a .sh script,
    ExecStart=/bin/sh -c 'nm-applet'
    with no luck.
    Hopefully this is a trivial issue to solve. Thanks for taking your time to help me solve this.

    It is not easy to start a graphical tool with systemd, because it has to know:
    - who is the user that have to run that tool (nm-applet)
    - where (on which display)
    - what dbus session has to register too  (not entirely sure about this)
    - what environment variables will have nm-applet
    So take the easy path and start nm-applet from awesome, or if you're brave, take a look to the service file included here:
    https://aur.archlinux.org/packages/batterylife/
    Last edited by kokoko3k (2014-10-11 18:58:30)

Maybe you are looking for

  • Formula Created in BI Query appears in Universe as Measure with No Data

    Hi, I have created the universe on top of SAP BI Query(Which is built on Infoset). There are some formulas created in BI Query as mentioned below: Eg: Status1=                     If Completion Code = null then Status1 = 0                      If Com

  • How to create a new account and copy all settings?

    I think my main user account is corrupted. So I want to create a new account and copy all of my settings, files etc..and more than likely piecemeal just incase my settings are what is corrupted. That way I can isolate the problem. I don't plan to del

  • Approver name for outgoing payment

    Hi Friends, I want a query for outgoing payment with the Username of the person who approved this and along with requester (originator) name .To print on crystal report one for requester name and other approved person  name.

  • How to use copy default values for material from vendor master in Account Group

    Dear all:    In define AccountGroup for vendor ,there is a field named DURAS which means default values,who can tell me how to use it?    Any informations are appreciated!

  • Query with variable

    hello world, i have a problem, i have implemented a query that is using in different schema. These schemas have same structure, therefore to extract information i must use the same query but I must specify the different schemas to select the table. T