Shell script to get the mail whenever the primary or standby DBs down

Hi,
Can any one please provide the shell script to monitor the primary and standby databases, such that whenever the primary or standby database is down we have to get the mail.
Thanks,
Mahi

Hi Mahi,
in 10g you can configure this through EM dbconsole which will be very easy.
(i am not sure if this exists in 9i EM)

Similar Messages

  • Running a shell script in a Cocoa-Applescript, from the Resources folder?

    Hello!
    I need to use a bash script, but the script must be IN the application. I placed them in the "Supporting files", but i am not able to find them using "do shell script"
    Thanks!

    If you stick the script in the Resources folder you can get it by
    path to resource "Bash Script"
    If you want to put it in the folder Supporting files you need to construct the path
    (path to me as string) & "Contents:Resources:Supporting files:Bash Script"
    (where Bash Script is the name of your script)
    Don;t know if there is a shorter way for the second case.

  • HT2500 how do i get my mail from the pop server to my inbox

    Can someone please help me ! I'm sure I did something by accident and don't know how to fix it. My problem is i don't see any emails in my inbox, however my account info says there is mail on the pop server. how do i get the mail from the pop server to my inbox?
    thank you for helping

    First try rebuilding your Inbox.
    Select the Inbox.
    Under Mailbox in the Menu bar select Rebuild (last option in list)
    Note: If you delete a POP account in Mail, it will delete any messages in the Inbox. It does not delete your custom folders or your sent messages.
    If the messages have been deleted and are no longer on the server, you can restore from Time Machine.
    Let us know if this helps.

  • The PO get automatically mailed to the vendor

    hi friends,
    help needed!!!!!!!!!!!
    is it possible that after release at all level of PO , the PO get automatically mailed to the vendor... if yes then how.
    regards,
    rashmi

    Hello,
    Go to NACE
    - Select EF and click on OUTPUT TYPES.
    - Then select Output Type NEU and click on processing routines
    - In that you have to add a new entry - medium 5
    - Then you need to assign a program, form routine and form.
    - You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    - Then in PARTNER FUNCTION you need to add a new entry: medium - 5 and function - VN
    - For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN &
    - Under General data -> Replacement of text symbols give program as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE
    - Now the subject will be PO No. xxxxxxxxx.
    - You need to maintain your email id in tcode SU01 and also the vendor's email id. - Now while creating a new purchase order change the medium to External Send
    - Then go to Communication Method and select CS01 ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN&
    - Go to tcode ME9F
    - Execute.
    - Select the checkbox and click on Output Message.
    - You will get a message MAII XXXXXXXXXXX generated
    thanks,
    santosh

  • Hi I opened a word attachment to an email on my gmail account and I don't know how to get rid of it so I can access my emails. When I tap the mail icon the word doc appears, not my email account. Does anyone know how to get rid of it?

    I opened a word attachment to an email in my gmail account and now I can't get rid of it. When I tap the mail icon the doc appears not my emails. Can anyone help?

    1. Double-click the Home button reveal the Task Bar
    2. Hold the Mail icon down for a minute or two until the minus sign appear
    3. Hit the minus sign to close the Mail icon

  • HT201320 when my phone goes and gets my mail, can i get it to remove the mail from the server.

    when my phone goes and gets my mail, can i get it to remove the mail from the server.

    Only if it's a POP3 server. IMAP and Exchange synchronize the server and all clients.

  • Ever since I upgraded my iphone4 to iOS6, I can't get my mail on the phone

    Ever since I upgraded my iPhone4 to iOS 6, I can't get my mail on the phone, I get a window that pops up that says:  "Cannot Get Mail"  The mail server "imap.gmail.com" is not responding.  What am I doing wrong?

    Hi Friend,
    Which kind of account you are using?
    If you are using a business account (for example [email protected]) you must set POP account info properly, filling all the blank fields (name, email address, description, password, Host Name, user's name, SMTP). Just one field blanked causes error in sending/receiving.
    If you are using a default account (iCloud, Yahoo!, Hotmail...), fill all the blanck fields (Name, Email account, Password, Description) and sign in.
    If not works, delete the account and sign in again
    Hope it will be helpful

  • What is shell scripting? get me notes of that... how shell script is relate

    what is shell scripting? get me notes of that... how shell scripting is related to sql or plsql?

    shell scripting is the process of creating programs which are able to execute using a shell.
    a shell is the program you use when you are logged in to a linux (or unix) system via ssh (or if you are outdated by 10 years: telnet).
    there are much shells, traditionally, unix system use the bourne shell (visible as sh most of the time), the kornshell (ksh) and c-shell (csh) extended the bourne shell functionality. nowadays there are very much shells, most linux systems use the bourne again shell (bash). the bash shell is available for most linux/unix systems, I always advise to use it on any system, so the shell functions the same on all platforms.
    if you want to know more about shell scripting, use "google". the website of google is http://www.google.com, and usage is free. use the keywords "bash shell scripting".

  • Shell Script Adapter - getting errors while configuring

    Hi,
    I am trying to configure a shell script adapter for one of my AIX resource.
    the following are the values I gave to test the configuration
    1. host
    2. tcp port (22)
    3. login user
    4. password
    5. login shell prompt (#)
    6. connection type SSH
    with these values, I tried to test the configuration, I get the following errors,
    Test connection failed for resource(s):
    Shell Script: Failed to find 'useradd' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' Shell Script: Failed to find 'usermod' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' Shell Script: Failed to find 'userdel' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' Shell Script: Failed to find 'groupadd' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' Shell Script: Failed to find 'groupmod' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' Shell Script: Failed to find 'groupdel' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin'
    is this a privilege issue?
    please let me know so that I can get the appropriate privilege from my sysadm to proceed further.
    thanks.

    Hi, thanks for your response.
    I got sudo access as root to the AIX resource.
    Initially, NOPASSWD was set for my sudo privilege. using that I tried configuring the adapter, but I got errors like "Script failed waiting for "ASSWORD:" in response ",)#+(:" . I looked at the forums and was informed that I would need to 'UN-SET' the NOPASSWD attribute. I got that attribute un-set . but now I get the error
    WLP_SmartScript_Original: Failed to find 'groupadd' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' WLP_SmartScript_Original: Failed to find 'groupmod' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin' WLP_SmartScript_Original: Failed to find 'groupdel' in the path '/usr/bin /etc /usr/sbin /usr/ucb /home/eumusr/bin /usr/bin/X11 /sbin . /usr/local/bin'
    Not sure why Sun should check this. these commands are not part of AIX. right? can you please tell me where I am going wrong?

  • Power shell script for get a content db for a particular web application

    Hi
    what  is the power shell script for get a content db for a particular web application
    Get-SPDatabase 
    adil

    try this one
    Get-SPContentDatabase -webapplication http://url
    this will return all the database for the web applications.
    Get-SPContentDatabase -site http://contoso.com
    this will return the database name in which the contose site collection is.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • HT3376 I have a Yahoo plus account. When I set up the mail account the Bulk Mail (Trash), Deleted Messages,Draft,Drafts,Junk, and Sent Folders all appear on my iPhone. Is there a way to prevent this?

    I have a Yahoo Account. When I set up the mail account the  Bulk Mail, Deleted Messages, Draft, Drafts, Junk, Sent, and Sent Messages appear on all of my iPhones, my PC, my Macbook and any other wifi product that receives mail. Can anyone tell me how to get rid of these duplicate mailbox folders??
    Thanks

    I just called apple care to even know how to respond to this answer. I am very old and this was my first post ever. I appreciate you taking the time to give me an answer. I also ask them how to delete this account because every time I log in it wants me to change my password and I have run out of passwords. I don't even know what it means when it ask me the community I want to be in.
       The only thing I know about syncing is syncing my iPhone to my MacBook Pro. I apologize that I am so technically stupid. Does mail have syncing???
    Thank you even if I never figure out how to get back to this site again.

  • Want to delete all the mails in the mail box configured for BPM Portal

    Hi All,
    Do you have idea to perform this activity.
    I want to delete all the mails in the Dev mail box configured for BPM Portal.
    Server and mailbox details as given below :
    Mail a/c = Y00123
    Mail server = sap.mail.com
    Thanks, Sanjay

    http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
    http://www.jguru.com/faq/view.jsp?EID=17035
    if you know the password of the account, i think you can also access the mail using mail client, like you use outlook to deal with your company mail daily.

  • My mail is set up but when I touch the mail icon the screen is blank with a message saying 'no message selected' then goes straight to home page. I have rebooted, deleted and reloaded my email account but nothing is working.

    My mail is set up and it comes up with 75 messages received but when I click onto the mail icon the page is blank(White) with the message 'no message selected' and then goes to the homepage.  I have rebooted the iPad and deleted and reloaded my mail account but nothing works.

    The app is crashing for some reason - maybe an email with a very large attachment or some crappy spam email is messing things up. Quit the mail app.
    Go to the home screen first by tapping the home button. Quit/close mail by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on the mail app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close it.  Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If mail still crashes, go to your webmail in a browser and see if you have an email in there that might be causing a problem and delete it. Then try the app again. If necessary, quit the app, restart the iPad and then try again.
    If that doesnt help, try a reset. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How can I make MFE delete the mails from the serve...

    guys,I am using mfe on my E63 with mail2web free account.I configured gmail to retrieve my hotmail mails then I configured gmail to forward my mails to my mail2web account.I did that so I dont have to have more than one mailbox on my phone and to be able to check my all accounts from one account which is mail2web via mfe.but my problim is when I delete an email via mfe from my phone its not been deleted from mail2web servers.I mean when I login on pc I see all the mails that I have been deleted.can I make the phone to also delete the mails from the server? thanx
    my blog on the net(in arabic):http://bazkurd.wordpress.com

    WaMuHIP07 wrote:
    Right-click the videos that you want to always start from the beginning in iTunes. The options tab of the video file properties contains this option control. Uncheck the box that says "Remember Play Postion."
    Or hit the left side of your scroll wheel when launching it on your iPod

  • Do we need to create the mx records if the send/receive the mail in the same organization?

    1,May I know do we need to create the mx records if we send/receive the mail in the same organization?
    2,If we send /receive the mail between two different organization/forest, we need to create the mx records  ,is it right?
    Please click the Mark as Answer button if a post solves your problem!

    1,May I know do we need to create the mx records if we send/receive the mail in the same organization?
    2,If we send /receive the mail between two different organization/forest, we need to create the mx records  ,is it right?
    Please click the Mark as Answer button if a post solves your problem!
    for 1. If you mean the same Exchange org, no.
    For 2, it depends. You need a MX record for your receiving SMTP server ( At least, You *should* have one), but if sending to another org, not necessarily, as you could smarthost messages to it and a MX would not be required.
    Just curious, what problem are you trying to solve?
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

Maybe you are looking for

  • Block and Unblock a GR/IR Account

    Team, I Blocked a GR/IR account to update open item management field. After the program finished I went back and unblocked account, I am able to post directly to the account, however receiving warehouse still gets a message that account is blocked ev

  • My Apple ID is locked for 90 days and can't even purchase anything

    I had my personal Apple ID and I made an second Apple ID for my business. I logged into my iphone6 with that second business apple ID - this apple ID has no credit card information at all. then I tried to log into my personal previous apple ID - this

  • Having problem with Ipad Air battery?

    when I was watching Youtube, my Ipad Air ran out to 3% battery, then I plugged in the charger. It showed charging but it still shut down because out of battery. It's never happened to my Ipad 2

  • How to check if file already exist in application server?

    Hi there, Does anyone know a quick way to check if a file has already exists in an application server? Thanks in advance. Cheers.

  • Capitalization of Assets after MIRO ( Invoice Reciept)

    Hi Gurus Our system allows for capitalization of Assets after MIGO ( Goods Receicpt) Client wants to capitalize assets only after MIRO ( Invoice Receipt). System should not be able to do capitalization after MIGO. Do we need to make any changes to co