Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am having the following error while executing script and initialing my application ./ss.sh: line 1: kk.sh: command not found ./ss.sh: line 2: mon.exe: command not found Can somebody ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5

    [SOLVED] Error while executing scripts and initializing exe's


    Hi,

    I am having the following error while executing script and initialing my application


    ./ss.sh: line 1: kk.sh: command not found
    ./ss.sh: line 2: mon.exe: command not found



    Can somebody assist ASAP.

    Regards,
    Hassan

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,218
    Please delete your double post in the other forum.

    About your problem(s):
    1) Are kk.sh and mon.exe in your $PATH?
    If not, you need to either copy them there or use absolute paths

    2) .exe files are for windows. This mon.exe might be useless under linux.
    What are you trying to achieve?

    3) ss.sh and kk.sh are not very descriptive. You might want to use more appropiate names.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    Hi,

    Well the ss.sh script is for initiallizing the exe's and its in use for quite some while on other linux versions while setting up a new environment i am having these issues. Where as the kk.sh simply kill all the processes initialized by ss and also releases the memory and queues.

    hmmmm anyhow thanks for your help i will dig it out

    Hassan

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,218
    You can start by comparing
    Code:
    echo $PATH
    to the actual paths of ss.sh and kk.sh
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    Hi just to inform that the issue is resolved after following the below steps:

    The Home path was incorrect due to which the scripts weren't getting executed properly secondly the exe's i had were compiled on a 64 bit machine and i was invoking them on 32 bit.

    Anyhow thanks for your support.

    Regards,
    Hassan

Posting Permissions

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