Something similar to 'gcstartup'  for automatic  start / stop

Hi @ll
Is there any similar to ‘/etc/rc.d/init.d/gcstartup’ script for an automatic start / stop for GoldenGate manager on a Server.
I use an OBEY command in a start.txt file with start_ogg.sh file, but there are an OEM agent , a listener and the database on this machine and I would like to start all of them automatic at ones.
Regards
jfa

Hi Nic:_W
Thank for the answer.
I have just modified the gcstartup like that :
#!/bin/sh
#Source Function Library
SU=/bin/su
DBST="N"
if [ -f /etc/oratab ]
then
oratab="/etc/oratab"
else
if [ -f /var/opt/oracle/oratab ]
then
oratab="/var/opt/oracle/oratab"
fi
fi
if [ -f "$oratab" ]
then
for i in `cat $oratab | grep -v '^#' | cut -d ":" -f2`;
do
if [ -f "$i/start_goldgate.sh" ] ;
then
user=`ls -l $i/start_goldgate.sh|awk '{print $3}'`;
if [ $1 = start ];
then
DBST='Y'
$SU - $user -c "$i/start_goldgate.sh ";
else
DBST='N'
$SU - $user -c "$i/stop_goldgate.sh ";
fi;
fi;
done
fi
and it works fine
the content of start_goldgate.sh
is
cd /orasoft/app/ogg
/orasoft/app/ogg/ggsci << EOF
OBEY /orasoft/app/ogg/startup_ogg.txt
EOF
the content of startup_ogg.txt
is :
START MANAGER
INFO ALL
exit
automatic restart of REPLICAT und EXTRACT parameters are in mgr.prm file.
Analogue for stop*/shutdown* files with 'STOP MANAGER'
regards
jfa

