Mail service on start/stop of services ...

Hi,
Please let me know the way to send mail when services are started/stopped in oracle application 11.5.10.2. How to configure this on ibm aix 5.3.
Thanks,
Sai Ram

There is a way to configure emails on startup/shutdown of Concurrent Manager service - but I'm not aware about any such configuration around other services (eg. Apache, Apps Listener, Forms Server etc..)
I think you'll have to do this outside Oracle's scripts if you wish to set this up - either by wrapping the calls to seeded scripts in your own custom script, or if you want a periodical probing, then via use of cron/scheduler depending on the OS you're on.
Hope that helps.
Regards,
Rakesh
PS : In addition to the Concurrent Managers, I think you should be also able to achieve this for database services if you wish to do that - by use of startup and shutdown database triggers.

Similar Messages

  • Creating a Business Service for Start/Stop Application Service in CCB 2.3.1

    Hi,
    I'm in the process of creating a BPA script that invokes a Business Service to perform a Start/Stop for a given Account ID/Premise ID combination. The Business Service is using the base Application Service: Start Stop (CILCSSEP). I am moving the Account ID and Premise ID, along with the start date and requested by fields to the data area of the Business Service, prior to invoking it. When I invoke the Business Service via the BPA script, it throws the below error message... I'm at a loss because the BILL_ADDR_SRCE_FLG is being set to a default of "PREM" on the Business Service Schema:
    A Bill Address Source is required on the address override record. Please enter a valid value.
    One of these two is true:
    1) The Bill Route Type on this record has a Bill Routing Method of 'Postall', or
    2) The main customer on the Account has a Quote Route Type with a Quote Routing Method of 'Postal'.
    In either case, the Bill Address Source must be populated with a valid value.
    If you need support please supply the following info to system support:
    Message number: 3, 59204
    Business Service: CMSTARTSERVICE
    Application Service: CILCSSEP
    Schema:
    <schema pageAction="fastChange">
    <accountId mapField="ACCT_ID"/>
    <df mapField="DEFAULT_FOR_FLG"/>
    <startDate mapField="STRT_START_DT"/>
    <startOption mapField="STRT_TYPE_FLG"/>
    <premiseId mapField="STRT_PREM_ID"/>
    <premAddress mapField="ADDRESS1"/>
    <premCity mapField="CITY"/>
    <startCisDiv mapField="STRT_CIS_DIVISION"/>
    <startReqBy mapField="STRT_STRT_REQ_BY"/>
    <bldStrtSaSw mapField="BUILD_START_SA_SW" default="true"/>
    <accountIdtwo mapField="ACCT_ID2"/>
    <mainCustPerId mapField="MAIN_CUST_PER_ID"/>
    <billFrmtFlg mapField="BILL_RTE_TYPE_CD" default="POSTAL" private="true"/>
    <billAddrSrcFlg mapField="BILL_ADDR_SRCE_FLG" default="PREM"/>
    <billAddrSrcFlg2 mapField="BILL_ADDR_SRCE_FLG2" default="PREM"/>
    <startStopTelephoneOverride type="list" mapList="OVRD_PHONE">
    <accountId mapField="ACCT_ID"/>
    <sequence mapField="SEQ_NUM"/>
    <phoneType mapField="PHONE_TYPE_CD"/>
    <internationalPrefix mapField="COUNTRY_CODE"/>
    <phone mapField="PHONE"/>
    <extension mapField="EXTENSION"/>
    <version mapField="VERSION"/>
    </startStopTelephoneOverride>
    <startBtn mapField="ACTION_START_SW" default="true" private="true"/>
    </schema>
    I'm running CC&B 2.3.1 - Any help in pointing me in the right direction to get this working would be greatly appreciated, Thanks!
    Regards,
    Jack

    Hi,
    Can you try and do this transaction online and see if the error occurs as well? If so run it with traces on and check for the details just before the error is thrown. ( you can also switch on debug via the service call, but it may be easier to debug when doing this online. ) I am predicting this error will occur also when you do it online.
    When you are using an Account with its main Person set up with BILL_ADDR_SRC_FLG as PREM you will need a valide PREM_ID on the CI_ACCT record for MAILING_PREM_ID and the premise needs to have a switch set to YES indicating it is a Mailing Address type Premise.
    Good luck
    Arjen

  • SQL Command to Start/Stop SQL services for multiple server

    From Central server I want to Start/Stop SQL services and SQL Agent service. Is there any SQL command which I can execute on query analyzer which can Start/Stop SQL services?
    Rahul

    See command line options here using net start
    http://msdn.microsoft.com/en-IN/library/hh403394.aspx
    You can invoke them using xp_cmdshell from management studio as
    ie like below for default instance
    EXEC xp_cmdshell 'net start MSSQLSERVER'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT'
    etc
    and below for named instance
    EXEC xp_cmdshell 'net start MSSQLSERVER$instancename'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT$instancename'
    etc
    and use net stop for stopping services
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to check/start/stop hardening Service?

    Dear All,
    I want to check on Solaris 10 whether it has hardening service or not, and also want to start/stop this service.
    Please give any idea or advice.
    Thanks and regards,
    Heng

    Hi Heng,
    System hardening requirements changes from environment. So It should be designed to suit your infrastructure. The topic is too big to discuss here.
    I will give some examples of major things done in hardening.
    User level Security.
    1) Password complexity
    2) Restrict multiple login attempts.
    3) Log all failed login attempts
    4) configure pam module
    5) Use RBAC to deligate
    6) Restrict root login to console only.
    7) disable passwordless logins to any users
    8) disable services like rsh rlogin and related services and restrict access through ssh only.
    9) ENABLE & Configure BSM
    10) Enable Auditing
    11) disable/lock all unused system accounts.
    12) enable password encryption (/etc/shadow)
    Network Security
    1) Disable all unwanted services. (svcadm disable service on solaris 10)
    2) disable unused nonsecure services like telnet, ftp etc.
    3) tcpwrapers (restrict the network communication to the required subnets only)
    4) disable unwanted inetd services
    etc etc etc... discussed very few things from the normal hardening, and these things vary from environment to environment.
    Regards
    JKGN
    Edited by: 878434 on May 25, 2012 1:16 AM

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

  • Start / Stop Window services

    Hi,
    I would like to start and stop window services on remote computer.
    Do you know if there is a package API in java to do it?
    How can I do it?
    Thanks,
    Anat

    Look for www.jscape.com
    you can ftp or telnet to the computer, then start the command for that service
    this is the code for ftp
    * FtpExample.java
    * Created on 01 March 2007, 10:30
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package testing;
    * @author Administrator
    import com.jscape.inet.ftp.*;
    import java.io.*;
    import java.util.Enumeration;
    public class FtpExample extends FtpAdapter {
        private String hostname;
        private String username;
        private String password;
        public FtpExample(String hostname, String username, String password) {
            this.hostname = hostname;
            this.username = username;
            this.password = password;
        // print out directory listing
        public void getListing() throws FtpException {
            Ftp ftp = new Ftp(hostname,username,password);
            //capture Ftp related events
            ftp.addFtpListener(this);
            ftp.connect();
             ftp.setDir("www");
            String results = ftp.getDirListingAsString();
            System.out.println(results);
            ftp.disconnect();
        // captures connect event
        public void connected(FtpConnectedEvent evt) {
            System.out.println("Connected to server: " + evt.getHostname());
        // captures disconnect event
        public void disconnected(FtpDisconnectedEvent evt) {
            System.out.println("Disconnected from server: " + evt.getHostname());
        public static void main(String[] args) {
            String hostname;
            String username;
            String password;
            try {
                FtpExample example = new FtpExample("ftplocation e.g 192.168.0.1","username","password");
                example.getListing();
            }catch(Exception e) {
                e.printStackTrace();
    }

  • Order of services to start& stop essbase?

    Hello,
    I ahev installed essbase server,administartion,client. then in which order i have to start the console,admin...n all.
    what is difference between essbase ,essbase administartion, n console.
    Please clear my doubt.
    Thanks

    Stopping the applications in following order:
    "Hyperion S9 BI+ 9.3 Financial Reporting Web application"
    "Hyperion S9 BI+ 9.3 Workspace"
    "Hyperion S9 BI+ 9.3 Financial Reporting Scheduler Server"
    "Hyperion S9 BI+ 9.3 Financial Reporting Report Server"
    "Hyperion S9 Administration Services "
    "Hyperion S9 BI+ Analytic Services 9.3.1 - Hyperion"
    "Hyperion S9 Shared Services"
    "Hyperion S9 OpenLDAP"
    Start the applications in following order:
    "Hyperion S9 OpenLDAP"
    "Hyperion S9 Shared Services"
    "Hyperion S9 BI+ Analytic Services 9.3.1 - Hyperion"
    "Hyperion S9 Administration Services ATS5"
    "Hyperion S9 BI+ 9.3 Financial Reporting Report Server"
    "Hyperion S9 BI+ 9.3 Financial Reporting Scheduler Server"
    "Hyperion S9 BI+ 9.3 Workspace"
    "Hyperion S9 BI+ 9.3 Financial Reporting Web application"
    Regardz
    Cnee

  • User profile synchronization service wont start after SharePoint Service pack SP2

    Hi
    -Using SharePoint 2010 with 1 appserver and 2 frontend webservers on Service Pack2. (ms server 2008r2, SQLServer2008r2).
    -Farmaccount has been set to local admin on all sp servers.
    -Firstly, the User Profile Service Application runs fine and is started. Dont mix it with the User profile synchronization Service.
    Prior to installing SP2 User profile service application and user profile synchronization service were running fine.
    The first thing I did after the installation of SP2 was running the:
    -psconfig -cmd upgrade -inplace b2b -wait
    As SharePoint setup user (spadmin).
    This ran fine on the 2 front end web servers.
    However i got one fault on the Appserver:
    I have also tried:
    PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
    which led to same resulting error.
    So I tried to start the Use profile synchronization service as suggested manually by logging on with the Farmaccount, starting the user profile synchronization service through Central Administration. This led to Stuck on Starting status. 
    The windows services Forefront had status starting, then stopped.
    One question:
    Prior to starting the User profile synchronization service through Central Administration. What account and startup status should the 2 Forefront Windows Services have? (Automatic and local system?) or (Automatic and Farmaccount?) or (Disabled and Local
    system?) or (Disabled and farmaccount?). Because i know that SharePoint UPA will provision these services though Central Administration. However what is the default state prior to starting the Synchronization service?
    So i continue...
    Since it was stuck on starting i stopped it with:
    stop-SPServiceInstance -identity <upaSyncguid>
    which gave me:
    Stop-SPServiceInstance : An object of the type Microsoft.SharePoint.Administrat
    ion.SPServiceInstanceJobDefinition named "job-service-instance-36bdf2ef-58f2-45
    e5-8f78-ab75f646611a" already exists under the parent Microsoft.SharePoint.Admi
    nistration.SPTimerService named "SPTimerV4". Rename your object or delete the
    and i could fix with:
    #Stop the stopping:
    stsadm -o provisionservice -action stop -servicetype "Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles,
    Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" -servicename FIMSynchronizationService
    I also removed the forefront certificate from personal - certificate store, as this is provisioned when user profile synchronization service is provisioned.
    That set the Central Administration Status on the User profile synchronization Service to disabled. Fine.
    Everytime i tried to start the user profile synchronization service (logged on as farmaccount), left it for 10-15 min and did iisreset and restart sharepoint timer service, and also tried rebooting the appserver. No change.
    A thought, is it important to restart timer service and do iisreset on the two frontend servers after trying to start the user profile synchronization service on the appserver?
    I'm getting to the point were i just want to delete the whole service application and set it up anew...
    any tips will be greatly appreaciated.
    brgs
    Bjorn

    You're very welcome, hope it helped, if not the I suggest you clear the configuration cache as follows.
    The config cache is where config settings are stored locally on the Microsoft SharePoint server, so a SQL call isn’t required.
    To clear the cache:
    Stop the SP Timer service. To do this, follow these steps:
    Click Start, point to Administrative Tools, and then click
    Services.
    Right-click SharePoint 2010 Timer, and then click Stop.
    Close the Services console.
    On the computer that is running Microsoft SharePoint Server 2010 and on which the Central Administration site is hosted, click
    Start, click Run, type explorer, and then press ENTER.
    In Windows Explorer, locate and then double-click the following folder:
    %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID
    Notes
    The %SystemDrive% system variable specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.
    The GUID placeholder specifies the GUID folder. There may be more than one of these.
    The ProgramData folder may be hidden. To view the hidden folder, follow these steps:
    On the Tools menu, click Folder Options.
    Click the View tab.
    In the Advanced settings list, click Show hidden files and folders under
    Hidden files and folders, and then click OK.
    You can also simply type this directly in the path if you do not want to show hidden files and folders.
    Back up the Cache.ini file. (Make a copy of it. DO NOT DELETE THIS FILE, Only the XML files in the next step)
    Delete all the XML configuration files in the GUID folder (DO NOTE DELETE THE FOLDER). Do this so that you can verify that the GUID folders content is replaced by new XML configuration files when the cache is rebuilt.
    Note When you empty the configuration cache in the GUID folder, make sure that you
    do NOT delete the GUID folder and the Cache.ini file that is located in the GUID folder.
    Double-click the Cache.ini file.
    On the Edit menu, click Select All.
    On the Edit menu, click Delete.
    Type 1, and then click Save on the
    File menu. (Basically when you are done, the only text in the config.ini file should be the number 1)
    On the File menu, click Exit.
    Start the Timer service. To do this, follow these steps:
    Click Start, point to Administrative Tools, and then click
    Services.
    Right-click SharePoint 2010 Timer, and then click Start.
    Close the Services console.
    Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm.
    Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
    Check in the GUID folder to make sure that the xml files are repopulating. This may take a bit of time.
    BRGS
    Mishagri

  • Oracle and Instance Service Not Starting After Win2K Service Pack 4 Install

    Please help
    We are running Oracle 8.1.6 on Windows 2000 Server and everything ran fine. Our Network Admin installed Windows service pack 4 and now after a reboot we have to manually go in and start Oracle because it does not start automaticially.
    I've looked everywhere and cannot find any documented resolution to this problem.
    Regards,
    Andy

    If you completely patched your server then it might be related to the problems some of us are experiencing with a certain MS patch. Check this thread for more details:
    ORACLE NOT AVAILABLE..ORA 01034

  • How to stop and start (restart) portal services programmatically?

    Hi experts,
    I develop a portal service IMaintenanceService extending IService.
    The new service has some profile properties (start date, end end, etc.).
    I wrote another portal application MaintenanceManager which can change these profile properties.
    However, to activate the changes I have to restart the portal service.
    Does anyone know how I can restart the portal service IMaintenanceService from my portal application MaintenanceManager?
    Thanks for help.
    Edited by: Daniel Fötsch on Nov 21, 2011 8:24 AM

    please see the metalink note
    How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
    This is how i startup and shutdown WMA
    for stopping :
    1) login to Applications tier
    2) To see if the MWA (telnet) server is running use:
    ps -ef|grep DPID
    3) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa
    for starting
    1) login to Applications tier
    2) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa

  • Windows Server 2008 - Group policy for domain client to start/stop services installed on it

    Hello Experts
    I am a newbie to windows server administration , though did a Google  , but ended up with these question with my requirements
    I have created a new domain and 2 client/computer (A & B namely) to domain . Now A & B has tomcat server running with port 8080 , 9090 which i have installed
    domain ADMIN account .
    && now i am want to start/stop/restart services enabled for domain users  !! How do i achieve this !!
    basic question : How can i access A & B tomcat services on DOMAIN CONTROLLER server to create a GPO and that are on (A & B)
    what is the easiest way to achieve the same , (if not using GPO)???
    similarly I am looking for many features : where I want to control the permission to user on (A & B ) like : If the binaries of tomcat is available on machine say : A , if the user can install (now
    it ask for ADMIN credentials) 
    Thanks
    Mike~Ed

    Controlling services with Group Policy is done under Computer Configuration\Policies\Windows Settings\Security Settings\System Services.
    The limitation is that system services can only see the services the computer running the Group Policy management console. To access other services, you will either need to create the services on your computer (install the software the adds the service)
    or install the remote server administration toolkit (RSAT) on the computer with the service already on it.
    If my answer helped you, check out my blog:
    Deploy Happiness

  • BI server start/stop services

    Hi,
    We have OBIEE installed on a unix server. Previoulsy I worked on OBIEE on windows server and would go to services and start/stop services. My question is if we modify the rpd and ftp it to unix server, do we have to stop and start the BI server for the modified rpd to work. Is it mandatory to stop the BI server, ftp the rpd and then start BI server again. Or if we do not stop the BI server and just do Refresh matadata from Answers..will this work? Thanks.

    Hi User,
    You should restart the services if u ftping the rpd to unix means deploying the rpd to effect the changes
    When comes to refresh metadata this ll work in case when the rpd opened in online mode and some one has made changes to get the available changes u have to do "Refresh Metadata"
    Thanks,
    Saichand.v

  • Service start stop scripts and Nagios scripts

    Hello. Are there some "official" service start stop scripts somewhere? And: Has somebody already written a Nagios monitoring script for Oracle NoSQL? Thanks, Jesus.

    Hi. Yes, but I mean something like service kvclient start / stop / restart / status, and using e.g. daemon without nohup. Of course one can be written, e.g. I have a simple one based on a script I found in internet long time ago for Cassandra, but then by Murphy's Law you will probably have an "official" one in the .124 version : - ).

  • How to start OracleOraDb10g_home1iSQL*Plus service from command line (PC)

    After installing 10G, I now have a service with this name: OracleOraDb10g_home1iSQL*Plus
    I need to be able to start/stop the service from windows 2000 command line,
    BUT "net start OracleOraDb10g_home1iSQL*Plus" DOES NOT WORK.
    Adding quotes around the service name does not solve the problem either.
    Both attempts give "The service name is invalid" errors.
    Can anyone provide a solution?
    THANKS!

    Sorry, but none of the suggestions works. Thanks for trying though.
    1) Renaming the service only changes the display name, and then when you use "net start", it errors with: "The service name is invalid"
    2) call isqlplus start errors with "isqlplus is not recognized as an internal or external command..."
    3) You cannot execute isqlplussvc.exe directly either.
    Any more suggestions?

  • OLAP Service not started

    I have Installed Oracle9i Enterprise Edition on a Win 2000 m/c. During the installation steps I choose the pre configured database type to be for data warehousing.
    Installation was smooth without any errors. However I do not see any OLAP services running. Also I do not see any /bin folder under ORACLE_HOME/OLAP as refered in some of the forums discussion topics.
    Can anybody help me out to get OLAP enabled.

    We are going to need more information to figure this out. We will need to take a look at your logs. Here are the steps to create them:
    Please change the path to fit into your environment.
    - Set a SYSTEM environment variable
    variable: OES_EA_STARTUP
    value: -LogOutput=VDBG
    - Reboot the PC
    - Stop OLAP Agent if it's running
    - Edit a registry key under HKEY_LOCAL_MACHINE
    [Software\ORACLE\OLAP\ExpressServer\OLAPServer\I/O Management]
    EventLogPath = (REG_SZ) "c:\oracle\ora90\olap\OLAPServer\log"
    - Create the corresponding directory if there isn't.
    - Rename the following log files for backup
    %ORACLE_HOME%\olap\OLAPServer\log\OLAPService.log
    %ORACLE_HOME%\olap\log\OLAPServicesAgent.log
    - Make sure that Oracle and tnslistener service are running
    - Make sure that you can connect as olapsvr/instance in sqlplus
    - Start Oracle OLAP Agent from services applet
    - Start OLAPServer from services applet
    - The following two files will be generated.
    %ORACLE_HOME%\olap\OLAPServer\log\OLAPService.log
    %ORACLE_HOME%\olap\log\OLAPServicesAgent.log
    Pleaser email me your logs. Thanks.

