Virtualization Plugins

Expand all | Collapse all

Error script Received async-signal

  • 1.  Error script Received async-signal

    Posted 09-23-2019 11:18:00 AM

    Hi all,

    I created a script, if I use the script on the server it works, if I run it from Delphix I get these logs

    LOG : 092019 11:18:03: CPU: ERAS: Received async-signal 17

    LOG : 092019 11:18:03: CPU: ERAS: Service Element has exited... 0 13

     

    Can you help me?

    Thanks,
    Eugenio



    ------------------------------
    Eugenio -
    Community Member
    Higher Logic Community Members
    ------------------------------


  • 2.  RE: Error script Received async-signal

    Posted 09-23-2019 06:38:00 PM
    Hi Eugenio,

    Thanks for posting here. I'm happy to help. I'll need some more information though:

    • What is this script doing on the remote host? If possible, could you post the part of the script that is failing?
    • Could you post some of the code you're using to execute the script and log?
    • Is there more from stdout or stderr? You can get access this by logging stderr and stdout from the object returned from run_bash
    Thanks in advance.

    - Grant

    ------------------------------
    Grant Magdanz
    Senior Member of Technical Staff II
    Delphix
    ------------------------------



  • 3.  RE: Error script Received async-signal

    Posted 09-25-2019 03:51:00 AM
    Hi Grant,

    the script is: 

    #--- Start CICS -------------------------------------------------------
    m01_msg "Start CICS CXUCODOR..."
    oprmsg S CXUCODOR,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"

    m01_msg "Start CICS CXUCOTO0..."
    oprmsg S CXUCOTO0,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"


    m01_msg "Start CICS CXUCOAO1..."
    oprmsg S CXUCOAO1,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"

    m01_msg "Start CICS CXUCOAO2..."
    oprmsg S CXUCOAO2,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"

    m01_msg "Start CICS CXUCOAO3..."
    oprmsg S CXUCOAO3,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"
    oprmsg S CXUCOAOW,START=INITIAL

    m01_msg "wait 5 seconds..."
    sleep 5
    m01_msg "wait 5 seconds...OK"


    #m01_msg "START zPDT System...DELPHIX VERSION...COMPLETED"
    exit 0

    I am not using PYTHON but LUA language at the moment, unfortunately it is urgent to solve the problem directly in LUA, as soon as it works I will convert to PYTHON language

    Thanks,
    Eugenio


    ------------------------------
    Eugenio -
    Community Member
    Higher Logic Community Members
    ------------------------------



  • 4.  RE: Error script Received async-signal

    Posted 10-03-2019 05:07:00 PM

    Hi Eugenio,

    Sorry for such a slow response. Are you still facing this issue? If so, it's not clear what the issue is. I would try to add some "echo" statements to the script and execute it then log stderr and stdout. You can do this in Python with:

    response = libs.run_bash(staged_source.connection, script)
    
    logger.debug('Stdout: %s', response.stdout)
    logger.debug('Stderr: %s', response.stderr)
    logger.debug('Exit code: %s', response.exit_code)

    These logs can then be retrieved easily using "dvp download-logs".

    Once the line that is failing has been identified, we can try to find some logs that will tell us what's going on.



    ------------------------------
    Grant Magdanz
    Senior Member of Technical Staff II
    Delphix
    ------------------------------