Command cannot execute error

Hi,
We have installed Solaris 10 on x86 platform. When we try to install any application with the command like
"./setup", it says command cannot execute.
Only those applications with setup.sh script files, we are able to run the installer.
Is there anything to be done in OS level in order to execute the setup files as "./setup"
or is there any other command to run instead of using "./setup"?
regards
Sundaresan.C

Hi
This probably means that the shell specified in the script is wrong.
Check that the shall following the "#!" on the first line either exists in the specified path. If there is no path, make sure that the shell is in your path.
Paul

Similar Messages

  • "cannot execute" error

    Hi -
    I know that you can get a "cannot execute" error when trying to run a SPARC binary on an x86 system or vice versa.
    However, we have a customer reporting this error when running our SPARC binary on his SPARC system. Both systems are running Solaris 10, but have different processors and different Update levels.
    The binary is a 32-bit:
    starlic-admin: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required,
    built on our system, which is a SunBlade 1500 (UltraSPARC) system running Solaris 10 Update 7, I believe:
    uname -a
    SunOS host 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1500
    The customer is using a Fujitsu-Siemens SPARC system with Solaris 10 Update 3 (as near as I can tell):
    SunOS host1 5.10 Generic_125100-10 sun4us sparc FJSV,GPUZC-M
    Should the difference in processors make a difference? Or the difference in Update levels? Is there some different way I should be building our binaries so they will run on the end user's system?
    I am puzzled by the error - the customer also has a Solaris x86 machine (where he initially tried installing our software) so there is a possibility that he accidentally went back to the original machine, but I think that unlikely.

    Using an older version of our product (built on Solaris 8 with a pretty old version of the Sun C/C++ compiler (Sun Studio 8) worked. Luckily there have been no major changes in our product, so it's OK for this customer to run an older version, but I'm still trying to figure this out for future support.
    The old binaries are built as ELF 32-bit MSB dynamic lib SPARC Version 1.
    I built hello.c on our Solaris 10 update 7 system in a bunch of ways (e.g. with xarch=v7, etc), and tried building both with the old compiler from Sun Studio 8 (which we still have installed) and with Sun Studio 12u1:
    /opt/SUNWspro/bin/cc hello.c -o oldv1
    /opt/SUNWspro/bin/cc -xarch=v8plus hello.c -o oldv8plus
    cc -xarch=v7 -o v7 hello.c
    cc -xarch=v8 -o v8 hello.c
    cc -xarch=generic -o generic hello.c
    cc -xarch=sparc -o sparc hello.c
    cc -xarch=v8plus -o v8plus hello.c
    (oldv1: ELF 32-bit MSB executable SPARC Version 1)
    ( /usr/bin/cc -> /opt/sunstudio12.1/bin/cc)
    and the customer gets the "can't execute" error for all of them - i.e. I can't figure out any way on our current system to build a binary that runs for this user.
    So I'm thinking it's OS level rather than processor type. But I don't want to even suggest that the customer upgrade his OS unless I am 100% positive that it will resolve anything (and that it's the only solution).
    Over in the HP-UX world, whenever there is an upgrade to a new version of the HP aCC compiler, there is a corresponding system patch for just the C and C++ runtimes - i.e. there is a single patch that you can specify in your end user system requirements. Perhaps there is something similar on Solaris? Guess it's time to dig deep into the documentation...

  • Cannot Execute Error on JES4 install

    Ok, I'm starting from scratch here...I'm trying to install JES4 on an Admin/Directory server. Downloaded the install from the web but when I try to run the ./install...I get the following error:
    /tmp/.jes_CaChE/Solaris_sparc/installer: /tmp/.jes_CaChE/Solaris_sparc/.install/j2se_jre/bin/java: cannot execute
    Sun Documentation is impossible to follow OR understand! Checked the permission on the /java and changed them to allow for execute but they change back again!
    Any suggestion appreciated!

    Gotta be something pretty basic if java won't run. You did make sure to get the right architecture distribution (it looks like you got the SPARC one, you're not running on a x64 server?) "cannot execute" can be other things than permissions problems. Are you low onf swap space? (install has, at this point, just unpacked a whole JRE into /tmp, and if you have /tmp on swap which is normal for Solaris, that is going to eat a bunch of swap space.) (Btw, the reason the permissions seem to change back is that it's unpacking a whole new version every time you run ./installer.)
    I note the Installation Guide does say to "navigate to the directory" and enter "./installer" . I suspect that means that entering the absolute pat won't work, did you do that?

  • Can not Install application Flowtherm on Solaris 10 "Cannot execute"  error

    I am trying to install one application Flowtherm on Sun Solaris 10.
    when I tried to install the bin file
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installtion resources from the installer archive...
    Configuring the installer fro this system's environment...
    Launching installer...
    ./install_solaris.bin: /tmp/install.dir.982/Solaris/resource/jre/bin/java: cannot execute
    This is a new SUN ultra 20 machine acquired before a month with Solaris 10 OS. I tried to re install the new JRE after downloading from the SUN website. Please let me know what should I do..
    sanjay

    Hi,
    please see metlink certify tab: http://metalink.oracle.com
    I think u cannot install 8i on solaris10.
    Regards,
    Xaheer

  • /usr/bin/ld: CANNOT EXECUTE binary file!

    So whenever I try to compile something, I get to the step
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    And looking at the log, my problem is...
    /usr/bin/ld: /usr/bin/ld: cannot execute binary file
    Which... Is bad. Yes, I've tried chmodding it +x. I've also tried logging in as root and trying to run it, no luck.
    What's wrong? =/
    Would asking someone else with an iMac G5 to send me theirs, fix it?

    Running configure on all open source packages brings me to the ld cannot execute error in configure.log. In this case I was attempting to build libssh2 (SSH functions for PHP).
    Thanks for the link Nils, I'll try that.

  • CMDTUX_CAT:512: ERROR: Cannot execute C compiler cc   -I$TUXDIR/include ...

    Hello Tuxedo Experts,
    I am building the Tuxedo client (on AIX 6.1) using the buildclient command given in README file of simpapp sample (that comes with Tuxedo installation), but I am getting an error on running the command.
    Command is: /home/sibusr/tuxedo11gR1/bin/buildclient -o simpcl -f simpcl.c
    Error is:
    =====================
    $ /home/sibusr/tuxedo11gR1/bin/buildclient -o simpcl -f simpcl.c
    sh: cc: not found.
    CMDTUX_CAT:512: ERROR: Cannot execute C compiler cc -I$TUXDIR/include -o simpcl -qstaticinline -qrtti=all -L${TUXDIR}/lib simpcl.c -brtl $TUXDIR/lib/tpinit.o -ltux -lbuft -lfml -lfml32 -lengine -lpthread
    $
    =====================
    Would you please help resolve the issue.
    Thanks & Regards,
    Ahsan

    Hi Todd/Tuxedo Experts,
    I have finally been able to install XLC successfully after a lot of effort :)
    I am compiling the simpcl.c from "<Tuxedo Home directory>/samples/atmi/simpapp" path, using " /usr/vacpp/bin/xlC -I /home/sibusr/tuxedo11gR1/include /home/sibusr/tuxedo11gR1/lib/tpinit.o simpcl.c" command, but I am getting the following error:
    =============================================
    ld: 0711-317 ERROR: Undefined symbol: ._tmsettypesw
    ld: 0711-317 ERROR: Undefined symbol: xa_switchp
    ld: 0711-317 ERROR: Undefined symbol: ._tmsetxaswitch
    ld: 0711-317 ERROR: Undefined symbol: ._tpinit
    ld: 0711-317 ERROR: Undefined symbol: .tpalloc
    ld: 0711-317 ERROR: Undefined symbol: .tpterm
    ld: 0711-317 ERROR: Undefined symbol: .tpfree
    ld: 0711-317 ERROR: Undefined symbol: .tpcall
    ld: 0711-317 ERROR: Undefined symbol: ._tmget_tperrno_addr
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    =============================================
    Would you please guide what could be wrong with my compilation command or any settings.
    Thanks a lot for all the help.
    Awais Hassan

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed  Cannot execute configure of database using RapidClone

    dear associates,
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

    dear associates,
    can u please assist me how can over come this error or problem.
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

  • Cannot execute 70SP04 MUP on MSA. Keeps giving error cannot open folder

    Dear Mobile Heroes,
    I cannot execute an (70SP04) MUP on MSA. When the MUP runs, it keeps failing saying that it cannot write to location c:\program files\sap\mobile\app.net\Layout......
    In the Client Upgrade log, "the error occurred in module ClientUpgrade.shared.ccompressor
    <can't open for writing>
    I have checked this folder, and granted full read/write/creation/deletion premissions to all users and cascaded these properties to all subordinate folders - no change. Same error. I even tried granting full rights to all folders inc and below C:\program files\sap\mobile       Still same error - HELP?!
    Richard

    Hello RIchard,
    In case you're upgrading to 70sp04 and executing an MUP for that matter, I'd like to know if
    you've already run the Hotfix.mup that comes bundled with 70sp04(Please see the 70sp04 Upgrade guide).
    In case you've already done so, can you try removing the ReadOnly flag of the folder -
    c:\program files\sap\mobile\app.net\MSA\Layout and then try running the MUP again.
    Thanks,
    Rohit

  • Start-Process : This command cannot be run due to the error: The system cannot find the file specified.

    Hi, 
    I need some help with my script. It copies the file to the remote laptops but when it needs to install the .exe it fails.
    If I run 1 line at the time in Powershell ISE, then it works. Somebody has an idea why it doesn't work or can help me on the right way?
    Script: 
    $laptops = Get-Content -Path "C:\Users\bruyld01\Documents\STEPSTONE\Powershell\SAP\LaptopList.txt"
    foreach ($laptop in $laptops)
        Copy-Item "C:\Users\bruyld01\Desktop\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -Destination \\$laptop\C$\
        Enter-PSSession $laptop
        $version = Get-WmiObject -Class Win32_Product | where {$_.Name -like "*SAP Business*"} | Select-Object Version
        if ($version -ne "135.0.2071.1047")
            Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -ArgumentList "/quiet"
        else
            Write-Host "SAP outlook add-in is up to date!" -ForegroundColor Green
        Exit-PSSession
    Error message:
    Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
    At line:2 char:1
    + Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
        + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
    Thanks, 
    Dimitri

    Hi,
    Enter-PSSession is used for interactive remote sessions. Look into Invoke-Command instead.
    http://ss64.com/ps/invoke-command.html
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • What can be the cause of Web ADI error : Cannot execute SQL statement?

    I created a custom integrator in r12.2.3 and while loading I encountered an error, Cannot execute SQL statement.
    I checked my setup in Interface attribute , the RUN_ID column has a default type SQL QUERY with a default value SELECT  XXCONV_EAM_ASSET_NUM_S.NEXTVAL FROM DUAL.
    If I have a right setup here, what can be the cause of this error?

    Hi,
    The possibilities can be of various reasons, with the sql statements,
    xml descriptors, data sources, improper drivers anything. To crack down
    the solution, kindly let me know the error messages and what exactly are
    you trying to accomplish.
    Thanks & Regards
    Raj
    manimaran t wrote:
    what may be the cause of this error java.sql.SQLException: invalid sql
    type passed to callable statement in iplanet ussing JNDI
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Runtime.getRuntime().exec() error message "cannot execute"

    I'm trying to start another program written in c++ with the commands:
    p=Runtime.getRuntime().exec("nameofmyprogram");
    it works with other programs written in java, and also with ordinary unixcommands like "ls" etc. but when I try to start the c++-one I get the message: cannot execute.
    I can start the program directly from the terminal window, so it's ok.
    does anybody have any idea of what I'm doing wrong?
    ( my friend claims that it has to have a name ending with .exe, is that true?)
    grateful for advice!

    My first guess would be that the program is not on the path and Java cannot find the executable, ls on the other hand is on the path..
    I'm assuming that you are running on a unix system as you are using ls, so in this case your program does not need to end in exe, this is a windows thing. If your C++ program compiled on windows it would end in exe, but this is not the case on unix systems.
    I would suggest you try either giving the exec method ./nameofmyprogram assuming java is working in the directory your compiled c++ program. The other is to give the exact location.

  • SQL error - 20013, Admin command cannot enter critical state 'Backup'

    Hello,
    I have a problem to start (ADMIN --> ONLINE) our MaxDB of our Solution Manager.
    I get the following error message:
    SQL error
    -104, DBM command impossible at this time
    - 20013, Admin command cannot enter critical state 'Backup'
    Has someone an idea how to solve this issue?
    Thanks in advance for help!
    Kind regards,
    Joern

    Hi,
    that's my problem. I can't start the database:
    af4lm139:sm2adm 51> dbmcli -d SM2 -u control,xxx db_admin
    OK
    af4lm139:sm2adm 51> dbmcli -d SM2 -u control,xxx db_warm
    Can not flush file '/sapdb/SM2/data/wrk/dbmsrv_af4lm139.err'.
    dbmsrv_af4lm139.err:
    PID 598:      -
    PID 598:  25: RTEThread_Thread::AppointMainThreadToThreadObject(int, SAPDBErr_MessageList&) + 0x392
    PID 598:          Symbol: ZN16RTEThreadThread31AppointMainThreadToThreadObjectEiR20SAPDBErr_MessageList
    PID 598:          SFrame: IP: 0x000000000087d8f2 (0x000000000087d560+0x392)
    PID 598:          Module: /sapdb/SM2/db/pgm/dbmsrv
    PID 598:      -
    PID 598:  26: main + 0x105
    PID 598:          SFrame: IP: 0x000000000040bf15 (0x000000000040be10+0x105)
    PID 598:          Module: /sapdb/SM2/db/pgm/dbmsrv
    PID 598:      -
    PID 598:  27: __libc_start_main + 0xf4
    PID 598:          SFrame: IP: 0x00002adc11d1a304 (0x00002adc11d1a210+0xf4)
    PID 598:          Module: /lib64/libc-2.4.so
    PID 598:      -
    PID 598:  28: __gxx_personality_v0@@CXXABI_1.3 + 0x10a
    PID 598:          SFrame: IP: 0x000000000040bd5a (0x000000000040bc50+0x10a)
    PID 598:          Source: start.S:116
    PID 598:          Module: /sapdb/SM2/db/pgm/dbmsrv
    Kind regards,
    Joern

  • "cannot execute CGI script " error

    Greetings.
    I am trying to setup a Sun One version 6.1 server. When I try to run a simple cgi script, with a .pl suffix, I get:
    "cannot execute CGI script "
    Is there anything in particular I should look for in resolving hte problem ?
    Thanks.
    alan

    One thing I'd like to mention is this document:
    Document ID: 75347
    Title: Sun[TM] ONE WebServer 6 - cannot execute CGI script - Permission denied
    which states:
    case 2: The value for the chroot is NOT set and NO rights are granted
    for cgi's to execute anywhere.
    <PROPERTY name="chroot" value=""/>
    Note that the value of "value=" above will differ from your setup but that
    the location of the line within the server.xml file should be easily
    identifiable by the formatting described above.
    To quickly identify a fix, grant permissions from the root level by
    modifying the line to look thus:
    <PROPERTY name="chroot" value=""/>
    The problem and fix look to be the same. Any idea what the fix should look like ?
    Thanks.
    alan