Similar Messages

  • How to turn of "Automatic Start/Stop Detection for HDV Caputre

    Hello,
    I'm pulling my hair out trying to capture HDV 1080i-50 without getting separate clips created by the metadata at the start and stop of each shot. It's that feature called "Automatic Start/Stop Detection." I'm not talking about "Make new clip on timecode break."
    How can I turn this Start/Stop thing off. I don't want all these **** clips everytime the cameraman hit the record button.
    Anyone know how to turn it off so it stops making separate clips?
    Thanks!
    Kirk

    Yeah, Andy. It helps to have the manual!! THANKS. It says... Select or deselect "+Create new clip on Start/Stop+ checkbox in the Clip Settings Tab of the Log and Capture window."
    It's strange that I was looking for that kind of a box in all the various settings but not in the log/capture window.
    Kirk out.

  • [SOLVED] Is there something similar to FinePrint for Linux?

    Hi,
    when I was still using Windows, I used a freeware similar to FinePrint (don't remember the name) and it was very useful. So far this is the only application I miss. Is there something similar to that available for Linux?
    Alex
    Last edited by AKL (2014-04-07 07:17:44)

    Stuff means anything that can be printed, so it is not about creating pdf's or something similar. Just to watch and edit what you want to print before you actually print it to paper, and that independent of the program  you are using.
    karol wrote:What 'stuff' is - any kind of documents or e.g. just pdfs?
    http://alternativeto.net/software/finep … form=linux -> https://aur.archlinux.org/packages/boomaga/
    That is a useful site, and boomaga seems to do the trick, thanks!

  • Something similar to lightbox for flash?

    Hi all,
    I'm searching something similar to the lightbox effect in javascript, but for flash.
    I already tried succesfully "flash lightbox v2" (http://blog.alancurtis.it/tag/flash/) but I'm searching something native for flash, without javascript.
    Is there something usefull around?
    TIA
    tony

    Lightbox like functionality in Flash is very basic and native to it. It is as simple as creating a displayobject, putting images on its display list and creating some transition effect with tween engine. But this requires knowledge of ActionScript.
    You can also do this these things on timeline manually.
    Because it is so basic, you, perhaps will not find any tutorials. Even beginner's level of Flash skills enables one to develop this kind of functionality.

  • Jobs Automatically Start- Stop via USB

    As you can tell by machine model below, I'm a mobile kind of guy. I end up printing on a cheap little HP deskjet at home, a Dell Laserjet at work, and a 42" HP plotter for class and anything else that requires large-scale plans. In the past, I was able to simply find the driver for these printers (since they weren't included like many others in Mac OS), install, and hook up the USB cable to print so I wouldn't have to get take my files to a thumbdrive to print from a network PC (pretty crappy, slow dells at that).
    Recently, the plotter driver stopped working. I would send a large file, usually EPS, from Photoshop and it would take forever and a day to process, but eventually quit on me and stop all jobs. Then the problems started happenning at work with the Dell. Here it was a large Pages file with lots of graphics or a regular EPS from AutoCAD that would stall out. Now, even at home with a simple Deskjet and a couple 100k EPS file, it is not working. Oddly enough, I was able to print one EPS file opened in Preview after an AutoCAD export, but when working with a large one I tiled for smaller sheets in Photoshop, the issue began with this printer as well.
    In all instances, jobs to the printers try to send once they're done processing, but all jobs stop after the barber-shop job completion bar cycles for a bit (anyone have a better name for that, btw?). All of these drivers worked fine until around March 21st or 22nd. I don't print every day, but that was when I first noticed the plotter driver not working.
    I can't seem to find my thumbdrive, so having USB printing capability is a necessity for current projects. Please send some suggestions.
    1.67Ghz - 17 PowerBook G4   Mac OS X (10.4.8)   2GB SD-RAMM

    The DIMMs are just fine. I would have definitely noticed if one of them wasn't working with all of the memory hungry apps I run daily. (diagnostics agree).
    I tried some advice given in other similar topics, and it didn't help much. I'm posting more than 10 lines so you can see the original problem and then results after following actions:
    E [31/Mar/2007:18:50:23 -0500] [Job 1] fatal: Opening Printer Connection Failed: Unable to open the printer connection. Please check your printer connections and check for printer errors.
    E [31/Mar/2007:18:50:24 -0500] PID 251 stopped with status 203!
    I [31/Mar/2007:18:50:24 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    I [31/Mar/2007:18:50:24 -0500] Saving printers.conf...
    I [31/Mar/2007:18:50:28 -0500] Printer 'deskjet55501' deleted by ''.
    I [31/Mar/2007:18:50:28 -0500] Saving printers.conf...
    I [31/Mar/2007:18:50:28 -0500] Printer 'deskjet55501-1' deleted by ''.
    I [31/Mar/2007:18:50:28 -0500] Saving printers.conf...
    E [31/Mar/2007:18:50:28 -0500] getprinterattrs: resource name '/printers/deskjet55501' no good!
    E [31/Mar/2007:18:50:28 -0500] getprinterattrs: resource name '/printers/deskjet55501-1' no good!
    I [31/Mar/2007:18:50:42 -0500] Saving printers.conf...
    I [31/Mar/2007:18:50:42 -0500] Printer 'deskjet_5550' started by ''.
    I [31/Mar/2007:18:50:42 -0500] Started filter /System/Library/Printers/Libraries/PrintJobMgr/Contents/MacOS/PrintJobMgr (PID 257) for job 1.
    E [31/Mar/2007:18:51:06 -0500] [Job 1] fatal: Opening Printer Connection Failed: Unable to open the printer connection. Please check your printer connections and check for printer errors.
    E [31/Mar/2007:18:51:07 -0500] PID 257 stopped with status 203!
    I [31/Mar/2007:18:51:07 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    I [31/Mar/2007:18:51:07 -0500] Saving printers.conf...
    I [31/Mar/2007:20:38:44 -0500] Scheduler shutting down normally.
    I [31/Mar/2007:20:38:47 -0500] Listening to 7f000001:631
    I [31/Mar/2007:20:38:47 -0500] Listening to 300a90:0
    I [31/Mar/2007:20:38:47 -0500] Loaded configuration file "/private/etc/cups/cupsd.conf"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/etc/cups"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/etc/cups/certs"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/etc/cups/ppd"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/etc/cups/cupsd.conf"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/var/spool/cups"
    W [31/Mar/2007:20:38:47 -0500] Repairing ownership of "/private/var/spool/cups/tmp"
    I [31/Mar/2007:20:38:47 -0500] Configured for up to 100 clients.
    I [31/Mar/2007:20:38:47 -0500] Allowing up to 100 client connections per host.
    I [31/Mar/2007:20:38:47 -0500] Full reload is required.
    E [31/Mar/2007:20:38:47 -0500] LoadAllPrinters: Unable to open /private/etc/cups/printers.conf - No such file or directory
    E [31/Mar/2007:20:38:47 -0500] LoadAllClasses: Unable to open /private/etc/cups/classes.conf - No such file or directory
    I [31/Mar/2007:20:38:47 -0500] Full reload complete.
    E [31/Mar/2007:20:38:50 -0500] getprinterattrs: resource name '/printers/ColorLaser5110cn' no good!
    I [31/Mar/2007:22:45:35 -0500] Setting DESKJET_SERIES device-uri to "usb://HEWLETT-PACKARD/DESKJET%20SERIES?serial=000000000011" (was "file:/dev/null".)
    I [31/Mar/2007:22:45:35 -0500] Setting DESKJET_SERIES printer-is-accepting-jobs to 1 (was 0.)
    I [31/Mar/2007:22:45:35 -0500] Setting DESKJET_SERIES printer-state to 3 (was 5.)
    E [31/Mar/2007:22:45:35 -0500] Unable to backup printers.conf - No such file or directory
    I [31/Mar/2007:22:45:35 -0500] Saving printers.conf...
    I [31/Mar/2007:22:45:35 -0500] New printer 'DESKJET_SERIES' added by ''.
    I [31/Mar/2007:22:49:19 -0500] Adding start banner page "none" to job 1.
    I [31/Mar/2007:22:49:19 -0500] Adding end banner page "none" to job 1.
    I [31/Mar/2007:22:49:19 -0500] Job 1 queued on 'DESKJET_SERIES' by 'dbargen'.
    I [31/Mar/2007:22:49:19 -0500] Started filter /usr/libexec/cups/filter/cgpdftoraster (PID 913) for job 1.
    I [31/Mar/2007:22:49:19 -0500] Started filter /usr/libexec/cups/filter/rastertohp (PID 914) for job 1.
    I [31/Mar/2007:22:49:19 -0500] Started backend /usr/libexec/cups/backend/usb (PID 915) for job 1.
    I [01/Apr/2007:13:20:56 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:20:58 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:00 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:02 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:03 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:06 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:08 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:09 -0500] Added remote printer "[email protected]"...
    I [01/Apr/2007:13:21:11 -0500] Added remote printer "[email protected]"...

  • Automatic start/stop streaming on FMLE 3

    Hi.
    Do exists a mode that I can program the time to start and stop automatically a live streaming?
    Thanks.

    http://forums.adobe.com/thread/738869?tstart=0
    This thread contains link of 4 other useful threads also.

  • One button for sound start & stop Flash AS3

    Hi,
    I am trying to create a sound button to start a sound and then stop it when clicked again.
    I thought it would be easy because there is a code snippet for "click to play/stop sound"
    I have my sound file in my library.
    Below is the code that is not working:
    Instructions:
    1. Replace "http://www.helpexamples.com/flash/sound/song1.mp3" below with the desired URL address of your sound file. Keep the quotation marks ("").
    CYOA2bttn.addEventListener(MouseEvent.CLICK, fl_ClickToPlayStopSound_11);
    var fl_SC_11:SoundChannel;
    //This variable keeps track of whether you want to play or stop the sound
    var fl_ToPlay_11:Boolean = true;
    Proxy-Connection: keep-alive Cache-Control: max-age=0 Cp>function fl_ClickToPlayStopSound_11(evt:MouseEvent):void
        if(fl_ToPlay_11)
            var s:Sound = new Sound(new URLRequest("CYOA2.wav"));
            fl_SC_11 = s.play();
        else
            fl_SC_11.stop();
        fl_ToPlay_11 = !fl_ToPlay_11;
    CYOA2bttn is my button and CYOA2.wav is my sound file.
    The error that comes up when I try to test the Flash file is:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
        at CYOA_fla::MainTimeline/fl_ClickToPlayStopSound_11()
    ANY SUGGESTIONS!?
    Help PLEASE

    hi
    if the mp3 is in your library (in your fla) then the code is slightly different...
    first, right-click on the sound in the library and select properties. Then tick "Export for ActionScript", and enter a name in "Class" (eg: mySound).
    Then amend your code:
    replace:
    var s:Sound = new Sound(new URLRequest("CYOA2.wav"));
    with:
    var s:Sound = new mySound();
    (replace "mySound" with whatever you entered for "Class" above.

  • Keyboard Shortcut for Record Start/Stop?

    Soundbooth had keyboard shortcuts for everything except what I need.  I just want to be able to record tracks without hearing the click of my mouse at the end.  It seems like a pretty obvious and basic function, but I don't see anything in the help file on it.  Is there some workaround?

    With the Record dialog open, you can use the Space bar to start and stop the recording process.

  • Automate start/stop essbase service using Maxl or batch

    Hi - how would my batch or Maxl file look like if I wanted to come out with a script to stop and start my essbase service? The reason why i am doing this is because I wanted to stop the essbase service, so that I can archive the essbase.log file.
    I am on essbase 7.0, I have read on some postings that stopping and starting the essbase service can potentially corrupt the sec file. If so, then is there any other way of archive the essbase.log file so that it does not grow to megs.
    Thanks.

    Hi,
    You could use the following maxl
    alter system shudown;
    it may be useful to stop all the applications first e.g.
    alter system unload application all;
    or you can use windows command line
    net stop essbaseservicename
    and to start
    net start essbaseservicename
    Another method to backup the essbase.log is to make a copy of the log then use maxl to delete the log.
    alter system clear logfile;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Something Similar to iPhoto for Windows? (In-laws computer, help!)

    I have been tasked with updating the in-laws computer. Part of that task included regular maintenance such as spyware removal, virus scans, defragging the hard drive, and general clean up/organization. It also includes installing Service Pack 2, which I am doing right now. May luck be on my side.
    Next I'm installing iTunes and will attempt to get their music library in order.
    But the thing I'm having the most problem with is finding a suitable photo editing program for their computer that is similar to iPhoto. Mostly, I just want a program that takes their photos from the camera and organizes them into a library. When I had Windows over 2+ years ago, I had no idea how frustrating it is to sort your photos without iPhoto. Now I couldn't live without it. They have the same problem - no organization whatsoever when it comes to photos. They've got photos EVERYWHERE, most of them have about 4 copies because they haven't learned how to delete the photos from the camera after importing them into the computer.
    Anyone have any ideas on any photo programs for Windows that are similar to iPhoto?
    G5 1.6   Mac OS X (10.4.3)  

    glb:
    There is no equivalent to iPhoto for PCs. There are other image management applciations. The only one I'm familiar with for the Windows environment is iView Media. However the user will have to upload the camera to a select folder each time and then have iView catalog those files. You can have iView upload to a folder but you should established some folder hierarchy system beforehand to keep confusion to a minimum. If you go to VersionTracker.com on the Windows side and search for image management or image browser you're bound to get a lot of potential candidates for the job.
    Or you could be the best son-in-law going and get them a Mac Mini. They can use their existing keyboard, mouse and monitor. Ha. Good luck.

  • Need something similar to Pixelmator for 10.6.8

    I tried to download Pixelmator, but got a message saying that you need at least 10.9.1, and I have 10.6.8.
    Does anyone know of a similar app to Pixelmator that will work on 10.6.8?
    (What I need to do is to "paint" a bunch of single clips from a movie so they mask some incorrect colors.)

    If you really still want Pixelmator
    You can still get the old boxed version of Pixelmator on Amazon.
    I believe that version is only either 1.5 or 1.6.
    http://www.amazon.com/Smith-Micro-Software-Inc-PXMMBX2/dp/B002ABOYXG/ref=sr_1_2? ie=UTF8&qid=1430736433&sr=8-2&keywords=p…
    There is, also, older versions of Adobe Photoshop Elements like version 11.
    http://www.amazon.com/Adobe-Photoshop-Elements-OLD-VERSION/dp/B0093FROMA/ref=sr_ 1_5?ie=UTF8&qid=1430736999&sr=8-5&keywor…

  • Something similar to Zend_Form for Coldfusion

    Does anyone know of a component or framework that would allow you to create forms and their elements dynamically within Coldfusion as zend_form does?

    Teckno,
    I agree with Ian's suggestion too.
    In riaforge, you can find two projects that suits zend_form,
    http://cftl.riaforge.org/
    http://cfuniform.riaforge.org/
    HTH

  • How do I stop Itunes from automatically starting on my PC

    Whenever I start my PC, all of a sudden as I'm working away in dfferent programs, Itunes will pop up automatically. I do not want this to continue to happen. I only wish Itunes to open when I ask it to open. How do I disable this function.

    I appreciate the help attempt greatly, however, I do not have an Iphone, only an Ipod that I use with Itunes. Basically I have Itunes on my Windows PC, (NOT MAC) and it just has a mind of its own and opens randomly, whenever. I have scanned and searching the Itunes application for something to click off for automatically run, or something to that effect and I see nothing. There has to be a way to disable Itunes from running automatically. It has nothing to do with whether or not my ipod is attached.

  • How do I keep ITunes from automatically starting when I boot my PC?

    Everytime I start my PC, my I tunes starts automatically. I close it an it automatically starts again 5-6 minutes later. It happens when my IPhone is not connected. The problem began immediately after I updated to the new IPhone iOS 5 software.

    I appreciate the help attempt greatly, however, I do not have an Iphone, only an Ipod that I use with Itunes. Basically I have Itunes on my Windows PC, (NOT MAC) and it just has a mind of its own and opens randomly, whenever. I have scanned and searching the Itunes application for something to click off for automatically run, or something to that effect and I see nothing. There has to be a way to disable Itunes from running automatically. It has nothing to do with whether or not my ipod is attached.

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

Maybe you are looking for

  • Keeps coming up with not responing how can I fix this

    Every time I open up my web browser I get " not responding" and have to wait. I did a refresh for firefox but that did not help. Was hoping the update would have cured that problem but it did not. This has been going on for quite some time and it is

  • Win 8 Pro Recovery

    Hi I can not get to HP for assistance... Warranty expired. I have a HP Pavilion G7 laptop. I had a crash and lost my OS Win 8 Pro w/MCenter  and need a revovery disk. The one I made when I bought the laptop 1 1/2 years ago...has no Boot info so it is

  • Operations Console 2012 Kaput (Win7)

    So for some reason the Operations Console no longer works on my workstation. Trying to launch it causes a crash in MMC: Log Name:      Application Source:        Application Error Date:          6/11/2012 3:21:23 PM Event ID:      1000 Task Category:

  • MSS iView - General Data

    Hi All, I copied the "General Data" iview from MSS biusiness package. I am on EP7. When i view this page, i see "Contract Data", "Communications Data", "Organisational Assignment" and "Personnel Structure". I want to remove "Communications Data" from

  • Does the new smart cover work with old iPad?

    Hello, as the subject Does it work? because I'm very interested about it!