Trying out a startup script for VIS demo

care to review this script, I get a txt web page after it's run "ORA-03113: end-of-file on communication channel"
#!/bin/sh
case "$1" in
'start')
/swamp1/d01/oracle/visora/iAS/Apache/Apache/bin/apachectl start
/swamp1/d02/oracle/visdb/8.1.6/appsutil/scripts/addbctl.sh start
/swamp1/d02/oracle/visdb/8.1.6/appsutil/scripts/addlnctl.sh start vis
/swamp1/d01/oracle/viscomn/admin/scripts/adalnctl.sh start apps_vis
/swamp1/d01/oracle/viscomn/admin/scripts/adapcctl.sh start
/swamp1/d01/oracle/viscomn/admin/scripts/adcmctl.sh apps/apps start
/swamp1/d01/oracle/viscomn/admin/scripts/adfmcctl.sh start
/swamp1/d01/oracle/viscomn/admin/scripts/adfmsctl.sh start
/swamp1/d01/oracle/viscomn/admin/scripts/adfrmctl.sh start
/swamp1/d01/oracle/viscomn/admin/scripts/adrepctl.sh start
/swamp1/d01/oracle/viscomn/admin/scripts/adtcfctl.sh start
'stop')
/swamp1/d01/oracle/visora/iAS/Apache/Apache/bin/apachectl stop
/swamp1/d02/oracle/visdb/8.1.6/appsutil/scripts/addbctl.sh stop
/swamp1/d02/oracle/visdb/8.1.6/appsutil/scripts/addlnctl.sh stop vis
/swamp1/d01/oracle/viscomn/admin/scripts/adalnctl.sh stop apps_vis
/swamp1/d01/oracle/viscomn/admin/scripts/adapcctl.sh stop
/swamp1/d01/oracle/viscomn/admin/scripts/adcmctl.sh apps/apps stop
/swamp1/d01/oracle/viscomn/admin/scripts/adfmcctl.sh stop
/swamp1/d01/oracle/viscomn/admin/scripts/adfmsctl.sh stop
/swamp1/d01/oracle/viscomn/admin/scripts/adfrmctl.sh stop
/swamp1/d01/oracle/viscomn/admin/scripts/adrepctl.sh stop
/swamp1/d01/oracle/viscomn/admin/scripts/adtcfctl.sh stop
echo "Usage: oracle_applications.sh { start | stop }"
esac
exit 0

Is your listener up/bounced?
Gerry.

