Results 1 to 8 of 8

Thread: Cannot execute bianry file: Exec format error in SLE 12.3

Hybrid View

  1. #1

    Cannot execute bianry file: Exec format error in SLE 12.3

    Hi All,

    I am trying to extract .SAR file on SLE 12.3 on EC2 r4.4xlarge and facing the above error. Below is my OS information.

    cat /etc/SuSE-release
    SUSE Linux Enterprise Server 12 (x86_64)
    VERSION = 12
    PATCHLEVEL = 3
    # This file is deprecated and will be removed in a future service pack or release.
    # Please check /etc/os-release for details about this release.

    It will be great if someone can advise this format error. Thanks in advance.

    Best regards,

  2. Re: Cannot execute bianry file: Exec format error in SLE 12.

    Hi,

    Looks like you forgot to paste the error message?

    Anyway, according to google you'll need the SAPCAR utility to extract the file.

  3. #3

    Re:Cannot execute bianry file: Exec format error in SLE 12.3

    seithunaing Wrote in message:

    > I am trying to extract .SAR file on SLE 12.3 on EC2 r4.4xlarge and
    > facing the above error. Below is my OS information.
    >
    > cat /etc/SuSE-release
    > SUSE Linux Enterprise Server 12 (x86_64)
    > VERSION = 12
    > PATCHLEVEL = 3
    > # This file is deprecated and will be removed in a future service pack
    > or release.
    > # Please check /etc/os-release for details about this release.
    >
    > It will be great if someone can advise this format error. Thanks in
    > advance.


    As rjschwei has already suggested it looks like you need the
    sapcar utility - see
    https://answers.sap.com/questions/26...act-sar-files-
    in-linux-server.html

    Since this only seems to be available from SAP can I ask what your
    .SAR file is as I would expect anything from SAP to have noted
    the requirement for sapcar.

    HTH.
    --
    Simon Flood
    SUSE Knowledge Partner


    ----Android NewsGroup Reader----
    http://usenet.sinaapp.com/

  4. #4

    Re: Cannot execute bianry file: Exec format error in SLE 12.

    Quote Originally Posted by smflood View Post
    seithunaing Wrote in message:

    > I am trying to extract .SAR file on SLE 12.3 on EC2 r4.4xlarge and
    > facing the above error. Below is my OS information.
    >
    > cat /etc/SuSE-release
    > SUSE Linux Enterprise Server 12 (x86_64)
    > VERSION = 12
    > PATCHLEVEL = 3
    > # This file is deprecated and will be removed in a future service pack
    > or release.
    > # Please check /etc/os-release for details about this release.
    >
    > It will be great if someone can advise this format error. Thanks in
    > advance.


    As rjschwei has already suggested it looks like you need the
    sapcar utility - see
    https://answers.sap.com/questions/26...act-sar-files-
    in-linux-server.html

    Since this only seems to be available from SAP can I ask what your
    .SAR file is as I would expect anything from SAP to have noted
    the requirement for sapcar.

    HTH.
    --
    Simon Flood
    SUSE Knowledge Partner


    ----Android NewsGroup Reader----
    http://usenet.sinaapp.com/


    Hi Simon,

    Actually I have tried with SAPCAR already in first place and encounter the error.

    total 3112368
    -rwxrwxrwx 1 root root 3179408738 Mar 13 2018 IMDB_SERVER100_122_16.SAR
    -rwxrwxrwx 1 root root 1652 Feb 26 2018 IMDB_SERVER100_122_16.info
    -rwxrwxrwx 1 root root 7647411 Sep 14 11:47 SAPCAR_0-80000935.EXE
    ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE 1.0 FOR B1/LINX64SUSE # ./SAPCAR_0-80000935.EXE -xvf IMDB_SERVER100_122_16.SAR
    bash: ./SAPCAR_0-80000935.EXE: cannot execute binary file: Exec format error
    ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE 1.0 FOR B1/LINX64SUSE #
    ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE 1.0 FOR B1/LINX64SUSE #

    Thanks and best regards,

  5. #5

    Re: Cannot execute bianry file: Exec format error in SLE 12.3

    On 14/09/2018 08:44, seithunaing wrote:

    > Actually I have tried with SAPCAR already in first place and encounter
    > the error.
    >
    > total 3112368
    > -rwxrwxrwx 1 root root 3179408738 Mar 13 2018
    > IMDB_SERVER100_122_16.SAR
    > -rwxrwxrwx 1 root root 1652 Feb 26 2018
    > IMDB_SERVER100_122_16.info
    > -rwxrwxrwx 1 root root 7647411 Sep 14 11:47 SAPCAR_0-80000935.EXE
    > ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE
    > 1.0 FOR B1/LINX64SUSE # ./SAPCAR_0-80000935.EXE -xvf
    > IMDB_SERVER100_122_16.SAR
    > bash: ./SAPCAR_0-80000935.EXE: cannot execute binary file: Exec format
    > error
    > ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE
    > 1.0 FOR B1/LINX64SUSE #
    > ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE
    > 1.0 FOR B1/LINX64SUSE #


    That makes sense since .EXE files are usually for DOS/Windows.

    What is it that you're trying to extract/achieve? I can't help thinking
    that the .SAR file is not the correct thing to be using on a (SUSE)
    Linux server.

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

  6. #6

    Re: Cannot execute bianry file: Exec format error in SLE 12.

    Hi Simon,

    This is extracting SAP application in SUSE server. We normally can perform all these task in On-premise SUSE Enterprise Linux Server for SAP application. But I cannot work on AWS EC2 that's why I am raising it. Thanks for your reply.

    Best regards,

  7. #7

    Re: Cannot execute bianry file: Exec format error in SLE 12.3

    On 14/09/2018 11:24, seithunaing wrote:

    > This is extracting SAP application in SUSE server. We normally can
    > perform all these task in On-premise SUSE Enterprise Linux Server for
    > SAP application. But I cannot work on AWS EC2 that's why I am raising
    > it. Thanks for your reply.


    A quick search for "SUSE SAP AWS" found that SLES for SAP Applications
    is available in the AWS Marketplace.

    I also found
    https://www.suse.com/media/guide/sus...etup_guide.pdf
    which perhaps you've already seen.

    Finally I'll note that there is a forum dedicated to SLES for SAP
    Applications at
    https://forums.suse.com/forumdisplay...P-Applications though
    admittedly AWS hasn't been discussed.

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

  8. Re: Cannot execute bianry file: Exec format error in SLE 12.

    Quote Originally Posted by seithunaing View Post
    Hi Simon,

    Actually I have tried with SAPCAR already in first place and encounter the error.
    [...]
    ip-10-2-1-10:/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE 1.0 FOR B1/LINX64SUSE # ./SAPCAR_0-80000935.EXE -xvf IMDB_SERVER100_122_16.SAR
    bash: ./SAPCAR_0-80000935.EXE: cannot execute binary file: Exec format error
    may I assume you have somehow transferred "./SAPCAR_0-80000935.EXE" to that directory manually? Where did it come from, a server of the same variant (OS / architecture)? It might be worth lookingat that file a bit closer to determine why you cannot invoke it without that format error.

    # file "/hana/data/REV 166.12/51052924/DATA_UNITS/SAP HANA DATABASE 1.0 FOR B1/LINX64SUSE/SAPCAR_0-80000935.EXE"

    ought to show some basic info about the file structure - and comparing checksums with the copy source might be helpful, too.

    Regards,
    J
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •