Non-critical typing errors in ASEHAagent.sh

Solution Unverified - Updated -

Issue

  1. "There file" should be "The file" in

            # Check if the Run_server file exists.
            if [[ ! -f $RUNSERVER_SCRIPT ]]
            then
                    ocf_log err "ASEHAagent: There file $RUNSERVER_SCRIPT doesn't exist. The sybase directory may be incorrect."
                    return $OCF_ERR_ARGS
            fi
    
  2. Routine name in comment differs from real routine name verify_all

    ##################################################################################################
    # Function Name: validate_all                                                                    #
    # Parameter: None                                                                                #
    # Return value:                                                                                  #
    #             0               SUCCESS                                                            #
    #             OCF_ERR_ARGS    Parameters are invalid                                             #
    # Description: Do some validation on the user-configurable stuff at the beginning of the script. #
    ##################################################################################################
    verify_all()
    
  3. Routine name in comment differs from real routine name kill_ase

    ####################################################################################
    # Function name: ase_is_running                                                    #
    # Parameter:                                                                       #
    #             DELAY  The seconds to wait before killing the ASE processes. 0 means #
    #                    kill the ASE processes immediately.                           #
    # Return value: None                                                               #
    #             1   ASE server is not running or there are errors                    #
    # Description: This function is used to check if the ASE server is still running . #
    ####################################################################################
    kill_ase()
    

Environment

  • Red Hat Enterprise Linux 5
  • rgmanager-2.0.52-28.el5_8.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content