Maybe you are looking for

  • Info showing incorrect hard drive space

    Inside the finder the hard drive is showing about 23 gigs used after deleting user file (5g applications, 12 gig library, 6 gig system, 15 megs user) and creating new one (in order to sell) but get info on the hard drive icon is showing 52 gigs used.

  • Creating a photo collage on a Mac

    Hi. I'm relatively new to Mac and iPhoto. Is there a way to create a collage of say 15 or 16 pictures so I can print it out as a poster? I know Roxio has a photo program for Windows. Is there an equivalent for Mac? Thank you.

  • Query abort - invalid character

    Following screario: I have 2LIS_03_xx extractor. This extractor contains 0POSTXT. This field contains sometimes 001, 002, 003, 004, etc. Not always. But sometimes. Now the user wants to analyse this textfield. In detail: only 001, 002, 003,....the ot

  • Problems signing in

    I need some help here. Please follow this quick link and let me know if you have any solution. I emailed Apple but it might be a wait. http://www.ehmac.ca/anything-mac/55394-apple-itunes-store-ca-signing.html

  • Error code 2147220308 when first use of NI sb rio 9632

    Hello, Our lab bought NI sb rio 9632 by 2012. I am trying to make the robot works for the first time. According to the "Quick Start Guide", once the robot is connected to the computer, the "National Instruments Robotics Hardware Setup" (New robotics