Script erased on reboot

Hi all

Not sure if anyone knows the 3ware cards, but they require the installation of the driver after installation in order to 3ware. work also provides a customized version of their "tw_cli" table setting utility that works on ESXi - http://3ware.com/kb/article.aspx?ID=15600

in any case, it works fine and all, but I noticed on every reboot reboot the binary tw_cli I copied in / on the ESXi server gets erased. I tried to leave in the House of the root (/) and also put it in the $PATHs root (/ bin, / sbin), but every time that I reboot it gets erased. I want to keep it there so I can always check my RAID status and also if I can write a nagios monitoring plugin. The only other thing I can think is to copy in the data store, but I prefer to know what is happening and have in the root file system. Any ideas? TIA-Jesse

Try this way:

CD /.

mkdir test

CP - r YOURFILE_GOES_HERE/test

CP /bootbank/oem.tgz/test

CD test

tar - xzvf oem.tgz

RM oem.tgz

tar czvf - oem.tgz 'YOUR_FILE_HERE_AGAIN', 'FILE_CREATED_WITH_TAR '.

MV oem.tgz /bootbank

CD...

RM - r test

I tested here and the file were present for me after the reboot.

Marcelo Soares

VMWare Certified Professional 310/410

Technical Support Engineer

Globant Argentina

Review the allocation of points for "useful" or "right" answers.

Tags: VMware

