Running Shell script on ESXi 4.1

Posted on 2011-10-14
Last Modified: 2012-05-12
I am unable to run the script on ESXi 4.1
/sbin # ./
-ash: ./ not found
/sbin #

 Please help on this
( Also tried with Sudo also after changing the permission 777)
Question by:kbjijo
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    ESXi is not Linux, it's Busybox.

    What does this script do? It might not be compatible with ESXi.

    Author Comment

    But i think in ESXi .sh script will run, its fetching the Qlogic card infor from the host
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    where did the script come from?

    attach as text, and ill have a look.

    .sh script usually run on ESX.
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    the script may not like the current shell!
    LVL 19

    Accepted Solution

    It looks as though the script isn't actually there. What does 'ls qla*" show? Are you sure you are entering the name correctly?
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    Did you get the script to function?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    I have recently deployed a VMware View 4.6 virtual desktop infrastructure and the last part of the project was to install the Security Server for remote users to access a virtual desktop from outside of the network. The server installation was st…
    Problem : Unsupported or invalid disk type 7. Ensure that the disk has been imported. You can run into this problem when you try to power on virtual machine on Esxi that converted from physical to virtual machine. An error message prompt and runn…
    Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
    This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now