Script not executing the CALCDEFAULT

I've got a load script which gets run everynight, using ESSCMD, which loads new data into an essbase cube, this all seems to work OK, but it doesnt recalculate the cube data.
If I run the calcdefault from within the EAC all is OK. Can someone advise on what I'm doing wrong?
LOGIN "XXX" "XXX" "XXX";
UPDATEVARIABLE "SQL_SOURCE" "" "Dealing" "" "3G.UAT";
SELECT "Dealing" "OpenPos";
DISABLELOGIN;
BUILDDIM 2 "B_AREA" 4 "XXX" "XXX" "build.log"
BUILDDIM 2 "B_DATE" 4 "XXX" "XXX" "build.log"
BUILDDIM 2 "B_LOAD" 4 "XXX" "XXX" "build.log"
BUILDDIM 2 "B_MKT" 4 "XXX" "XXX" "build.log"
IMPORT 4 "XXX" "XXX" 2 "L_DATA" "N" "dataload.log"
CALCDEFAULT;
ENABLELOGIN;
EXIT;

Hmm, if you had an IFERROR statement in your code (should I go into lecture mode -- nope, you know what I'm going to write about untrapped steps in a script -- lecture mode off) I wouldn't be all that surprised -- an error occured and it branched out.
However you don't have error traps so it sounds like Esscmd just up and quit.
I guess you won't know if it works or not till you run it again.
Why don't you throw a SPOOL (I can't remember if that's the Esscmd or MaxL command -- whatever Esscmd uses to log STDOUT and STDERR to a text file) into your code and see where it's failing?
You should also be able to look in the application log and see what happened there.
Regards,
Cameron Lackpour

Similar Messages

  • Runtime.exec not executing the command !

    Hi all,
    I'm connecting to Progress Db thru JDBC trying to execute a stored procedure
    which has a statement
    Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet .
    when i run this code as a seperate java program it executes the script
    "aa" but thru JDBC connection it does not execute the command
    what could be the reason ???
    thanx in advance,
    Nagu.

    Hi Rick,
    "aa" is the shell script which is lying in the user DIR .
    It is returning a non-zero value. what kind of permissions be there for to execute the Shell command?
    Regards,
    Nagarathna.

  • Could not execute the css file

    Hi,
    I have this code:
    named: email11.java
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    import business.User;
    import data.UserDB;
    import util.MurachPool;
    public class EmailServlet extends HttpServlet{
    private MurachPool connectionPool;
    public void init() throws ServletException{
    connectionPool = MurachPool.getInstance();
    public void destroy() {
    connectionPool.destroy();
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException{
    Connection connection = connectionPool.getConnection();
    HttpSession session = request.getSession();
    String message ="";
    try{
    Vector users = UserDB.readRecord(connection);
    session.setAttribute("users", users);
    RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(
    "/email11/show_email_entry.jsp");
    dispatcher.forward(request, response);
    }catch(SQLException sqle){
    message = "EmailServlet SQLException: " + sqle;
    session.setAttribute("message", message);
    RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(
    "/email11/join_email_list.jsp");
    dispatcher.forward(request, response);
    connectionPool.freeConnection(connection);
    and this code in jsp file:
    named: show_email_entry.jsp
    <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ taglib uri="../WEB-INF/tlds/murach.tld" prefix="mma" %>
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="DisplayData.css">
    </head>
    <body>
    <h1> Test</h1>
    <table cellspacing="0" cellpadding="1" border="1">
    <tr valign="bottom">
    <td class="headerColumn" align= "center">First Name</td>
    <td class="headerColumn" align= "center">Last Name</td>
    <td class="headerColumn" align= "center">Address</td>
    <td class="headerColumn" align= "center">Phone Number</td>
    <td class="headerColumn" align= "center">Cell Number</td>
    <td class="headerColumn" align= "center">Email Address</td>
    </tr>
    <mma:users>
    <tr>
    <td><%= firstName %></td>
    <td><%= lastName %></td>
    <td><%= address %></td>
    <td><%= phoneNumber %></td>
    <td><%= cellNumber %></td>
    <td><%= emailAddress %></td>
    </tr>
    </mma:users>
    </table>
    </body>
    </html>
    This is the css file code that I like to apply to the show_email_entry.jsp
    named: Displaydata.css
    This rules are for background color for data display
    /*td.column{
    background-color: #f0f8ff;
    background-color: #fffacd;
    td.headerColumn{
    background-color: #daa520;
    font-weight: bold;
    font-family: sans-serif,Verdana, Arial, Helvetica;
    font-size: 10pt;
    td.column{
    font-family: sans-serif,Verdana, Arial, Helvetica;
    font-size: 10pt;
    white-space: nowrap;
    background-color: #fffacd;
    a{
    text-decoration: none;
    h1{
    color: red;
    They are working fine. However, it just does not execute the css file in the show_email_entry.jsp. Another word, the headerColumn should show some color as I coded it in the css file. But it shows only white background and black text. I have the file named DisplayData.css in the same directory as the file named show_email_entry.jsp. But it still does not work.
    if I create a test.jsp and use with the DisplayData.css file above then it would work fine. But when I used it with the servlet file, then it would not work.
    Anyone knows why ?
    Thanks
    zbonzbon

    Pls, disregard this thread. I have found my answer..
    Thanks,
    zbonzbon

  • Servlet not executing the a file at server?

    i am trying to execute a java file at server
    using the following servlet. I am using
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java"); I am compiling the code succesfully
    and when i call the servlet at browser it displays HELLO
    but not executing the command. I am using Tomcat and winows NT.
    here the servlet code ....please help.........
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Hello extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello</H1>\n" +
    "</BODY></HTML>");
    try
    Runtime runtime=Runtime.getRuntime();
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01 \\bin\\javac HelloServlet.java");
    BufferedReader br=new BufferedReader(new InputStreamReader(proc.getInputStream()));
    PrintWriter com_out=response.getWriter();
    com_out.println("<pre>");
    String line=null;
    while((line=br.readLine())!=null)
    { com_out.println(line);
    catch (Exception e)
    out.println("Listener *not* started!");

    thanku for the cooperation. i kept as below but still it is not working.......
    String path = getServletContext().getRealPath("C:\\Tomcat 4.1\\webapps\\examples\\WEB-INF\\classes\\Hello.class");
    Runtime runtime=Runtime.getRuntime();
    Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java" +path );                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Could not execute the job

    Hi,
    when i execute the job a a window appear with the massage" ERROR: could not execute the job .Error returned was 1
         MESSAGE is : Could not open command file...
    And i can't find from where it comes any suggestion?

    When today i execute the job i had this list of error
    13860    15384    REP-100109        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100109        27/05/2014 08:22:10       Cannot save <History info> into the repository. Additional database information: <SQL submitted to ODBC data source
    13860    15384    REP-100109        27/05/2014 08:22:10       <SIGSIRDDB01\SQLSIRDBD> resulted in error <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object
    13860    15384    REP-100109        27/05/2014 08:22:10       'dbo.AL_HISTORY_INFO' in database 'DS_REP' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded
    13860    15384    REP-100109        27/05/2014 08:22:10       files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files
    13860    15384    REP-100109        27/05/2014 08:22:10       in the filegroup.>. The SQL submitted is <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME",
    13860    15384    REP-100109        27/05/2014 08:22:10       "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100109        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100109        27/05/2014 08:22:10       TXT') >.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    and thank u.
    Sincerly

  • Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update

    Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update.
    How/Where to increase the relationship count?
    The message which I can see :
    Warning:
    This specification has exceeded the number of parent relationships allowed by Where Used. The Where Used tool only supports up to 500 parent relationships.
    Thanks

    This really brings up a larger topic around change management.
    The questions you should start with is
    1. What kind of change is happening to the raw material? 
    2. Will this change affect anything upstream inside or outside of PLM4P? (Will this change affect nutrition, compliance, the ingredient statement, the label etc?)
    3. Who needs to approve this change?
    If they are non-material changes (changes that don't affect theoretical calculations, the ingredient statement, labeling, upstream systems that need to be notified etc) then you should be using get latest revision instead of global succession.   Get Latest Revision will automatically switch out the material with the latest approved version.  This logic is also configurable in case you need to add additional guard conditions.   We can also provide guidance around locking the get latest revision lock once a specification has reached the retired/obsolete state so changes won't occur for specifications in those statuses.
    If the changes to the raw material are material changes (changes that affect calculations, labeling etc) then the change should be reflected with a copy of the specification.  Dependent specifications then need to be re-issued so calculations can be performed and the appropriate workflow reviews can occur.   Smart Issue allows for filtering based on status and should let you re-issue in smaller blocks. 
    Let me know more about your change management strategy, how often large material changes happen and maybe example causes for those mass changes.  We can also schedule a change management training session for everyone where we can share our vision and tools available for change management.  This topic is quite large and generally requires a lot of business process discussion beyond just the tools available. 
    Thanks
    Kelly

  • A nested exception occurred. Could not execute the function

    Hi Experts,
    Post upgrade of SAP Portal from 7.0 to 7.31, and when we click any application related to visual composer it shows the below error.
    and the default trace shows
    #2.0 #2014 07 22 02:34:11:243#0-700#Error#visualComposer_NWBIKit_logger#
    #EP-PIN-PRT#tc~epbc~prtc~core#C000A7EEAF63014200000002000019B9#11738650000000004#sap.com/com.sap.visualcomposer.BIKit#visualComposer_NWBIKit_logger#C921154#36##E220BC96117411E4C8F2000000B31E1A#519cf5b0118311e48b43000000b31e1a#519cf5b0118311e48b43000000b31e1a#0#Thread[HTTP Worker [@2079636611],5,Dedicated_Application_Thread]#Plain##
    A nested exception occurredCould not execute the function
    [EXCEPTION]
    com.sapportals.connector.execution.ExecutionException: A nested exception occurred. Could not execute the function.
    at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewExecutionLocalizedException(SAPConnectorException.java:193)
    at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:617)
    at com.sap.portal.guimachine.bikit.query.bw.QueryViewFlatRfc.execute(QueryViewFlatRfc.java:209)
    at com.sap.portal.guimachine.bikit.designtime.bw.BWResultsetProcessor$ExecuteHandler.execute(BWResultsetProcessor.java:399)
    Please give us your valuable inputs to solve this.
    Thanks in advace!!
    Regards,
    Preetha Balan

    Hi Colin,
    Sorry for the delay in response!!
    Yes SAP gave patch VC70RUNTIME file to apply to get rid of this error.
    Even asked us to follow the sap note
    1532050 - Disabling error messages that pop up at runtime
    Hope this helps you
    Thanks,
    Preetha Balan

  • Error "The application could not execute the required function"

    Hi All,
    When I try to activate the DTP the following error occurs."the application could not execute the required function".
    I was able to activate the DTP for the same DataSource 2 days back but now I am unable to activate .
    Kindly suggest what could be the possible reason for the same.
    Regards,
    Santosh Mani

    If you have transformation, check it is active. Is the object 0plant is acitve or not?
    Ravi Thotahdri

  • Tcode opens selection screen, but does not executes the program

    Hi!
    tcode opens selection screen of a custom program, but it seems that it does not executes the program itself.
    Sounds strange, but how to explain this if I can run a program manually with no problem and it displays result screen, but when I try to run the program with tcode - it opens selection screen but program quits before displaying result screen. I was putting a breakpoint at the begining of the program - it does not triggers debuger when running a tcode (it triggers debugger if to run program manually).... any ideas?
    Help will be appreciated,
    Mindaugas

    Are you using this???
          SET PARAMETER ID '80B' FIELD T_TABLE-OPBEL.
          CALL TRANSACTION 'FPE3' AND SKIP FIRST SCREEN.
    That way it should work....
    Greetings,
    Blag.

  • Modified Functional module not executing the inserted Code

    Hi everyone
    I've modified the IW_C_CREATE_TRANSPORT_REQUEST Functional module so that it calls the GUI_EXEC FM which calles my java script which saves the transport ID with a filename specified. The code seems to work when i test it within SAP, but when i come to use STARTRFC to call the function, the added code dosen't seem to be executing, the transport still gets created but my javascript is not being called?
    Anyone know why?
    Thanks - Peter
    Code following
    FUNCTION IW_C_CREATE_TRANSPORT_REQUEST.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(DESCRIPTION) LIKE  E07T-AS4TEXT
    *"     VALUE(TRANSPORT_KIND) LIKE  E070-TRFUNCTION DEFAULT 'K'
    *"     VALUE(LANGU) LIKE  SY-LANGU DEFAULT 'EN'
    *"     VALUE(CQ_ID) LIKE  E070-TRKORR DEFAULT 'FileName'
    *"  EXPORTING
    *"     VALUE(COMMFILE) LIKE  E070-TRKORR
    *"     VALUE(PROG_PATH) LIKE  E070-TRKORR
    *"     VALUE(CLASSNAME) LIKE  E07T-AS4TEXT
    *"  EXCEPTIONS
    *"      LANGUAGE_MISSING
    *"      NUMBER_RANGE_FULL
    *"      UNALLOWED_TRFUNCTION
    *"      NO_AUTHORIZATION
    *"      CREATE_TRANSPORT_ERROR
    CLEAR COMMFILE.
    CASE TRANSPORT_KIND.
      WHEN 'P'.
    Stücklisten für Releasewechsel
        IF NOT LANGU IS INITIAL.
          PERFORM CREATE_RELEASE_REQUEST
            USING    LANGU
                     DESCRIPTION
                     TRANSPORT_KIND
            CHANGING COMMFILE.
        ELSE.
        keine Sprache angegeben und Transportart Stücklisten
          RAISE LANGUAGE_MISSING.
        ENDIF.
      WHEN OTHERS.
    Alle anderen Transporte
      PERFORM CREATE_REQUEST
        USING    DESCRIPTION
                 TRANSPORT_KIND
        CHANGING COMMFILE.
    ENDCASE.
    *{ INSERT SM1K900042 1
    WRITE 'Entering My Pogram'.
    PROG_PATH = 'java.exe'.
    CLASSNAME = '-cp c: writeToFile'.
    CONDENSE CLASSNAME.
    CONDENSE PROG_PATH.
    CONCATENATE CLASSNAME CQ_ID COMMFILE INTO CLASSNAME SEPARATED BY ' '.
    CALL FUNCTION 'GUI_EXEC'
    EXPORTING
    PARAMETER = CLASSNAME
    COMMAND = PROG_PATH.
    WRITE 'Our path is'.
    WRITE PROG_PATH.
    WRITE CLASSNAME.
    *} INSERT
    ENDFUNCTION.
    *************************FORMS****************************************
          FORM CREATE_RELEASE_REQUEST                                    *
    Transportauftrag für Stücklisten erstellen                           *
    FORM CREATE_RELEASE_REQUEST
      USING    P_LANGU              LIKE SY-LANGU
               P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      DATA: SUBRC         LIKE SY-SUBRC,
            H_TMP_LANG(2) TYPE C,
            H_NUMBER(3)   TYPE C,
            NUMBER(4)     TYPE C.
    Anwednungslog öffnen
      PERFORM OPEN_LOG
        USING P_TRANSPORT_DESCRIPT.
    *Nummer ziehen
      PERFORM GET_NUMBER USING    P_LANGU
                         CHANGING H_NUMBER
                                  SUBRC.
      IF     SUBRC = 12.
    Fehler beim erstellen des Transportauftrags
        RAISE CREATE_TRANSPORT_ERROR.
      ELSEIF SUBRC = 11.
    Nummernkreis voll
        RAISE NUMBER_RANGE_FULL.
      ELSE.
        WRITE P_LANGU TO H_TMP_LANG.
        P_COMMFILE = 'SAPKXXXLYY'.
        REPLACE 'XXX' WITH H_NUMBER     INTO P_COMMFILE.
        REPLACE 'YY'  WITH H_TMP_LANG   INTO P_COMMFILE.
        CALL FUNCTION 'SUBST_CREATE_COMMANDFILE'
             EXPORTING
                  IV_KORRNAME          = P_COMMFILE
                  IV_KORRTYPE          = P_TRANS_KIND
                  IV_KORRTEXT          = P_TRANSPORT_DESCRIPT
             EXCEPTIONS
                  NAME_COLLISION       = 1
                  CREATE_HEADER_FAILED = 2
                  UPDATE_HEADER_FAILED = 3
                  OTHERS               = 4.
        IF SY-SUBRC <> 0.
          CLEAR P_COMMFILE.
        Fehler beim Erstellen des Transportauftrags
          RAISE CREATE_TRANSPORT_ERROR.
        ELSE.
        Transportauftrag erstellt
        Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        ENDIF.
      ENDIF.
    ENDFORM.                               "CREATE_RELEASE_REQUEST
          FORM CREATE_REQUEST                                            *
    Transportauftrag erstellen                                           *
    FORM CREATE_REQUEST
      USING    P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      CALL FUNCTION 'TRINT_INSERT_NEW_COMM'
           EXPORTING
                WI_KURZTEXT   = P_TRANSPORT_DESCRIPT
                WI_TRFUNCTION = P_TRANS_KIND
           IMPORTING
                WE_TRKORR     = P_COMMFILE
           EXCEPTIONS
             NUMBER_RANGE_FULL       = 1
             INVALID_INPUT           = 2
             NO_AUTHORIZATION        = 3
             OTHERS                  = 4.
      CASE SY-SUBRC.
        WHEN 0.
      Auftrag erstellt
      Anwednungslog öffnen
          PERFORM OPEN_LOG
            USING P_TRANSPORT_DESCRIPT.
      Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        WHEN 1.                             "Nummernkreis für Aufträge voll
          CLEAR P_COMMFILE.
          RAISE NUMBER_RANGE_FULL.
         p_error_msg-no = '735'.
        WHEN 2.                             "Unbekannter Auftragstyp
          CLEAR P_COMMFILE.
          RAISE UNALLOWED_TRFUNCTION.
         p_error_msg-no = '353'.
        WHEN 3.                             "keine Berechtigung
          CLEAR P_COMMFILE.
          RAISE NO_AUTHORIZATION.
         p_error_msg-no = '328'.
        WHEN 4.                             "Allgemeiner Fehler
          CLEAR P_COMMFILE.
          RAISE CREATE_TRANSPORT_ERROR.
         p_error_msg-no = '353'.
      ENDCASE.
    ENDFORM.                               "create_request
    FORM OPEN_LOG                                                        *
    Anwedungslog öffnen                                                  *
    FORM OPEN_LOG
      USING P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT.
    *init application log
      PERFORM LOG_INIT USING C_APPL_LOG_TRANSPORT.
    *log header
      PERFORM LOG_HEADER
        USING C_APPL_LOG_TRANSPORT P_TRANSPORT_DESCRIPT.
    ENDFORM.                             "OPEN_LOG
    FORM WRITE_LOGFILE                                                   *
    Logfile in den Anwendungslog schreiben                               *
    -> P_TRANSPORT_DESCRIPT                                              *
    FORM WRITE_LOGFILE
      USING P_COMMFILE           LIKE E070-TRKORR.
    DATA: H_ERROR_MSG LIKE IWERRORMSG.
    *log message transport created
      CLEAR H_ERROR_MSG.
      MOVE '42'  TO H_ERROR_MSG-ID.
      MOVE 'I'   TO H_ERROR_MSG-TYPE.
      MOVE '733' TO H_ERROR_MSG-NO.
      MOVE P_COMMFILE TO H_ERROR_MSG-V1.
      PERFORM LOG_MSG
        USING C_APPL_LOG_TRANSPORT '2' H_ERROR_MSG.
    *log save
      PERFORM LOG_SAVE
        USING C_APPL_LOG_TRANSPORT.
    ENDFORM.              "WRITE_LOGFILE
          FORM GET_NUMBER                                               *
    -->  LANGU                                                         *
    -->  NUMBER                                                        *
    FORM GET_NUMBER
      USING    LANGU   LIKE SY-LANGU
      CHANGING NUMBER  TYPE C
               SUBRC   LIKE SY-SUBRC.
      CONSTANTS: OBJECT LIKE INRI-OBJECT VALUE 'SIWBTRANSP'.
      DATA: NR_RANGE LIKE INRI-NRRANGENR,
            RETURNCODE LIKE  INRI-RETURNCODE,
            ERROR_MSG LIKE IWERRORMSG.
      CLEAR SUBRC.
      NR_RANGE = '01'.
      CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
                NR_RANGE_NR             = NR_RANGE
                OBJECT                  = OBJECT
                SUBOBJECT               = LANGU
           IMPORTING
                NUMBER                  = NUMBER
                RETURNCODE              = RETURNCODE
           EXCEPTIONS
                INTERVAL_NOT_FOUND      = 1
                NUMBER_RANGE_NOT_INTERN = 2
                OBJECT_NOT_FOUND        = 3
                QUANTITY_IS_0           = 4
                QUANTITY_IS_NOT_1       = 5
                INTERVAL_OVERFLOW       = 6
                OTHERS                  = 7.
      CASE SY-SUBRC.
        WHEN 00.
        WHEN 01.
          PERFORM NUMBER_RANGE_INTERVAL_INSERT
                  USING      NR_RANGE  LANGU
                  CHANGING   NUMBER
                             RETURNCODE.
        WHEN OTHERS.
          SUBRC = 12.
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_ERROR 736 SY-SUBRC SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
      ENDCASE.
      CASE RETURNCODE.
        WHEN ' '.
        WHEN '1'.                          "Nummer im kritischen Bereich
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 734 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 2 ERROR_MSG.
        WHEN '2'.                          "letzte Nummer vergeben
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 735 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
          SUBRC = 11.
      ENDCASE.
    ENDFORM.                               "number_get
    Message was edited by:
            Peter Lai

    Hi i've tried restarting and starting the server, but it didn't help, would it have anything to do with the fact i'm callin sap which is calling JAVA from a .exe program. The .exe program is having problems connecting to the JAVA program as there is no link?
    I did a trace as well and this is what it came up with:
    Error in program 'startrfc': ======> Exception condition "NO_BATCH" raised.
    >>>> [1] <unknown>    : EXT  <ac: 7> L DDSLOCTE01 >>> CLOSE abrfcrcv.c 429 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    *> RfcReceive
            handle = 1
             Data conversion On
    Error in program 'startrfc': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    Error in program 'startrfc': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
    >>>> [1] <unknown>    : EXT  <ac: 8> L DDSLOCTE01 >>> FREE abrfcio.c 3517 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    *> RfcClose called by external program ...
            handle = 1
    *> rfcClose called by RFC-Library in file: abrfc.c, line: 532
            handle = 1
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    <* rfcClose
    >* RfcClose
    Any help or ideas what it could be would be great

  • Tmadmin in unix script not executed in cron

    Hi,
    I have a script in HP UX that is using tmadmin and pclt to know the no of users that are currently using the system.
    Let me call this script as myscript.sh.
    #!/bin/sh
    count = ' echo pclt | tmadmin | grep <search string> | wc -l '
    echo $count
    When the script is run in command line, (./myscript.sh) I am getting the results or the no of users. BUT when the script is put in cron , I have '0' output. It appears that tmadmin is not being executed when the script is called inside crontab.
    I did specified the PATH environment variable, and hard coded the directory when tmadmin is located but still tmadmin is not executed.
    Can someone help me on this ? Thanks.

    Hi,
    You need more than the Tuxedo bin directory in your path. You also need the TUXDIR, APPDIR, and TUXCONFIG environment variables set. Add setting those to your script before invoking tmadmin and you should be good to go, assuming the account the cron job is running under has access to the TUXDIR and APPDIR directories.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Patches with pre and or post patch scripts not executable -- why?

    In my frustration with update manager hangs I have had to kill processes and restart and even manually unjar files and patchadd. Sometimes I run across the error that the pre or post patch scripts are not executable. I have in the past chmod 744 and patchadd then applies the patch. This has happened several times in my latest patch update. I also had a patch ( X11) that implied a lack of entitlement but the manual patchadd showed that the real problem was a missing prerequisite patch.
    My questions are:
    1. is this lack of executable permission on scripts ( pre and post) by design and am I missing the correct procedure?
    2. missing prerequisite scripts? why?
    3. out of frustration --- IS THIS PATCHING UTILITY THE BEST THAT SUN CAN DO?

    Update Manager is sometimes a little flaky, particularly on unpatched systems (as it uses many different utilities). I would suggest that if you are having problems then you should use smpatch instead - it's not really any more difficult to use and is often much quicker.
    If a patch has a script that is not executable that is not a fault of updatemanager, but a fault with the patch itself (being archived with incorrect settings) or possibly your umask setting, which should ideally be globaly set to 0022 prior to patching to prevent problems during extraction and application.
    If updatemanager has complained about a lack of entitlement I would tend to believe that this was the case, check the contents of your entitlement file:
    # cat /var/sadm/spool/cache/entitlement/*entitlement_clientYou may be missing SolarisAllUpdates or other entitlements - please post the output.
    Sun do offer other patching tools, but what is best for one person/company may not be the best for all. There is also the possibility that you don't have it setup correctly - I would ask that you run the attached script and upload the output file generated to our [Support Uploads|http://supportuploads.sun.com/] site.

  • Securely deploying and using credentials within a script (not running the script under the credentials)

    Here is my scenario - I have SCOM 2007 R2 and on certain agents I want to execute a script. One of the actions of that script is to access a secured web page using a username and password via integrated authentication (IE pop-up for auth).
    The username and password that I need to use are unrelated to the Windows domain that the servers run in, meaning you can think of the website as if it were a public site (it isn't, but it has no security sharing with the domain where the agents run - no trust,
    no nothing).
    I can easily accomplish this by hard-coding the username and password within the script (powershell), however, I don't want to do this for security reasons. Here's a rough example of the relevant code:
    $targetURL = "https://somehost.somewhere.something/filename.zip"
    $path = "c:\downloads\filname.zip"
    $wclient = New-Object System.Net.WebClient
    $wclient.Credentials = New-Object System.Net.Networkcredential($uname, $pword)
    $wclient.DownloadFile( $url, $path )
    What I want is a way to pass the $uname and $pword variables to this script securely, with the script running on a schedule under SCOM. The SCOM agents run as localsystem and need to remain that way.
    I currently use Run-As accounts and profiles for other functions where the entire script runs under the run-as profile, but I can't figure out how to extract the username and passwords, and doubt it's even possible.
    To be clear, I cannot run the script under the given credentials as a Run-As account as those credentials are not known to the local server. I need to somehow pass the credentials to the script (other than hardcoding) or extract them from the run-as accounts.
    I've looked at the get-runasaccount cmdlet and can see some of the info there, but don't see a way to re-use, pass-through, or extract the password for use in my scenario.
    Any guidance? Can I get there from here?

    Hi, check this
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ebfc706d-93be-4ca0-83e0-33d9e072fb97/powershell-script-monitor-with-encrypted-password?forum=operationsmanagerauthoring
    But you should not specify runas account for your workflow, just reference Runas Username and Password from Profile and use simple authentication. (The same way as in article above)
    So in the end your script will be executed by default action account but you'll pass username and password securely to your script.

  • Script not executing EOF

    Hi Frinedz,
    We are in the process of implementing flash copy backups for one of our production database.
    we have two instance running.
    for which i've created the following script wen I am trying to execute a script which is having the following content it is not executing,
    echo "*** Start Oracle PROD Backup Begin ***"
    echo " "
    echo " "
    su - oracle -c "sqlplus system/manager@PROD" << EOF
    @/scripts/TKM/flash_copy/new/begin_backup_ebs.sql;
    @/scripts/TKM/flash_copy/new/begin_backup_ebs_run.sql;
    alter database backup controlfile to trace;
    alter system archive log current;
    exit
    EOF
    echo " "
    echo " "
    echo "*** End Oracle PROD Backup Begin ***"
    echo " "
    echo " "
    exit
    Im getting the following error...
    *** Start Oracle PROD Backup Begin ***
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 21 16:41:05 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    Warning: You are no longer connected to ORACLE.
    SQL> SP2-0640: Not connected
    SQL> SP2-0734: unknown command beginning "SP2-0640: ..." - rest of line ignored.
    SQL> SP2-0640: Not connected
    SQL> SP2-0640: Not connected
    SQL>
    *** End Oracle PROD Backup Begin ***
    Plz suggest me..!!!!

    I agree that the env is probably incorrect. A few points to consider
    - background environments like cron do not have any real environment set up;
    - the more professional way to set up env would be to use oraenv, not hard code paths - especially since it sets up PATH correctly;
    - the command is currently in quotes. That may be throwing the entire bungee cord over the bridge;
    - the usual way of running a (su -c) would be to call a second script which in itself is designed to standalone in the target user env;
    - su almost implies from root, and living in root is a less-than-stellar way to do Oracle admin
    IOW, I'd probably suggest
    script 1: (runback.sh)
    #!/bin/bash
    echo "*** Start Oracle PROD Backup Begin ***" | tee >> /var/opt/oracle/backup.log
    echo `date` | tee >> /var/opt/oracle/backup.log
    echo " "
    echo " "
    # Set the environment
    ORAENV_ASK=NO
    ORACLE_SID=PROD
    # may need /usr/local/bin/oraenv in place of the next line.
    . oraenv
    unset ORAENV_ASK
    # Hopefully the database is not really running with system's password 'manager'
    # Have we really modified the default FHS to include /scripts?
    # Use 'silent' and NOLOG * untested, going from memory *
    sqlplus -S /NOLOG << EOF
    rem
    rem This technique avoids displaying a password in 'ps' output
    rem
    connect system/manager@PROD
    @/scripts/TKM/flash_copy/new/begin_backup_ebs.sql;
    @/scripts/TKM/flash_copy/new/begin_backup_ebs_run.sql;
    alter database backup controlfile to trace;
    alter system archive log current;
    exit
    EOF
    echo " "
    echo " "
    echo `date` | tee >> /var/opt/oracle/backup.log
    echo "*** End Oracle PROD Backup Begin ***" | tee >> /var/opt/oracle/backup.log
    echo " "
    echo " "
    exit
    script 2: (callback.sh)
    #!/bin/bash
    su oracle -c {path to}/runback.sh

  • Dbora script not executing all startup processes

    Hi,
    I am running Oracle10gR2 on RHEL4. I am having issues with my dbora script. I read quite a few of the posts about it and most people were having similar issues as me. However, I was still not able to get it to work properly. I am going to paste my dbora script and all the other things that I am suppose to do like edit the /etc/oratab file. The main problem I am having is that not all the process that need to be started are starting up. I've been messing around with the /etc/rc.d/init.d/rc.2..rc.3...rc.4...etc files and trying different combinations and they all give me different results. However, the one thing that never starts up is the database. I can get the listener to work and sometimes http server also, but never the database. And another weird thing is that when I check the logs (/var/log/boot.log) it says that the opmn process, for example, has been started, but when I check the status it is down. Here is how things look now.
    The /etc/oratab file
    # This file is used by ORACLE utilities. It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator. A new line terminates
    # the entry. Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    FPRCQA:/opt/app/oracle/product/10.2.0/db_1:Y#
    # *:/opt/app/oracle/product/10.2.0/http_1:N
    *:/opt/app/oracle/product/10.2.0/http_1:N
    -- The /etc/rc.d directory
    /etc/rc.d/rc4.d/S99dbora
    /etc/rc.d/rc4.d/K01dbora
    /etc/rc.d/rc3.d/S99dbora
    /etc/rc.d/rc3.d/K01dbora
    /etc/rc.d/rc5.d/S99dbora
    /etc/rc.d/rc5.d/K01dbora
    /etc/rc.d/rc1.d/K01dbora
    /etc/rc.d/rc2.d/S99dbora
    /etc/rc.d/rc2.d/K01dbora
    /etc/rc.d/rc6.d/K01dbora
    /etc/rc.d/rc0.d/K01dbora
    -- The dbora script
    #!/bin/bash
    # chkconfig: 35 99 10
    # description: Starts and stops Oracle processes
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_DB_HOME=/opt/app/oracle/product/10.2.0/db_1
    ORA_HTTP_HOME=/opt/app/oracle/product/10.2.0/http_1
    ORA_OWNER=oracle
    ORA_LSNR=LSNR_FPRCQA
    case "$1" in
    'start')
    # Start the TNS Listener
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl start $ORA_LSNR"
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_DB_HOME/bin/dbstart
    # Start the Intelligent Agent
    if [ -f $ORA_DB_HOME/bin/emctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/emctl start agent"
    elif [ -f $ORA_DB_HOME/bin/agentctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/agentctl start"
    else
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl dbsnmp_start"
    fi
    # Start Management Server
    if [ -f $ORA_DB_HOME/bin/emctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/emctl start dbconsole"
    elif [ -f $ORA_DB_HOME/bin/oemctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/oemctl start oms"
    fi
    # Start HTTP Server
    if [ -f $ORA_HTTP_HOME/opmn/bin/opmnctl ]; then
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl start"
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl startproc -ias_component=HTTP_Server"
    fi
    # Start iSQL*Plus
    if [ -f $ORA_HTTP_HOME/bin/isqlplusctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/isqlplusctl start"
    fi
    touch /var/lock/subsys/dbora
    'stop')
    # Stop iSQL*Plus
    if [ -f $ORA_DB_HOME/bin/isqlplusctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/isqlplusctl stop"
    fi
    # Stop HTTP Server
    if [ -f $ORA_HTTP_HOME/opmn/bin/opmnctl ]; then
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl stopall"
    fi
    # Stop the TNS Listener
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl stop $ORA_LSNR"
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_DB_HOME/bin/dbshut
    rm -f /var/lock/subsys/dbora
    esac
    # End of script dbora
    exit 0
    I would also appreciate if someone could tell me how these rc.2 execute and what order.
    Thank you all.

    Ok, I have tried your combination as well as other ones for the runlevels and they all took an hour or more to get the server back up again. The current configurations bring up the server within a few minutes, however, the database nor opmn process is starting. I was wondering if you could still help me? Here is my current runlevel configuration and /var/log/boot.log file. Notice the dbora entries. Thanks!
    /etc/rc.d/rc4.d/K10dbora
    /etc/rc.d/rc3.d/S99dbora
    /etc/rc.d/init.d/dbora
    /etc/rc.d/rc5.d/S99dbora
    /etc/rc.d/rc1.d/K10dbora
    /etc/rc.d/rc2.d/K10dbora
    /etc/rc.d/rc6.d/K10dbora
    /etc/rc.d/rc0.d/K10dbora
    Aug 7 11:48:56 rh-staging cups-config-daemon: cups-config-daemon -TERM succeeded
    Aug 7 11:48:56 rh-staging haldaemon: haldaemon -TERM succeeded
    Aug 7 11:48:56 rh-staging messagebus: messagebus -TERM succeeded
    Aug 7 11:48:56 rh-staging rhnsd: rhnsd shutdown succeeded
    Aug 7 11:48:56 rh-staging atd: atd shutdown succeeded
    Aug 7 11:48:57 rh-staging cups: cupsd shutdown succeeded
    Aug 7 11:48:57 rh-staging dbora: iSQL*Plus 10.2.0.3.0
    Aug 7 11:48:57 rh-staging dbora: Copyright (c) 2003, 2006, Oracle. All Rights Reserved.
    Aug 7 11:49:26 rh-staging dbora: iSQL*Plus instance on port 5560 is not running ...
    Aug 7 11:49:26 rh-staging dbora: opmnctl: stopping opmn and all managed processes...
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 07-AUG-2007 11:49:32
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:49:33 rh-staging dbora: The command completed successfully
    Aug 7 11:49:33 rh-staging dbora: ORACLE_HOME_LISTNER is not SET, unable to auto-stop Oracle Net Listener
    Aug 7 11:49:33 rh-staging dbora: Usage: /opt/app/oracle/product/10.2.0/db_1/bin/dbshut ORACLE_HOME
    Aug 7 11:49:33 rh-staging dbora: Processing Database instance "FPRCQA": log file /opt/app/oracle/product/10.2.0/db_1/shutdown.logAug 7 11:49:34 rh-staging rc: Stopping dbora: succeededAug 7 11:49:34 rh-staging xfs: xfs shutdown succeeded
    Aug 7 11:49:35 rh-staging gpm: gpm shutdown succeeded
    Aug 7 11:49:35 rh-staging sshd: sshd -TERM succeeded
    Aug 7 11:49:35 rh-staging sendmail: sm-client shutdown succeeded
    Aug 7 11:49:35 rh-staging sendmail: sendmail shutdown succeeded
    Aug 7 11:49:35 rh-staging smb: smbd shutdown succeeded
    Aug 7 11:49:36 rh-staging smb: nmbd shutdown succeeded
    Aug 7 11:49:36 rh-staging xinetd: xinetd shutdown succeeded
    Aug 7 11:49:36 rh-staging acpid: acpid shutdown succeeded
    Aug 7 11:49:36 rh-staging crond: crond shutdown succeeded
    Aug 7 11:49:36 rh-staging autofs: Stopping automount:
    Aug 7 11:49:36 rh-staging autofs: automount shutdown succeeded
    Aug 7 11:49:36 rh-staging autofs:
    Aug 7 11:49:36 rh-staging autofs:
    Aug 7 11:49:36 rh-staging rc: Stopping autofs: succeeded
    Aug 7 11:49:37 rh-staging ntpd: ntpd shutdown succeeded
    Aug 7 11:49:37 rh-staging nfslock: rpc.statd shutdown succeeded
    Aug 7 11:49:37 rh-staging irqbalance: irqbalance shutdown succeeded
    Aug 7 11:49:38 rh-staging portmap: portmap shutdown succeeded
    Aug 7 11:49:39 rh-staging syslog: klogd shutdown succeeded
    Aug 7 11:51:32 rh-staging syslog: syslogd startup succeeded
    Aug 7 11:51:32 rh-staging syslog: klogd startup succeeded
    Aug 7 11:51:32 rh-staging irqbalance: irqbalance startup succeeded
    Aug 7 11:51:32 rh-staging portmap: portmap startup succeeded
    Aug 7 11:51:32 rh-staging nfslock: rpc.statd startup succeeded
    Aug 7 11:51:33 rh-staging rpcidmapd: rpc.idmapd startup succeeded
    Aug 7 11:51:33 rh-staging netfs: Mounting other filesystems: succeeded
    Aug 7 11:51:33 rh-staging rc: Starting lm_sensors: succeeded
    Aug 7 11:51:34 rh-staging autofs: automount startup succeeded
    Aug 7 11:51:34 rh-staging acpid: acpid startup succeeded
    Aug 7 06:50:19 rh-staging rc.sysinit: -e
    Aug 7 06:50:31 rh-staging start_udev: Starting udev: succeeded
    Aug 7 06:50:34 rh-staging rc.sysinit: -e
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.ip_forward = 0
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.conf.default.rp_filter = 1
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.conf.default.accept_source_route = 0
    Aug 7 06:50:41 rh-staging sysctl: kernel.sysrq = 0
    Aug 7 06:50:41 rh-staging sysctl: kernel.core_uses_pid = 1
    Aug 7 06:50:41 rh-staging sysctl: kernel.shmmax = 2147483648
    Aug 7 06:50:41 rh-staging sysctl: kernel.sem = 250 32000 100 128
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.ip_local_port_range = 1024 65536
    Aug 7 06:50:41 rh-staging sysctl: net.core.rmem_default = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.rmem_max = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.wmem_default = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.wmem_max = 262144
    Aug 7 06:50:41 rh-staging rc.sysinit: Configuring kernel parameters: succeeded
    Aug 7 11:50:42 rh-staging date: Tue Aug 7 11:50:42 CDT 2007
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting clock (localtime): Tue Aug 7 11:50:42 CDT 2007 succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Loading default keymap succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting hostname rh-staging.fprc.ophth.wisc.edu: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Checking root filesystem succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Remounting root filesystem in read-write mode: succeeded
    Aug 7 11:50:42 rh-staging lvm.static: No volume groups found
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting up Logical Volume Management: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Checking filesystems succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Mounting local filesystems: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Enabling local filesystem quotas: succeeded
    Aug 7 11:50:43 rh-staging rc.sysinit: Enabling swap space: succeeded
    Aug 7 11:50:43 rh-staging sysstat: Calling the system activity data collector (sadc):
    Aug 7 11:50:43 rh-staging sysstat:
    Aug 7 11:50:43 rh-staging rc: Starting sysstat: succeeded
    Aug 7 11:50:44 rh-staging readahead_early: Starting background readahead:
    Aug 7 11:50:44 rh-staging rc: Starting readahead_early: succeeded
    Aug 7 11:51:28 rh-staging kudzu: failed
    Aug 7 11:51:28 rh-staging kudzu: Hardware configuration timed out.
    Aug 7 11:51:28 rh-staging kudzu: Run '/usr/sbin/kudzu' from the command line to re-detect.
    Aug 7 11:51:29 rh-staging pcmcia: Starting PCMCIA services:
    Aug 7 11:51:29 rh-staging pcmcia: cardmgr[2283]: no sockets found!
    Aug 7 11:51:29 rh-staging pcmcia: done.
    Aug 7 11:51:29 rh-staging rc: Starting pcmcia: succeeded
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.ip_forward = 0
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.conf.default.rp_filter = 1
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.conf.default.accept_source_route = 0
    Aug 7 11:51:29 rh-staging sysctl: kernel.sysrq = 0
    Aug 7 11:51:29 rh-staging sysctl: kernel.core_uses_pid = 1
    Aug 7 11:51:29 rh-staging sysctl: kernel.shmmax = 2147483648
    Aug 7 11:51:29 rh-staging sysctl: kernel.sem = 250 32000 100 128
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.ip_local_port_range = 1024 65536
    Aug 7 11:51:29 rh-staging sysctl: net.core.rmem_default = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.rmem_max = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.wmem_default = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.wmem_max = 262144
    Aug 7 11:51:29 rh-staging network: Setting network parameters: succeeded
    Aug 7 11:51:30 rh-staging network: Bringing up loopback interface: succeeded
    Aug 7 11:51:31 rh-staging network: Bringing up interface eth0: succeeded
    Aug 7 11:51:35 rh-staging cups: cupsd startup succeeded
    Aug 7 11:51:36 rh-staging sshd: succeeded
    Aug 7 11:51:36 rh-staging xinetd: xinetd startup succeeded
    Aug 7 11:51:37 rh-staging ntpd: succeeded
    Aug 7 11:51:37 rh-staging ntpd: ntpd startup succeeded
    Aug 7 11:51:38 rh-staging sendmail: sendmail startup succeeded
    Aug 7 11:51:38 rh-staging sendmail: sm-client startup succeeded
    Aug 7 11:51:38 rh-staging gpm: gpm startup succeeded
    Aug 7 11:51:39 rh-staging crond: crond startup succeeded
    Aug 7 11:51:40 rh-staging xfs: xfs startup succeeded
    Aug 7 11:51:40 rh-staging smb: smbd startup succeeded
    Aug 7 11:51:40 rh-staging smb: nmbd startup succeeded
    Aug 7 11:51:41 rh-staging winbind: winbindd startup succeeded
    Aug 7 11:51:41 rh-staging anacron: anacron startup succeeded
    Aug 7 11:51:41 rh-staging atd: atd startup succeeded
    Aug 7 11:51:41 rh-staging readahead: Starting background readahead:
    Aug 7 11:51:41 rh-staging rc: Starting readahead: succeeded
    Aug 7 11:51:41 rh-staging messagebus: messagebus startup succeeded
    Aug 7 11:51:41 rh-staging rhnsd: rhnsd startup succeeded
    Aug 7 11:51:41 rh-staging cups-config-daemon: cups-config-daemon startup succeeded
    Aug 7 11:51:41 rh-staging haldaemon: haldaemon startup succeeded
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 07-AUG-2007 11:51:43
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: Starting /opt/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:44 rh-staging dbora: TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Aug 7 11:51:44 rh-staging dbora: System parameter file is /opt/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Aug 7 11:51:44 rh-staging dbora: Log messages written to /opt/app/oracle/admin/FPRCQA/logmuseum/oraclenet/lsnr_fprcqa.log
    Aug 7 11:51:44 rh-staging dbora: Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Aug 7 11:51:44 rh-staging dbora:
    Aug 7 11:51:44 rh-staging dbora: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: STATUS of the LISTENER
    Aug 7 11:51:44 rh-staging dbora: ------------------------
    Aug 7 11:51:44 rh-staging dbora: Alias LSNR_FPRCQA
    Aug 7 11:51:44 rh-staging dbora: Version TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Aug 7 11:51:44 rh-staging dbora: Start Date 07-AUG-2007 11:51:43
    Aug 7 11:51:44 rh-staging dbora: Uptime 0 days 0 hr. 0 min. 0 sec
    Aug 7 11:51:44 rh-staging dbora: Trace Level off
    Aug 7 11:51:44 rh-staging dbora: Security ON: Local OS Authentication
    Aug 7 11:51:44 rh-staging dbora: SNMP OFF
    Aug 7 11:51:44 rh-staging dbora: Listener Parameter File /opt/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Aug 7 11:51:44 rh-staging dbora: Listener Log File /opt/app/oracle/admin/FPRCQA/logmuseum/oraclenet/lsnr_fprcqa.log
    Aug 7 11:51:44 rh-staging dbora: Listening Endpoints Summary...
    Aug 7 11:51:44 rh-staging dbora: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Aug 7 11:51:44 rh-staging dbora: Services Summary...
    Aug 7 11:51:44 rh-staging dbora: Service "FPRCQA.fprc.ophth.wisc.edu" has 1 instance(s).
    Aug 7 11:51:44 rh-staging dbora: Instance "FPRCQA", status UNKNOWN, has 1 handler(s) for this service...
    Aug 7 11:51:44 rh-staging dbora: Service "PLSExtProc" has 1 instance(s).
    Aug 7 11:51:44 rh-staging dbora: Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Aug 7 11:51:44 rh-staging dbora: The command completed successfully
    Aug 7 11:51:44 rh-staging dbora: ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
    Aug 7 11:51:44 rh-staging dbora: Usage: /opt/app/oracle/product/10.2.0/db_1/bin/dbstart ORACLE_HOME
    Aug 7 11:51:44 rh-staging dbora: Processing Database instance "FPRCQA": log file /opt/app/oracle/product/10.2.0/db_1/startup.log
    Aug 7 11:51:51 rh-staging dbora: TZ set to US/Central
    Aug 7 11:51:54 rh-staging dbora: Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Aug 7 11:51:54 rh-staging dbora: Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Aug 7 11:51:55 rh-staging dbora: Starting agent ...
    Aug 7 11:51:56 rh-staging dbora: .
    Aug 7 11:51:57 rh-staging dbora: .
    Aug 7 11:51:58 rh-staging dbora: started.
    Aug 7 11:52:03 rh-staging dbora: TZ set to US/Central
    Aug 7 11:52:04 rh-staging dbora: Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Aug 7 11:52:04 rh-staging dbora: Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Aug 7 11:52:04 rh-staging dbora: http://rh-staging.fprc.ophth.wisc.edu:1 ... pplication
    Aug 7 11:52:04 rh-staging dbora: Agent Version : 10.1.0.5.1
    Aug 7 11:52:04 rh-staging dbora: OMS Version : 10.1.0.5.0
    Aug 7 11:52:04 rh-staging dbora: Protocol Version : 10.1.0.2.0
    Aug 7 11:52:04 rh-staging dbora: Agent Home : /opt/app/oracle/product/10.2.0/db_1/rh-staging.fprc.ophth.wisc.edu_FPRCQA
    Aug 7 11:52:04 rh-staging dbora: Agent binaries : /opt/app/oracle/product/10.2.0/db_1
    Aug 7 11:52:04 rh-staging dbora: Agent Process ID : 3701
    Aug 7 11:52:04 rh-staging dbora: Parent Process ID : 3698
    Aug 7 11:52:04 rh-staging dbora: Agent URL : http://rh-staging.fprc.ophth.wisc.edu:3938/emd/main
    Aug 7 11:52:04 rh-staging dbora: Started at : 2007-08-07 11:51:55
    Aug 7 11:52:04 rh-staging dbora: Started by user : oracle
    Aug 7 11:52:04 rh-staging dbora: Last Reload : 2007-08-07 11:51:55
    Aug 7 11:52:04 rh-staging dbora: Last successful upload : (none)
    Aug 7 11:52:04 rh-staging dbora: Last attempted upload : (none)
    Aug 7 11:52:04 rh-staging dbora: Total Megabytes of XML files uploaded so far : 0.00
    Aug 7 11:52:04 rh-staging dbora: Number of XML files pending upload : 3
    Aug 7 11:52:04 rh-staging dbora: Size of XML files pending upload(MB) : 0.05
    Aug 7 11:52:04 rh-staging dbora: Available disk space on upload filesystem : 78.17%
    Aug 7 11:52:04 rh-staging dbora: Agent is already started. Will restart the agent
    Aug 7 11:52:09 rh-staging dbora: Stopping agent ...
    Aug 7 11:52:11 rh-staging dbora: stopped.
    Aug 7 11:52:11 rh-staging dbora: Starting Oracle Enterprise Manager 10g Database Control ...
    Aug 7 11:52:15 rh-staging dbora: .Aug 7 11:52:46 rh-staging last message repeated 6 times

Maybe you are looking for