Similar Questions

  • Erased on reboot login items

    Hello

    Given that I've been using OS X El Capitan 10.11.3 (Beta 15D13b), they are remember my login items (except DropBox and fast WD, but cannot be deleted; it is my backup drive software).

    This is quite annoying; None of my apps launch (no matter if I set myself to hide by default) and the list is apparently erased on startup.

    What is the cause of this, or how it can be found (and fixed)?

    Kind regards

    Isaiah van Hunen

    Here, the same since the day to 10.11.3 :-(

  • Firefox stuck in an infinite loop to restart to complete the previous update but does nothing. Can uninstall or install the latest version over it. In my view, that the installation files have been erased before reboot by another Installer. How can I f

    Everything I try associated with firefix gets "your computer must be restarted to complete a previous update of Firefox" I tried to not restart no luck, I tired uninstall in Add Remove programs or install 4.0 on it. At the time I was trying to upgrade 3.0 to 3.6.15. I tried to look for the xpicleanup.dat file but no luck there.

    Any suggestions to get firefox back on

    I had the same problem. I deleted a file "firefox.exe.moz" - upgrade directory "C:\Program Files\Mozilla Firefox" and the installation / update of Firefox went on well

  • Can I retrieve the content I coppied the Clipboard after restaring my computer?

    I spent a few hours to write a paper for a job and my internet connection froze (a problem I've had with) so I copied the text of message and forgot save it before restarting my computer.

    Is it possible to recover after reboot? The Clipboard get completely erased after reboot?

    The contents of the Clipboard are erased when you restart the computer.

  • I can't open the numbers.

    I can't open the numbers. tried to erase it, reboot and download it again, but it does not work. any idea?

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    Click on the clear view icon in the toolbar. Then take an action that does not work the way you expect. Select all of the lines that appear in the Console window. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name or e-mail address, can appear in the log. Anonymize before posting.

    When you post the journal excerpt, an error message may appear on the web page: "you include content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Music player does not open after having upgraded lenovo to lollipop a6000

    When I try to open my phone's default music player it does not open. But before you move to the music of lollipop drive worked perfectly. Can you help me please?
    (Sorry for my bad English)

    Find it in Setings > app > all apps and clean the Max and history, it will not erase your reboot a few songs from his memory.

  • How will I know if I have malware on my computer?

    Facebook, says I have malware on my browser - I only use Safari it is the latest version... I changed my PW on FB, erased my story; unchecked then java script erased, then checked the javascript code.

    What can we do?

    Husband-Lyn

    Facebook, says I have Malware

    Please post a screenshot that shows what you hear. Please do not include personal information.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

  • Update 23.0.1.A.5.77 has created a camera problem

    I installed the 23.0.1.A.5.77 software was last updated on my Xperia Z3 yesterday. Then my camera started to consume 3 to 4 times more battery. While taking pictures, he's trying to focus and to stabilize, but this process never ends. Continuously, it tries to find the right distance and light conditions. I am able to take pictures or record video but the picture is not as clear as it was before the update.

    How to get to the performance of the camera I had before the update?

    It's weird, settings, applications, all, camera, erase data, reboot your phone, check again

  • Weather Sidebar Gadget frozen

    The weather gadget on my sidebar was working fine up until about 2 weeks ago when I noticed the time, etc. for 3 cities that I had entered were frozen.  I erased, readded, rebooted the computer, etc. and also followed advice posted previously, although the problem has never been specifically for frozen weather gadgets.  I hope that there is someone who could give me a little help!  (I have not downloaded anything new during the period in question, at least to my knowledge).   THANKS in advance for your help.

    Hello

    Have you tried changing the settings to another location to see if this release?

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ---------------------------------------------------------

    Alternatives:

    Gadget proWeather - free - best one I've seen by far
    http://Gallery.live.com/liveItemDetail.aspx?Li=b14d68bb-71ee-40CD-8CF5-c95b63503d00&BT=1&PL=1

    ProWeather on the list 10 here - see figure D
    http://blogs.TechRepublic.com.com/10things/?p=446

    and:

    WeatherPulse - free (this can add a Desklet on your desktop even better than a gadget and more info)
    A Tip - If you install it when he asked city or ZIP in town and not the zipper.
    http://tropicdesigns.NET/weather_pulse.html

    Caution Marquee - free - a great new feature to add to Weatherpulse
    http://www.tropicdesigns.NET/products/Windows-software/alert-marquee/

    You can use both.

    Rob - bicycle - Mark Twain said it is good.

  • I can't reinstall Norton Security Suite on my computer Dell Inspiron 19 64-bit Windows 7

    It freezes at the Stadium during initialization.  I did a clean boot and cannot find a pack of 7 agents window services as suggested by another user.  Y at - it assistance to me?

    I ran:

    Norton Power Eraser

    Reboot Norton recovery tool

    Norton Removal Tool

    Dell technical support programs (MyDell said no risks or problems found)

    Support of Windows programs (found no problem, no risk, is protected)

    PC Checkup doctor (no questions, found risk)

    -Turn off all non-windows services - clean boot did not install

    What is the next step?

    Thank you.

    Your computer tells you that he wants nothing only Norton installed on it. Listen to your computer and do a favor by installing Microsoft Security Essentials...

  • Wait to start operating system

    Try to run a script after the reboot.

    Using a wait loop that checks host.runtime.connectionState.value = connected to determine the moment to take the step "run script".

    However, this operation will fail because the host returns connected status before the OS is finished booting.  Is there a better process/call to wait until the os has finished start?  According to me, Miss me something quite simple.

    What kind of host? VMware Tools are installed? If so, and if it's in a global workflow (compared to an action), then use the 'vm3WaitDnsNameInTools' action - he waits until the loading tools and report the DNS to vCenter... at this point, a guest operating system is usually ready for further action taken on this subject... (Note: see one of the Clone workflow & customize in the library... for example, I look at the workflow "Clone, windows with single NIC" as I type this for reference...)

  • Export SVG fails in CC2014 18.1.1

    Hello

    It has worked well in 18.0.0, but there is a bug in the version update 18.1.1

    After I export any file to SVG with script, next time export fails with the error PARM. Whatever you do - close the file, open a new one, even trying to export from the user interface, no script.

    Reboot GOT help - to export SVG following

    all ideas welcome

    from my experiences, it has to do with

    svgExportOptions.saveMultipleArtboards = false;

    option

    If it is set to true, it works

  • First error can not Open sequence and CC presets missing

    I am having some problems with the first.

    I was working on a project which has been very well for awhile, but now when I try to open it, first gives the error:

    "This project contained a sequence that could not be opened. No preview of the sequence is preset file or codec might be associated with this type of sequence. »

    In addition, in any project when I create a new sequence, there no useful presets. I found the sequence presets folder and they are all there, but they don't show up in the first.

    Also, when I import AVCHD. The MTS files, I get video but no audio, while they play fine in VLC

    I've tried but alternatives that solve nothing:

    1 disconnect, restart first, sign

    2 re-create the Adobe Premiere Pro preferences and the plugin cache. (using the shift/option drop-down list)

    3 uninstall first, reboot, run cleaner script, restart, reinstall the first

    4 uninstall creation, execution script cleaner, restart, reboot, create a new user account, install the first in this user account instead of the original account

    I am aware of this page: http://helpx.Adobe.com/Premiere-Pro/KB/features-presets-missing-Premiere-Pro.html

    and this page: http://helpx.Adobe.com/Creative-Suite/KB/CS5-cleaner-tool-installation-problems.html

    A few pages I met suggested that executing the script cleaner several times, but you can really run only one time, since after the first cleaning, when you run it again once nothing appears on the list to be cleaned.  There are still remnants of things Adobe has left on my machine not cleaned by the cleaner script that I need to manually remove?

    If someone has had this problem but had no one of the proposed solutions adobe work for them and subsequently corrected this?

    It is Adobe first CC 2014.  I'm under it on a Mac Book Pro, which is less than a year, OSX 10.9.5 w / 16 GB memory running.

    It's UNBELIEVABLY FRUSTRANT.  I spent almost all day this problem and all I want to do is change my video. A quick search of the internet shows that I am far from alone in having this problem. In addition, relocation is not trivial because the speed of download where I am is slow.

    Dave

    Well, it took a long time, but I finally got it working properly.  All codecs and presets are, I can import AVCHD files correctly with audio and the project that I could not open before now opens very well, so it turns out not to make a corrupt project. It seems that the problem was that the script cleaner does not clean actually all it should be, and I had to do it all manually.

    I uninstalled all the software Adobe Creative Cloud, rebooted, run the CC cleanup script and restarted again.

    So I uninstalled Flash and all other Adobe software, I got on my machine.

    Then I used the app to find any file to find all the references on my Mac for any file with "adobe" in the name - including system files - and deleted and empty the trash.

    The only things of Adobe, I have left on my machine were the Adobe RGB color profile and all Adobe fonts, I had.

    Empty the trash again, reset again.

    Then, I used the CC Setup program to install the first and only first (I was not yet installed Adobe Media Encoder) because I didn't want to spend all this time download only to fail again on me.

    And finally it worked. Then I went back and installed Media Encoder, which does not break something, then I went back and installed the other CC apps I wanted on my machine and things are finally working.

    The "cleaner" script lets a files related to LOT of creative cloud on your machine, which, in my opinion, means that this isn't a very effective "cleaner".  He seems to want to leave a lot of preferences and files other files which I don't know the purpose (but I deleted them anyway).  It should at least be a checkbox somewhere on the vacuum cleaner that says "wipe absolutely everything about Adobe off my machine.

    Thanks again for your suggestions, Neil.

    Dave

  • Change the port SSH on ESXi 5

    How can I can change the default port for ssh on vmware ESXi 5.0?

    I found that in the/etc/ssh/sshd_config the line containing:

    Port 22

    I have change the number with others, but I do not know how to restart the services. How can reset SSHd?

    Thank you

    Although not supported, you can try below method (tested on ESXi5.0).

    (1) create the new custom firewall rules set I say sshnew.xml in any store of data for example: / vmfs/volumes/datastore1:




    sshnew

    entrants
    TCP
    summer time
    2200

    true
    fake

    (2) make the script persist after reboot when editing /etc/rc.local and add it under the line:

    Custom SSHNEW #Create rule
    CP /vmfs/volumes/datastore1/ssh.xml/etc/vmware/firewall

    #Refresh firewall rules
    updating of firewall of network/sbin/esxcli

    Happy... SSH

  • First Pro CS5 has become corrupted

    I have 2 major projects using CS5 and the software became corrupt. If I uninstall and then reinstall the program, what happens to these projects (0ver 5000 links on 1 project)?

    Check if you have all of the presets for HDV, ACDHD sequence, RED, etc., when you try to create a new sequence. My guess is that your installation is returned to the amd evaluation mode so you must perform the following steps:

    1. disable

    2 uninstall

    3. run clean Script several times, rebooting between tracks

    4 install

    5. turn on

    6 update

Maybe you are looking for

  • So what is the story in general on Windows 7 and the HP C7280?

    It doesn't seem like HP wants to support the C7280 well.  There are v12 drivers/software still lacks for this printer.  I have resolved on the wireless and the ink cartridge levels.  And now there is the prospect of a migration to Windows 7 and which

  • Want X 360 m6: battery low life - is it OK to keep laptop plugged in

    I recently bought an Envy X 360 laptop and the battery life is not great. I used recommended batteries, saving settings! My question is this: is bad to keep my laptop plugged in for most of the time (where the House)? The reason why I ask this questi

  • Many bogus netlist MS/UB 11 errors are produced

    Hello I'm all kinds of false netlist errors in UB11. It is not the problem here: http://forums.NI.com/NI/attachments/NI/370/7315/1/missing%20PIN%20from%20Net%20error.doc Is missing pins that do not yet exist on the track that is pin 11 to a size of 1

  • Can't get rid of direct ads on my computer!

    When I turned on my computer this morning, I started hearing advertising!  What is going on?!!!  I can't locate the source.  They're starting to play out of the blue!  How can I get rid of him?  I ran Norton and it is said that everything is fine.  T

  • BlackBerry Bold 9900 smartphones will not recognize the new SIM card

    I recently got a Bold 9900 as a gift. In my view, that the phone has been used on the Orange network. I tried replacing the original Orange SIM card with my SIMcard "pay-as-you-go" three, when I turn on the phone I get the message "SIM not recognized