Yet another script for Cyclosaurus to write (please)!

There are lots of posts about people losing their domain files, I myself in fact lost a page (Thanks Jim!) and had to rebuild it.
This spurred me to create backups of my domain files, that I manually juggle! (As well as a full system backup, one was due)
Then I thought to myself, wouldn't it be nice if there was an app that you could click, and it would take a copy of your current domain.sites file, add a time and date stamp to the name, and then store it in ~/iWeb Domain Back Ups?
Anyway, just a thought
Will

Folks
I am seeing lots of issues regarding corrupt & lost websites.
I can only strongly recommend that you BACK UP your work.
Backing up should be a standard routine, yes even on a Mac
With regards to keeping a copy of your nice shiny new iWeb website, this thread discusses keeping a second copy on your hard drive. This will not save you if your hard drive fails, for this you need to backup elsewhere (For instance an external hard drive).
The key iWeb file (domain.sites) is stored here:
User / Library / Application Support / iWeb / domain.sites
Either manually create a copy of this site and save it somewhere safe, or use the Script above.
Happy iWebbing
Will
1GHz G4, 15" PowerBook, Airport Network, 1G iPod Mini   Mac OS X (10.4.5)   Getting Started with iWeb - Tips here

Similar Messages

  • My iPhone will not turn on after a yet another blue screen of death. Please help!

    As mentioned above, my phone will not turn on after a yet another blue screen of death. All of a sudden it turned off, and it wouldn't turn on for quite some time, even after I plugged it in the charger. It wasn't long after the screen turned on, but it only displayed a bright black. I decided to turn it on and off a few times. Nothing worked.
    I have also tried to call the phone from another one. It was as if the phone was simply off.

    Hello ZarinaUrum,
    The article linked below details a number of troubleshooting steps that can help restore functionality to your iPhone.
    iOS: Not responding or does not turn on
    http://support.apple.com/en-us/TS3281
    Cheers,
    Allen

  • RMAN Backup script for RAC Database..please suggest

    Hi All,
    I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount
    srvctl status database -d PROD
    echo "Start Full Database Backup on";date
    $ORACLE_HOME/bin/rman target / nocatalog <<EOF
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
    run{
    allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
    allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
    backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
    backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
    copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
    delete noprompt obsolete;
    release channel c1;
    release channel c2;
    exit
    EOF
    echo "RMAN Backup Finished on";date
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    echo "Start Database";date
    srvctl start database -d PROD
    srvctl status database -d PROD
    Please share your experiences.
    Regards

    Hi,
    Some tweaks for your script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
    2. configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
    It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
    - Pavan Kumar N
    3.

  • Maybe yet another posting for boot noises...

    Each and every time I start or reboot my MacBook, I have to endure the harmony of two noises: the everything-is-OK chime, and the spin-up noise of the SuperDrive. I have wasted my time trying to disable them only in vain (
    StartupSound Preference Pane did not work). One answer I found this Apple Support Communites was actually smash the SuperDrive (i.e., there is no way).
    Why does Apple just give a simple option to disable them for the users who want to do so? It would just take one day to implement the option. I know like 99.9999% time it boots without a problem, why should I hear the chime? I do not use a DVD rom to boot (in fact, Lion does not even come on DVD), why cannot I just set the boot device order like with all other computers?
    Yes, there are lots of Apple fans, but these kinds of inablity to customise the system waste lots of people's valuable time around the world, and make people want to use other OSes. Even if like 80% of the users do not care about the boot chime and boot spin-up noise, if an Apple engineer can spend one day and can save 20% the users around the world out of their misery, is this not enough?
    P.S. : Yea, I will remove the SuperDrive next time I open up my MacBook.

    No.
    First, even if it is 2%, not 20%, the option could be easily implemented. 2% of MacBook users could be millions of people. As if one engineer could do so in 2~3 days. If that can benefit a million users, cannot this be justfiable?
    Second, giving an option does NOT impact other people. If they are happy with the boot chime, they would NOT turn it off, and it does not make any difference if there is an option for that. If choosing not to boot from a DVD rom is an option (like in most laptops), it would make no difference to people who does not change the option. I know what I am doing, so just give me the options.
    I am sorry if this forum is not suitable for my post. I did not want to order Apple to do something. I just wanted to share my feelings on these problems, with other users.
    I know MacBook is great laptop. It is like 90 things out of 100 things are good, and 10 things are bad.
    People who only talk about the 10 things are Apple-haters.
    People who are just too facinated by the 90 things and cannot say no to the 10 things are iSheep.
    People like I enjoy the 90 things but also criticise the 10 things so that those could be fixed.
    red_menace wrote:
    You pretty much hit it right there - Apple (or anyone else for that matter) isn't going to do anything for 20% of the users if it can impact the other 80%.  The inability to customize these things also avoids wasting time with service calls, and it would certainly take more than a day to engineer a way to disable these things yet keep them functional - a power on self test won't do much good if you can't indicate the results, now would it?  Some of those optical drives are a bit noisy, and not just at startup (later models are quieter), although that doesn't have anything to do with the machine trying to boot from it.
    The appropriate place for these kinds of feature requests is http://www.apple.com/feedback/, since no one here can do anything about it.

  • Yet another scripting question

    Could some kind soul who understands bash scripting well enough explain to me a way to do the fallowing:
    I have a directory containing video files, i'd like to convert ALL of them to mkv format with mencoder. The easiest way i can think of would be (if possible) using a small script that lists the contents of the DIR, then runs the command "vs" on each file. vs being an alias i setup for "mencoder -profile default"
    Currently i have to do it manually like this:
    vs filename-01.avi -o filename-01.mkv
    What i'd like to do is have a command or 2 that runs vs on each file one at a time, and has the -o option of the same filename but with mkv in place of avi,
    Also can anyone reccomend a good book for learning this sort of thing? I plan on taking a bash scripting course soon, but its been pretty booked for the past few months.

    I use that to extract mp3 from flv files, I think it can help you.
    # !/bin/sh
    for fichier in *.mp3.flv
    do
    ffmpeg -i "${fichier}" -f mp3 -vn -acodec copy "${fichier/.mp3.flv}".mp3
    rm -f "${fichier}"
    done
    exit 0
    all my flv are name something.mp3.flv ,
    I search for them, assign one to the "fichier" variable (file in french) and dump them to "${fichier/.mp3/flv}".mp3 --> this takes the original filename, cutting the .mp3.flv and replacing it by mp3, I delete the original, rinse and repeat.

  • Any Help For Yet Another HDCP For Playback/Netflix Problem?

    I have a very complex set-up and had no problem streaming until the other night and I have tried every single solution I can find online under the sun so that is why I am posting here.
    I have a Pioneer Receiver that I used a Terk Smart HDMI 3 x 1 Selector with and was able to stream Netflix with no problem.
    This is how everything used to be set up:
    Pioneer Receiver
    Blu-ray IN
    HDMI OUT Terk
    DVD IN
    Panasonic DVD Recorder OUT
    OUT
    Panasonic LCD TV HDMI 1
    Terk HDMI 3 x 1 Selector
    OUT
    Pioneer Receiver Bluray IN
    Panasonic Bluray Player
    Input 1
    AppleTV (3rd Gen.)
    Input 2
    Mac Mini (2010)
    Input 3
    Now here's the rub:  I also have a PS3.  I used to unplug either the ATV or Mini whenever I wanted to use it and I got tired of switching out so I bought a Monoprice 8 x 1 HDMI Selector.  The logic here being that I would have more than enough HDMI inputs to plug in everything.
    When I first hooked up the Monoprice, I hooked the OUT from it into the Bluray IN on the Pioneer and then hooked all of the HDMI cables from all of the various electronics into the INputs on it.  Tested all of them to see that it autoselected whatever I had chosen and even was able to stream on NF.
    This is how I have everything hooked up now:
    Monoprice 8 x 1
    OUT
    Pioneer Receiver Bluray IN
    ATV
    Input 1
    Panasonic Bluray Player
    Input 2
    PS3
    Input 3
    Mac Mini
    Input 4
    Panasonic DVD Recorder*
    Input 5
    *Bluray IN  and OUT are the only HDMI slots in use on the Pioneer Receiver using this hookup.
    Now all of a sudden yesterday I went to stream NF via the ATV and I got that "This content requires HDCP for playback" error.
    I did everything I could think of and also tried all of the suggestions I could find on the web.  I had already switched out the HDMI cables as I had bought new ones when I got the Monoprice.  So I hooked the Terk back up thinking it would "fix" things.  No dice.  I put the old HDMI cables back on.  No dice.  I have it hooked up now with the old HDMI cables and still no dice.  I unplugged everything and let it sit thinking I could force a new HDMI handshake.  NF started streaming for 5 seconds and froze -- and then the error message.
    I also have a Scientific Atlanta DVR that the ATV is plugged into that the HDMI 2 of the Panasonic TV is connected via HDMI.  The Panasonic TV isn't "old" as I think I got it in late 2009 or late 2010, as it has more than enough HDMI inputs, component, and also a PC connection -- in case someone wanted to suggest the TV wasn't capable of handling the hookups. The ATV is running the latest version of the software.
    This is really frustrating since it worked with no problem from the day I got the ATV and now after upgrading the switcher to get more HDMI inputs, everything went kaput.
    And I just don't know what to do.
    I'm not sure if having everything being dependent upon the Panasonic TV being powered on is affecting things, but it never affected things when I was using the 3 x 1 HDMI switch.  When I wanted to use the ATV, I'd press the Bluray input on the Pioneer receiver, hit the ATV remote and it would come on.  Click into NF and voila: streaming with no problems.
    Currently, I still do the same thing -- and I can listen to the radio, stream in iTunes Match on the ATV.  It's just the NF issue that's really beyond me.  The only thing I can think of to try is to maybe put the DVR in the surge protector slot so that it has to be powered on so that everything else will power up instead of the TV?
    I'm hoping someone has a suggestion that involves something other than restarting/restoring the ATV, or unplugging things for 30 seconds because I have tried everything I've come across.  I just don't know what to do but I really would like to be able to use NF on the ATV because I like the fact that it plays in Dolby, and I really don't want to have to go back to the PS3 to utilize that feature.
    In the meantime, I guess I will switch the DVR on the surge protector with the TV and see what happens if I change the way things power up in the chain.

    I am at a loss.  I thought I had a micro USB cord but since I didn't, I wasn't able to downgrade the software.
    I did a complete restore for kicks.
    This is the current setup
    ATV HDMI
    Panasonic TV HMDI 2
    ATV optical output
    Pioneer Receiver
    Again, all of the other devices run through the 8 x 1 switch box which is NOT powered on to use the ATV.
    I get the HDCP error whenever I try to access the following:
    Netflix
    Trailers
    Vimeo
    WSJ Live
    HHL and the other sports channels
    These work fine:
    Radio
    iTunes Match
    Podcasts
    Flickr
    TV Shows and Movies because I tested both watching previews and they streamed perfectly
    I've changed the settings on the ATV until I'm blue in the face and this is what they are currently:
    Dolby - Auto
    Audio Output - Auto
    HDMI Output - Auto
    TV Resolution - 1080p HD - 60Hz -- and yes I've had it set on both "Auto" and 720p HD - 60Hz and neither stopped the error once it started happening
    All of the equipment is HDCP compliant as I checked
    The cable between the TV and ATV
    The 8 x 1 switch box
    Panasonic TV specs -- it is HDCP compliant as I said in my 3rd post (according to the manual)
    The Pioneer Receiver (for good measure)
    I have no idea of what to do other than to hope that Apple does something with the next update to restore everything, as this HDCP issue is really beyond annoying and it's clear 5.2 broke something.  In the meantime, I really am open to suggestions to try something else other than smashing the ATV with a hammer

  • Yet another claim for footnotes

    Dear Apple,
    not trying to summarize the several previous discussions how to add footnotes (and ending with nothing substantial) I just would like to emphasize the need to include this into ibook authors if this program is intended seriously.
    Hoping for further supporters and expecting an update
    hwg_ros

    If you wish to submit your request to Apple, you can do so here:
    http://www.apple.com/feedback/

  • Calling an expect script from another script (sh)

    How to call the EXPECT utility from SHELL script?
    Our objective is - We have developed a shell script to connect the oracle database and generate the XML file and this XML file needs to be transfer to another windows machine using the SFTP servcies. We are planning to schedule this job using the CRONTAB.
    Our first script 1:
    # connecting to oracle database and generating the file
    ORACLE_SID=TEST
    ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    PATH=$ORACLE_HOME/bin:$PATH
    output=`sqlplus -s /nolog <<EOT
    set pages 0 feed off
    whenever sqlerror exit failure;
    connect xgbzprod/xgbzprod
    exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    cd /u01/oratest/gebiz_processed
    for fn in GEBIZ_COA_RPO000*.*; do
    # using the EXPECT utility to transfer the generated file to antoher machine
    set timeout 10
    spawn $env(SHELL)
    match_max 100000
    send -- "sftp username@IP Address\r"
    expect -exact "[email protected]'s password:"
    send -- "Password\r"
    expect -exact "sftp>"
    send -- "cd /<SFTP location>\r"
    expect -exact "sftp>"
    send -- "lcd /<Local locatoin>\r"
    expect -exact "sftp>"
    send -- "bin\r"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eof
    -- When we run the above script it failes and the script is not recognizing the other variables.
    -- We have split the procedure to keep the oracle connection in one script and another script for EXPECT utility. But we are lack of how to call the EXPECT utility in shell script.
    Please help us
    Thank
    Dhanraj Chilla

    You might want to try to better understand shell script programming. It makes it otherwise difficult for a poster to recommend you a solution. I don't believe you can expect others to do all the development and testing work for you. Since this is a forum on a volunteer basis, you might also want to consider marking helpful replies and review received answers more carefully.
    Perhaps the following will work for you:
    #!/bin/bash
    export ORACLE_SID=TEST
    export ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATH
    echo
    output=`sqlplus -s /nolog <<EOT
       set pages 0 feed off
       whenever sqlerror exit failure;
       connect xgbzprod/xgbzprod
       exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    echo "$output"
    username="oratest"
    hostname="11.10.11.159"
    password="welcome1"
    for fn in GEBIZ_COA_RPO000*.*; do
       echo "GL Chart of Accounts File Name : " $fn
    /sftp.exp "$username" "$hostname" "$password" "$fn"
    done
    #!/usr/bin/expect -f
    set username [lindex $argv 0]
    set hostname [lindex $argv 1]
    set password [lindex $argv 2]
    set fn [lindex $argv 3]
    spawn sftp $username@$hostname
    expect -exact "[email protected]'s password:"
    send -- "$password\r"
    expect -exact "sftp>"
    send -- "cd /sftp0002/uat/inbox\r"
    expect -exact "sftp>"
    send -- "lcd /u01/oratest/processed\r"
    expect -exact "sftp>"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eofP.S. The above code is very simplistic and does not take error handling into account.
    Using CURL, like I suggested in my first reply was an easier solution, since you don't need to to script Expect, but it turns out that you might need Enterprise Linux 6 or install at least CURL verison 7.19 to support sftp.

  • Scripting  for Form Guides in ES2?

    Hi,
    I started developing  guides in ES2 and able to genarate the  some  examples successfully.
    I am able to pre populate  the data  into Forms.
    But I  paused writing the script for form guides. Please  let me know good material for scripting  the form guides in ES2.
    And   more thing is how to draw static Table (normal table) on the form guides ?
    Thanks
    Praveen

    I'm not aware of any tutorial. The documentation team has not created one, but there is an overview video here:
    http://my.adobe.acrobat.com/lces2fsp_guide_based_applications/
    The help on how to create guides is here:
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/003610.html
    How to use a guide in a process is documented in the Creating Human-Centric Process section of the Workbench ES2 help:
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/000217.html
    Scott

  • Is there another name for printer code?

    I do not see where it says "printer code" on anything that I am using with the D110 printer.    Is there another name for printer code?     Please help me find.

    The printer code is the first part of the email address assigned to your printer. For instance ,everything before @hpeprint.com.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • YAIS - Yet Another Installation Script for Archlinux

    I wrote this script today and placed it in AUR. It can show you the way and make it easier to install an archlinux system.

    orschiro wrote:
    https://aur.archlinux.org/packages/yais/
    Can you provide some more information?
    Your README is not very extensive:
    yais
    Yet another installation script (for archlinux)
    I updated the README, and added a TODO to the git repo. I also rewrote the PKGBUILD. It will be OK now.

  • Can you point me to FrameScript samples that do some or all of the following?  Or maybe even write the script for me for $$$? :-)

    Hi,
    I'm brand new to writing FrameScript.  I'm looking for example scripts that I can piece together or perhaps you can give me a quote for your cost to write the script for me.  Here is a description of basically what needs doing.  We have .book files than contain say a cover.fm, multiple  chapter.fms, and possibly multiple appendix.fms.  (They actually contain more  types, but I can expand the script for that.)  I don't think here is a  consistent way to automatically determine which .fms are of which type, so I was  thinking of popping up a dialog box that showed the files in the book and asked  the user to identify which files were of which type.  This asking could be done  all at once, or it could iteratively ask for the first type then run all the  processing then ask for the second type, etc, etc.
    The processing of each file goes like  this:
    1) Delete the paragraph and character catalog  contents
    2) Import all formats, including the new paragraph and  character catalogs from correct template file (chapter.fm, appendix.fm,  etc)
    3) Remap the old paragraph and character tags to the  new ones, preferably based on an internal predefined, hard-coded table, but  possibly using the "use a remapping table that is in another .fm file" method.   It's just that the latter method requires the user to open two more .fms in  addition to the several other template files they'll already (correct?) have to  have open.
    4) Report to the user all tags that are in their file  that are not in the new catalogs
    Can you point me to pieces?  Write the whole thing?  Recommend someone who can?
    Thanks,
    Dave

    Dave, if you haven't yet check it out, do visit the Framescript users group, here:
        http://groups.yahoo.com/group/framescript-users/
    There are several folks who do contract FS work who post their contact info as part of that group (I believe there's a webring also). Also,  Rick Quatro has a good e-book "Crash Course" about learning FrameScript (although the book refers to an earlier version, almost all of the concepts are still applicable to the current versions of FS and FM) , check it out at
    http://www.frameexpert.com
    Sheila

  • 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.

  • Urgent please send code for this one ( write code by using core java)

    hi sir
    my question
    i am taking one square box .. and i divide that square in again four parts .. now i am placing one object in 1st box now i want to move that object to 2 box or third box... like that only if my object is in 1st box now i want to jump directly to 4th box
    i want that programing code the code will written BY USING CORE JAVA ONLY
    PLEASE HELP FOR THAT

    hi sirWhat if I'm a madam?
    i want that programing code Why did you post here asking for it?
    1) You are the Lead Architect at a world-class company and none of your staff of topnotch developers are able to handle this insidious task. You need to pull in outside resources for this noodler. You would use Dice, Monster, etc., but, by a freak coincidence, you happen to have had illicit trysts with the wives of several high-ranking executives in each of those companies, and as a result, have been blacklisted in perpetuity. You sought help here because you know that the denizens of this particular cyber-community are not only the best of the best of the best in the world of software development, we also happen--by yet another bizarre convergence of the unfahtomable Threads of Fate--to be the handsomest and best-endowed, dude-tube-wise. This is exactly what you need to distract your wife from your many concubines so you can continue with your plan for world dominance, which, of course, is but a small cog in the machina profunda that grinds unfailingly and inexorably toward your ultimate goal of the perfect tofu burrito.
    2) You are a lazy slimeball student who thinks it's acceptable to take credit for somebody else's work. You have no motivation, no ethics, and nothing to contribute to the society upon which you will become a bigger and more loathsome burden daily.

  • 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.

Maybe you are looking for