Similar Messages

  • Startup Scripts for OBIEE 11g on Linux

    Hi, I originally spent many hours trying to find a startup/shutdown script for OBIEE on linux, in the end I compiled a new one based on notes in the install manual and other posts on the subject until I got it working consistantly
    Please add comments or improvements :)
    Note: you need to create the boot.properties file (in /security) for each server, and provide the username/password so WebLogic won't prompt for it when starting automatically (otherwise it doesn't start :p) ....refer to the install manual or [weblogic boot.properties|http://onlineappsdba.com/index.php/2010/08/21/weblogic-startup-prompting-from-username-password-bootproperties/]
    #!/bin/bash
    # /etc/init.d/obiee
    # Run-level Startup script for OBIEE
    # set required paths
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=/opt/oracle/product/11.1.0/db_1
    export ORACLE_OWNR=oracle
    export ORACLE_FMW=/opt/oracle/product/fmw
    export PATH=$PATH:$ORACLE_FMW/bin
    case "$1" in
    start)
    echo -e "Starting Weblogic Server...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Node Manager..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/wlserver_10.3/server/bin/startNodeManager.sh > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Managed Server: bi_server1..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startManagedWebLogic.sh bi_server1 [url for admin console] > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Components...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl startall > /dev/null 2>&1 &"
    sleep 30
    stop)
    echo -e "Stopping Components...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl stopall > /dev/null 2>&1 &"
    sleep 30
    echo -e "Stopping Managed Server: bi_server1..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopManagedWebLogic.sh bi_server1 [url for admin console] [weblogic user] [weblogic pass] > /dev/null 2>&1 &"
    sleep 30
    echo -e "Stopping Weblogic Server...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh > /dev/null 2>&1 &"
    sleep 15
    status)
    echo -e "Component Status...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl status"
    restart)
    $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|status"
    exit 1
    esac
    exit 0
    Hopefully this helps others in the same situation
    Cheers

    HI,
    Is this script for Enterprise Install on a single computer? For Simple install I think there is no concept of nodemanager and managedserver.
    --Joe                                                                                                                                                                                                                                                                                                                           

  • Can you please put me in touch with the support  for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have  been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.

    Can you please put me in touch with the support  for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have  been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.
    I have had to erase my disk since then with trouble with Apple Store not recognising my machine and the reload from Time Machine has given complications . Can you please cancel my trial and return my Trial money.

    If you paid for what you used then it was not a trial.
    Look thru the following links and use the chat option if required for your situation:
    Cancel your membership or subscription | Creative Cloud
    https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    https://forums.adobe.com/thread/1703848
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Missing startup script for version cue

    I'm having the problem where I don't seem to have the startup scripts for version cue in bridge.
    When I check the list of startup scripts in preferences, the other scripts all seem to be there like for contribute, fireworkds etc. However version cue is missing.
    I also checked the actual locations for the startup scripts.
    The scripts for version cue seem to be in the actual locations but for some reason they're not running or showing up in bridge or that's what I'm assuming anyway.
    I'm running bridge CS4 and version cue CS4.
    If anyone could help me that would be great!

    What then do they recommend?  The URL listed below is broken/no longer available.  The solution listed above does appear to work.  I installed Version Cue Server CS4 after having installed the rest of the suite on my workstation.  I used drive to link to the server(my machine which I am using for testing).  I had CS3 on this machine before uninstalling it and installing CS4.
    Re: Missing startup script for version cue
    Matthew Laun wrote:
     Adobe recommends that you do not follow the steps above to enable Version Cue CS4 in Bridge CS4.
    Please see this thread for more details:
    http://www.adobeforums.com/webx/.59b6d12f

  • Oracle Startup Scripts for AIX

    Does anyone have experience setting up automatic Oracle startup scripts for AIX?
    Any help would be greatly appreciated!
    Thanks,
    Mike

    Some recommandation here :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref255
    Nicolas.

  • Startup scripts for DB in one $OH and AS in another $OH

    Hello, I am setting up Oracle Collaboration Suite 10g on a SLES9 SP3 machine. I have used the installers and followed the docs (so I ended up creating oracle users, setting kernel params, modifying limites, etc myself). I am now trying to figure out how to get this setup to start on boot. I found the orarun package but the Oracle Collaboration Suite (OCS) docs seem to recommend against this. I am willing to use it if it works, however. I have also looked at the ocsctl_sample script that is installed in the apps tier, but that doesn't seem to handle starting a db in a different $OH and can not be run by root. I wrote a wrapper to use "su oracle -c cmd" but that didn't work out either.
    The setup I have is a database instance in one $ORACLE_HOME, and then the app server and apps in a separate $ORACLE_HOME (infrastructure/OID is on another server). Both of these $OH instances are listed in /etc/oratab of course. Since OCS handles mail it listens on privileged ports (25, 143, etc), so this listener may need to be started by root. I am thinking I only want one opmn instance, one apache instance, and one em instance on the system as well. I read through the init.d/oracle script from the orarun package and it seems like it only looks at the first $OH found in /etc/oratab if the /etc/profile.d/oracle.sh file is not found (I moved it out of the way as I have two scripts I use to set oracle environments depending on whether I'm working on the db or the as).
    Has anyone either used orarun or developed other scripts for starting a db instance in one $OH and an app server in another? Any tips?
    Thanks in advance,
    Chris

    Well, the issue is really multiple ORACLE_HOMEs. The single box install of OCS is two, in OCS 9i it was three. There is no problem with it, you just have to set the environment(mr obvious).
    As far as having a single EM, you'll have two on your apps box. One for the apps, the other for the DB. Again, no problem because they are on different ports.
    So, I guess the simplest explanation is just to write your own script. You can either create a sudoer for the mail listener, or set the setuid bit. There is a note on metalink for starting the mail listener as Oracle user.
    The safest way would be to log in as root each time the mail listener needs started, it depends what you can tolerate. You will come across these very same issues if you setup the web cache etc. for reserved ports.
    Another issue for automating the startup with your environment, is the fact that it is on two boxes. The processes need started in a particular order, the DB, Infra, then the apps. I don't have a good suggestion for that. You really should have put the DB and infra on one box, and the apps on another.

  • Need to write a startup script for TunTap

    Dear community,
    I am using 10.10.1, 13" MBPr Late 2013 and I need to be able to access my Work VPN. From what i have been told, the OS X client can't work and that I have been advised to use Shrew Soft VPN. (We initially tried to get the WatchGuard Firewall to build a Mac .dmg and that didn't work). To get ShrewSoft to work, I have had to follow these steps:
    http://ulaptech.blogspot.co.uk/2012/11/shrew-soft-vpn-client-for-mac-os-x.html
    ·         Install the qt-mac-opensource-4.7.1.dmg file first
    ·         Install the tuntap20111101.tar.gz file second
    ·         Install the shrew soft client.
    But the TunTap download that is above will not work as it is unsigned and Yosemite has now killed off unsigned kexts.I tried turning off the requirement for OS X for signed kexts by using this command:
    sudo nvram boot-args="kext-dev-mode=1"
    Then rebooting, but it didnt work.
    I can get the VPN to work if I open up terminal and enter these two commands:
    sudo kextload /library/extensions/tap.kext
    sudo kextload /library/extensions/tun.kext
    But I have to do this everytime i turn my Mac on.
    Could somebody please help me write those two lines into a startup script? As I really have no idea how to do it.
    Your help and guidance would be appreciated

    Choose Utilities from the Finder’s Go menu, open the AppleScript Editor, and paste in the following:
    set thepassword to text returned of (display dialog "Your administrator password is required." default answer "" with hidden answer)
    do shell script "kextload /Library/Extensions/tap.kext" with administrator privileges password thepassword
    do shell script "kextload /Library/Extensions/tun.kext" with administrator privileges password thepassword
    Save it as an application and set it as a login item.
    (120186)

  • Registry startup script for computer-based proxy configuration

    I am attempting to deploy computer-based proxy server settings via importing a .reg file to user PCs as a startup script. It has appeared to work on some PCs but not on others. We have a mix of Windows XP Professional x86 and Windows 7 Professional x64 PCs
    in our domain.
    I am not sure whether to use "reg import" or "regedit /s" in my batch script.
    Before trying the batch script method, using "Computer Configuration > Preferences > Registry" settings did not work.
    I have created a GPO, applied it to an OU containing computers and used the following settings:
    Computer Configuration > Policies > Windows Settings > Scripts > Startup
    Batch Script: regedit /s \\FQDN\netlogon\wmproxy.reg
    Registry File:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ProxyEnable"=dword:00000001
    "MigrateProxy"=dword:00000001
    "ProxyOverride"="<local>"
    "ProxyServer"="proxy.FQDN:8080"
    Computer Configuration > Administrative Templates > Windows Components/Internet Explorer
    Disable changing proxy settings = Enabled
    Make proxy settings per-machine (rather than per-user) = Enabled
    As at the beginning of my post, the settings deploy to some PCs but not all and I have yet to see it work on the Windows 7 PCs. Am I attempting computer-based proxy settings the wrong way, or am I missing something with how I am currently trying to deploy
    it?
    Thanks all!

    Hi,
    You mentioned you have tried to configure the computer-based proxy settings via GPP but it didn’t work. Before going further, would you please let me know how did you configure the settings?
    In order to narrow down the cause of the issue, I suggest we’d better collect the following information.
    GPMC.log
    ==================
    a. On domain controller, click Start ->Run, type GPMC.MSC, it will load the GPMC console.
    b. Right click on "Group Policy Result" and choose wizard to generate a report for the problematic computer and user account (please place appropriately). (Choose computer and select the proper
    user in the wizard)
    c. Right click 
    the resulting group policy result and click the "Save Report…" => save report to save the report to a HTML file.
    Once we get the GPMC.log, please check the detailed report logged in it.
    You said you have created a startup script to edit the registry key to configure the proxy setting of the computer but it worked on only some of the computers in the domain. Have you tried
    to run the script on the problematic computer manually to see if it works? If it still fails to run, it could be related to the script issue, then we’d better ask in the script forum.
    The Official Scripting Guys Forum!
    http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
    Regards,
    Andy

  • Startup Scripts for 8i / 9i mixed environment

    We have used the Oracle dbshut and dbstart scripts for our 8i instances. We are adding 9i and using spfiles, but the Oracle scripts only read the init files. Does anyone have a modified version that starts 8i instances using init files but 9i instances using spfiles?

    This is probably as good a place as any for the question I have:
    I'm unable to figure out how to get my 9i database to start/stop via dbstart/dbshut without hardcoding the username password for sys in the dbstart/dbshut scripts. Since this 9i database is just a toy on my home Linux server, hardcoding the password is no big deal. However, it wouldn't wash in a professional setting...
    The dbstart script, after determining its a 9i database, starts sqlplus and connects as such:
    connect / as sysdba
    I'm running dbstart as Linux user oracle which has the primary group dba, and dba was compiled into the rdbms. When the connect statement is run, I get the ora-01031 insufficient privs error. I assumed this is because I don't have a user named oracle in the database.
    So, I created user oracle in the database with the "identified externally" clause. When I tried to grant sysdba to oracle, it is not allowed (ora-01997).
    So, I'm perplexed... All I'm trying to do is get the database to start and stop with the machine. Nothing remote is involved.
    Stan

  • Could someone please sketch out this simple script for me?

    Could someone please sketch out a simple java script for me. I will have a document with one background
    layer and a layer set (group) called "Analyze" that consists of 63 adjustment layers. The layer names in that "Analyze" group(folder) will be
    "01" ...through "63" with 01 on the bottom and 63 at the top. Initially, all of the adjustment layers will be invisible and  the
    group will be closed (not expanded). I need a simple  script that will check for the first invisible layer in that group
    and make it visible without selecting that layer nor expanding the group. The script has to check
    for the first invisible layer every time it runs because other actions may have turned off a layer in the set.
    The point of this is so I can hotkey flipping on the layers one at a time without expanding the set or
    changing focus off the  background. It seems it should be a simple loop, but I just can't wrap  my head
    around all the objects (e.g. Layer as opposed to Layers  and  Artlayer as opposed to Artlayers)
    and the constants constants.
    for (i = 63; i>0; i--){                 /* I have found layer indexes 0 are the topmost layer */
      if( layerset[i] == INVISIBLE){
               layerset[i] = VISIBLE;
                  break;
    Could someone please write me a simple script that would do this?
    Edit I found this and its very close to what I need:
    var doc = app.activeDocument;
    for(var i = 0 ; i < doc.layers.length;i++){
      doc.layers[i].visible = (i % 2 == 0);
    From here : Function to show/hide layer with Photoshop script (JSX) - Stack Overflow
    In my case I would rewrite it to this
    for(var i = 62; i >=0; i--){
         if(  !doc.layers[i].visible){
              doc.layers[i].visible =TRUE;
              break;
    My problem is I just need  to traverse the layers in my layerset "Analyze"
    How do  I reference just those? Is there a doc.layersets["Analyze"].layers[i].visible = TRUE?
    Message was edited by: Shawn Laughlin To add more information

    Well this works:
    var doc = app.activeDocument;
    var analyze = doc.layerSets.getByName("Analyze").layers
    for(var i = 62 ; i >= 0; i --){
        if (!analyze[i].visible){
            analyze[i].visible =1;
            break;
    Hard to believe TRUE is not a constant in java.

  • Can we have seperate startup script for each managed server?

    Hi,
    Can we have a seperate startup script (startManagedWebLogic.sh) to start each
    Managed Server? for example startManagedWebLogic.sh for ms1 and startManagedWebLogic.sh
    in ms2 in another directory?
    Any help would be appreciated.
    Thanks
    Siraj

    startManagedWebLogic.sh internally calls startWebLogic.sh with few added parameters, that's all it does. You are free to modify the startup script, the way you want.
    Madan
    >
    Hi,
    Can we have a seperate startup script
    (startManagedWebLogic.sh) to start each
    Managed Server? for example startManagedWebLogic.sh
    for ms1 and startManagedWebLogic.sh
    in ms2 in another directory?
    Any help would be appreciated.
    Thanks
    Siraj

  • Linux Startup script for Forms Services 11g with Weblogic

    Hi,
    Does anybody know where I can find info about the startup script process for Forms Service 11g under linux? I can't find it googling it... I think I have to startup weblogic first... isnt it ? or opmnctl works alone ?
    In 10g we just need to set env vars and then "opmnctl startall" and if we need enterprise manager "emctl start iasconsole" ... what about on 11g?
    Regards
    Ricardo

    You can start directly the WLS_FORMS without starting the Admin and Node manager ..
    I think if you go through this link , you will get more information ..
    Re: Forms 11g - Installation steps for a developer machine

  • Missing STARTUP script for upgrade program

    Hi Experts,
    We are performing a upgrade from 4.7 to ERP6. From the documentation, it mentioned starting the upgrade program using the STARTUP script on the upgrade master. But I was unable to locate this STARTUP file on the upgrade master that is shipped to us.
    We are using SAP ERP 6.0 upgrade master (D51033520). May I know where can I get this STARTUP program?
    Thanks in advance,
    Tzyy Ming

    Hi Lee,
    You have to follow below command to run upgrade program:
    1) Go to upgrade directory
    2) Then run /<DVD mount directory>/PREPARE
    3) Then you can run PREPARE from here.
    Once PREPARE finishes. You can run upgrade assistant from upgrade directory:
    Run java -cp <upgrade directory>/ua/ua.jar UaServer
    When upgrade assistant server console shows you Ready
    Then run java -cp <UaGuiDir>\uagui.jar UaGui to start upgrade GUI.
    Thanks
    Sunny

  • Trying to create a script for iTunes

    This is one of those questions that probably has a very simple answer unless you haven't worked with Automator or applescripts.
    I found Automator, created a script for iTunes to change settings for audiobooks that I import from CD so that it remembers it's place in a "song", makes it so that it doesn't show up in shuffle lists, and doesn't have a gap between songs. Yippee for me.
    I click on File, Save, name the file and save it and ... it doesn't show up under iTunes. It only took me 45 minutes to get it so that the scroll icon shows up under iTunes (I'm so confused now that I don't even know which thing I did caused that to happen) but my script I created doesn't show up.
    I did find one place that said to place the file in (myname\library\scripts\programname) So I went to my home folder, find the library folder, found the scripts folder, and found only one application under there (Safari) but no iTunes. I created a folder called iTunes and saved my script there but ... it doesn't show up under iTunes.
    I did try quitting iTunes and opening it back up and ... it still isn't there.
    Is this even the right place to ask this question?

    OlsonBW wrote:
    ........Is this even the right place to ask this question?
    If it's not, then may I recommend MacFormat Magazine's own discussions forum -
    http://forum.macformat.co.uk/login.php?redirect=privmsg.php&folder=inbox
    I found that this is full of 'Users' and more likely to be experienced using AppleScript and Automator.
    Although I don't say that someone here won't be able to help. Just might take longer here or, as you yourself suggest, may need posting elsewhere on this site. Just speaking from previous experience of both sites

  • No startup-script for squid?

    why is no startup-script at the squid package? any reason or just a bug?
    regards,
    moritz

    once the maintainer of the package has time the changes in the incoming package will likely be adopted at that time perhaps a startup script will be introduced. i recommend filing a bug report so this is done.

Maybe you are looking for

  • Limit records per page in the horizontal looper?

    Might sound confusing, but I'm wondering if/how I can use the horizontal looper to show 30 records per page? For example, I have a photo thumbnail collection. I want to show 5 columns and 10 rows. Is there a way to get the looper to put a link to the

  • Web page content missing in Safari

    When viewing a web page in Safari several drop down links are missing. (As compared to viewing in Explorer).  How do I get them to appear in Safari as they are crucial to the navigation of the site?

  • IOS 7 slows down wifi

    Since downloading iOS 7 I have much slower WiFi connection and video playback is impaired. iPad 3

  • HTTP redirect based on client IP

    Hello, Is anyone aware of a method to redirect an HTTP request based on the Client IP using ICM/Web Dispatcher? The "icm/HTTP/redirect_" parameter doesn't appear to allow you to use the client IP as a criteria for the redirect, and I have not been ab

  • Upgarde database 11.0.1.7 to 11.2.0 for EBS 12.1.3 upgrade

    Hi All I am referring this document Doc ID 1058763.1 for the upgrade of database. The below two section are conditional . Is it mandatory to apply the conditional section if yes I can apply the patch 6400501 but what about the second conditional how