Maybe you are looking for

  • Access denied. Error in File C:\WINDOWS\TEMP\

    I have searched on Google and all over this forum and none of the solutions have fixed my problem. Crystal Version: Crsytal.Net for Visual Studio.Net 2005 Server: Windows Server 2003 Error: Access denied. Error in File C:\WINDOWS\TEMP\JuryDutyReport

  • Data is not saved in the Real time Cube

    Hi all, After designing the layout in BPS ,when i enter the plan data in the layout (T CODE - UPXPM ),The plan data is not getting saved in cube .i have chosen the type of layout as Excel based.     Please make me clear where the problem occurs. Than

  • Migration from VIRSA 4.0 to GRC 10.0 (ARA)

    Hi Guys, We've just migrated from VIRSA 4.0 to GRC 10.0. We have only two connectors configured ECC and Finace System. Rules have been generated and we're using the standard "global" ruleset. The rules seem to be generated successfully ( I've checked

  • Is it possible to add audio to a bumper / opener template?

    I have a little intro video that I put on all of your videos (http://noahsdad.com/). It is a video file made in after effects, a 5 second background track audio file, and 2 swoosh audio files. I have exported that as a video and saved it to my deskto

  • Weird issue occurring after cloning the R12 Vision instance.

    Hi everyone, We are currently evaluating R12 using the Vision DB instance. Since I'm seeing that the apps processes like to have at least 2gb of memory, the initial server just isn't beefy enough for R12 so I cloned it over to a better server followi