Urgent: Missing (ovmm_)mysql binaries, please help

Owing to a mistake (understatement of the year) on my part I've managed to blow away all of the mysql binaries in /usr/bin.  I imagine they all came with the MySQL installed with Oracle VM.  Does anyone know the best way to replace the following:
/usr/bin/msql2mysql
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_convert_table_format
/usr/bin/mysql_find_rows
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_install_db
/usr/bin/mysql_plugin
/usr/bin/mysql_secure_installation
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_upgrade
/usr/bin/mysql_waitpid
/usr/bin/mysql_zap
/usr/bin/mysqlaccess
/usr/bin/mysqlaccess.conf
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlbug
/usr/bin/mysqlcheck
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldump
/usr/bin/mysqldumpslow
/usr/bin/mysqlhotcopy
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/bin/mysqlslap
/usr/bin/mysqltest
I would be incredibly grateful for any help.  Or even a tarball of the files from your own installation.  I'm running Oracle VM Manager 3.2.8.733.
With very grateful thanks,
Ben

Hi Ben,
sure thing… just remember to add your ssh-key to the list of authorized ovmm keys in the oracle user folder, to ease things up. Otherwise you might be presented with a re-appearing password dialog for each vdisk…
This is the script to save the vdisk names to a text file for later re-import:
#!/bin/bash
OVMM="ip.of.ovmm.host"
Repository="$1"
outputFile="$2"
declare -A virtualDisks
if [ -z "$Repository" ]; then
    echo "Usage: saveVdiskNames.sh repository [outputfile]"
    echo "No repository given... aborting!"
    exit 0
fi
if [ -z "$outputFile" ]; then
    outputFile="$Repository""_vdisks.txt"
fi
rm -f $outputFile
# get all vdisks from a repository and iterate through the list to get their resp. names, if available
for vdiskID in `ssh -l admin -p 10000 $OVMM "show Repository name=$Repository" | grep VirtualDisk | grep "\[" | awk '{print $5}'`;
do
    vdiskName=`ssh -l admin -p 10000 $OVMM "show VirtualDisk id=$vdiskID" | grep Name | awk '{print $4}'`
    echo "vdiskID: $vdiskID, vdiskName: $vdiskName"
    # checking whether there is a double assignment of vdisk names
    checkVdiskName=${virtualDisks[$vdiskName]}
    if [ -n "$checkVdiskName" ]; then
        echo "Double vdisk name detected!!! - Prefixing name..."
        vdiskName=`echo -n "doubleName $vdiskName"`
    fi
    echo "$vdiskID,$vdiskName" >> $outputFile
    virtualDisks+=([$vdiskName]=$vdiskID)
done
### enf of script
Note, that there is a check for double names involved, where the 2nd vdisk name wil be prefixed "doubleName "+current vdisk name, if encountered.
Next up is the companion, that will apply the saved vdisk names on the uuid vdisks in the database, after a catastrophic OVMM rediscovery:
#!/bin/bash
OVMM="ip.of.ovmm.host"
Repository="$1"
outputFile="$2"
declare -A virtualDisks
if [ -z "$Repository" ]; then
    echo "Usage: saveVdiskNames.sh repository [outputfile]"
    echo "No repository given... aborting!"
    exit 0
fi
if [ -z "$outputFile" ]; then
    outputFile="$Repository""_vdisks.txt"
fi
rm -f $outputFile
# get all vdisks from a repository and iterate through the list to get their resp. names, if available
for vdiskID in `ssh -l admin -p 10000 $OVMM "show Repository name=$Repository" | grep VirtualDisk | grep "\[" | awk '{print $5}'`;
do
    vdiskName=`ssh -l admin -p 10000 $OVMM "show VirtualDisk id=$vdiskID" | grep Name | awk '{print $4}'`
    echo "vdiskID: $vdiskID, vdiskName: $vdiskName"
    # checking whether there is a double assignment of vdisk names
    checkVdiskName=${virtualDisks[$vdiskName]}
    if [ -n "$checkVdiskName" ]; then
        echo "Double vdisk name detected!!! - Prefixing name..."
        vdiskName=`echo -n "doubleName $vdiskName"`
    fi
    echo "$vdiskID,$vdiskName" >> $outputFile
    virtualDisks+=([$vdiskName]=$vdiskID)
done
No magic involved here… It's straight forward use of OVM's cli feature.
Cheers,
budy

Similar Messages

  • I am trying to download Firefox on my laptop which runs Vista. I am getting the following error message: Your Firefox profile can't be loaded, it may be missing or innaccessible." Please help.

    I am trying to download Firefox on my laptop which runs Vista. I am getting the following error message: Your Firefox profile can't be loaded, it may be missing or innaccessible." Please help.

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use
    * https://support.mozilla.com/kb/Firefox+is+already+running+but+is+not+responding

  • Using Adobe Reader, I cannot open any adobe documents, Message indicates missing plug-ins. Please help... Thank you

    Successfully downloaded Reader on to my PC (Windows 7 Home Premium 64 bit).    However, I cannot open any adobe documents,    Message indicates missing plug-ins. Please help... Thank you,
    Theyankfan

    Hey Joseph Curcio,
    You might be viewing the PDFs in your browser only where Adobe Reader plug-in is disabled.
    Please try opening the PDF file using Adobe Reader and then check.
    Let me know in which browser are you trying to view the PDFs so that I can help you out enabling the required plug-ins.
    Regards,
    Anubha

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

  • What happened to security.warn settings in about:config. They are missing in FF25. Please help!!

    Hi,
    I'm upgrading from Firefox 15 to Firefox 25.
    I used to be able to set the following security warnings in about:config.
    security.warn_entering_secure
    security.warn_entering_weak
    security.warn_leaving_secure
    security.warn_submit_insecure
    security.warn_viewing_mixed
    Not anymore. Looks like these are missing from Firefox 25.
    Please help!! Urgent.
    Thank you.
    Sr.

    the warnings about entering/leaving a secure site are totally gone, you'd have to look out for the security indicator at the start of the address bar to get that information about a site: https://blog.mozilla.org/ux/2012/06/site-identity-ui-updates/
    <br>or use an extension like this one for better visibility: https://addons.mozilla.org/firefox/addon/safe/
    the warning dialog about submitting data over an insecure channel at a secure site should still be in place...

  • Urgent issue on idoc?please help me

    Hi All,
    I have given a variant for a print program to generate idoc.
    It is a standard program i am having a customer exit.
    i kept breakpoints in my customer exit and executed teh variant.It didnot stop at my breakpoints and generated teh idoc.
    I have checked in the transaction F110 and idoc has been created.
    Now again i want to run the same variant and generate the idoc again as i need the program to stop at my break point so that i can analyse and change the code.
    now i need the process to regenerate the idoc so that i can execute the same variant and make that program to stop at my variant.
    can anyone please help me.
    Please tell the process to regenerate teh idoc.
    I need it urgent
    My Second and  actual problem for which i need to debug is:
    The print program to create the IDocs is RFFOEDI1.
    The aim is:
    => The value in the segment E1EDP02-BELNR has to be removed (so segment has to be empty) when:
         Company code = 1760    (E1IDKU3- PAYRUNCC) or (REGUP-ZBUKR)
         Payment method = “F”    (E1IDKU3- PAIRZAWE) or (REGUP-ZLSCH)
    This can be done via the existing Customer exit : ZXF08U06.
    I was not able to execute this program and debug.i kept break-points in customer exit for this data but still it is not stopping at my break-point and executed a idoc.now to run the same data ,i was not able to do it.If any one can help me it will be great.
    Thanks in advance
    Edited by: Aravinda Enakula on Jan 25, 2008 3:38 PM

    See if anything in this Link applies to your situation...
    http://support.apple.com/kb/TS1420
    http://www.apple.com/support/iphone/syncing/

  • Missing Podcasts...PLEASE HELP!

    Lately I have been noticing that in iTunes my Podcasts have not been updating. However, when I go to the individual pages for each Podcasts it shows DOZENS of new Podcasts available. Why am I no longer getting updated on new Podcasts? Also, on the rare occasions that new Podcasts HAVE shown up on iTunes there is only a title and description but no link to download. PLEASE HELP!    

    If the button to download is missing, try a Repair of iTunes.
    This is done by downloading iTunes again (do not uninstall your current iTunes), and then running the install. At some stage you should see a message asking if you wish to Repair iTunes. Use that.
    That should sort out the missing buttons. Perhaps it will sort out the lack of automatic downloads, but check the Podcast Settings to make sure that iTunes is still set to download new episodes of Podcasts you are subscribed to.

  • All app, pics, music everything missing after IOS5 upgrade please help! Got error-50 while restoring. But now no error syncing but still everything is missing :(

    Dear all,
    I just updated my I phone 4 to IOS5. After upgrade when it was restoring backup it showed me error-50. But now I dont see any apps, photos on my iphone. I tried to sync it again and again several times but its not working. Please help how to get back everything !!!

    Bump

  • Tips to Creating a Forum - without FTP/MySQL.. please help!

    I need to create a forum for my coworkers on our company website that I created a bit ago. The problem, however, is that I don't have direct access to our server - I can only access it locally from "my network connections" as a folder, and drop files into it. I'd imagine I can create a forum manually this way, then drop whatever is needed into the server folder (database, etc.?), but I have no idea where to start...
    I tried simplescripts.com first, and tried to add PhPBB to my site, but it requires ftp info, which I don't have and I.T. won't give. I also can't install new software to the work comp (again, compliments of I.T.) but I do use my own laptop at work, too - so if something needs to be installed just to create the forum I can do that, but not to run the forum..
    please help! Trying to work around FTP, which I don't really understand anyway, is very frustrating! Thanks in advance!!
    I have 2 ideas that may work, but can anyone verify? I have another website hosted by bluehost, which uses simplescripts. Can I just create a forum for that site, and then manually transfer the files from that server to this one?
    -or-
    Can I create a forum on an external site, and just link to it? That seems easiest, but not ideal..

    >The problem, however, is that I don't have direct access to our server
    Then you can't do it.
    A forum requires a database to store the data, plus some form of server side scripting. To host this yourself you will need a web server, database server and application server. You can't simply copy files to a file server if that is what you are asking.
    > I'd imagine I can create a forum manually this way,
    >then drop whatever is needed into the server folder (database, etc.?), but
    No, this will not work.
    >Trying to work around FTP, which I don't really
    >understand anyway, is very frustrating! Thanks
    >in advance!!
    FTP is simply a protocol that you can use to transfer files. It has nothing to do with your problem. Your problem appears to be that you do not have a web server to run your forum on.
    >Can I create a forum on an external site,
    >and just link to it? That seems easiest, but not ideal..
    Unless you find a web server in house you can use, that is your only option.

  • About RTPManager and SendStream~~~~Urgent.....please help me!!!!!

    hi guys, i try to send a datasource in RGBFormat, and i use RTPManager to breate a sendstream but on the client side, i can only receive session event, but when i want to show the datasource in the receivestream . it's display null!!!
    why this happened???when i print out the datasource which included in the receivestream,it's null!!i don't know why this happened?please help me!!!

    Hi. Can you show your source code?

  • My scrolling bar/slider for songs is missing on my iphone please help

    I call it a scrolling bar but it is the slider that can search through the different time points in a song or podcast. I listen to podcast a lot so I use the 30second back button when i need to write information down that I have heard. I also like to search through the podcast later for information. I noticed that the slider over the song being played has disappeared about a week ago after a physical sync to my macbook. I have been using 3.0 since it was introduced with my last year's 3G iphone. I cannot find any options that might have disabled this feature any help would be appreciated. I even tried a reset and resync & I am still missing the slider.
    Any help would be appreciated.
    D

    I'm having similar problems with my iTouch. It seems to be random when it appears and disappears for use. Since I do a lot of audio books, its something I use a lot to reset back in time when the phone distracts me for a bit.
    I do notice it has happened a lot more since I've purchased a clock for docking and listening by the bed.

  • Missing trade in credit - please help

    I typically don't like to complain, but the bestbuy employee I had to deal with was horrible.  Simply didn't want to do his job.  I'm a very reasonable person, but again this person was a slacker.  I purchased Gamers Unlocked last night then traded 2 games in.  One associate near the tv's (where I was rang up for the subscription) said I would get the bonus trade in credit, the person at customer service (where I traded the games in) said I wouldn't.  I just paid for this service and now I was being told I wouldn't get a trade in bonus.  After being in the store over an hour of getting pushed around I decided to quit for the day.  I was also overcharged for the titanfall guide which was $17.50 when I preordered, but went down to $12.50 the day before release.  I was not charged the lower rate even though I was under the impression I would be charged the lower rate.  This associate said it should be adjusted automatically within 2 days.  I'm hoping that's the case.  Hoping someone can help at least with the missing trade in credit.

    Hey xhardwarex,
    If your ordered your copy of the Titanfall strategy guide on BestBuy.com, then you should have been charged the lowest price available while your order was awaiting fulfillment. This doesn't appear to have happened with your order though, so I've sent you some information. I'll also need to gather some details regarding your trade-in to ensure you receive your GCU benefits, so please make sure to check your private messages when you have the chance to do so.
    To check your PMs, simply sign into the forum and then click on the letter icon in the upper right-hand corner of the page.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Very Very Urgent...Printing problem please help me.....

    Hi there,
    Today, i struggled with one printing problem. can anybody help me please!. We are preparing reports using reports 10g. I created a report with orientatin of Landscape and Paper size is 11.5*8.5 that is A4 size and right margin 0.2 left margin with 0.2 and top and bottom margins with 0.5.Report output is correctly coming in report builder runtime. Now the actual problem is, this report must linked to one server for example http://xx.xx.xxxx.main.html.we linked the report generated by me to this link.
    when i run the report using this weblink, report is displayed in htmlcss(i opted) perfectly,now user can take the printout of this report by clicking print from file menu. The actual problem i faced is when i run this report in html link report is correctly displaying but paper size is letter and page margin are right 0.75 and left 0.75 defualtly. When i print the report with these setings date is truncating when user takes printout in html. User don't know the page margins i.e right o.2 both left and right (actually in report builder). So he cant adjust it correctly in file menu pagesetup in html page.He simply click print and it should come as with report builder margin settings. To solve this i change the default preferences in control panel ---printers, but no use. Is it possible to pass margins both right,left and top bottom margins as runtimeparameters in url of the this report. Is there any alternative way.
    Please do reply urgent, becoz since this is my clients urgent requirement,help me
    Thanks and regards
    thanx in advance.
    Jeevan

    Hi,
    Though HTMLCSS pages are created using the same page margins that you specify in the report definition, the problem may become more clear to you if you try to create PDF files instead of HTMLCSS. Set DESFORMAT=pdf, and see the output PDF file in Acrobat Reader. Do you see the margins that you want, or is the problem still the same? If you don't see the correct margins even in the PDF file, it probably means you need to modify your report definition to get the margins you want.
    In case you see the correct margin in PDF output, it means that your report design is fine. The problem is with printing. In that case, I think what other people have suggested you is true - probably the printable area for your particular printer is less than what you want.
    I'm afraid I may not be the best person to specify the printer or OS settings. Please consult your printer vendor.
    The other option may be to get output in PDF format, and print PDF files.
    Navneet.

  • MySQL server, please help!

    Hello,
    I'm pulling my hair out with this SQL server problem.
    I have an XServer RAID running 10.5.5. I'm trying to get a document management system called DocHaven installed and running with MySQL.
    I downloaded and installed the MySQL 5.0.51b package they had linked on their site (the DocHaven company) and everything appeared to go smoothly. I launch MySQL Admin, login as root/blankpassword and create the "dochaven" database for users to use. I think create a "test/test" user.
    When I launch the software, it is able to verify connectivity to the SQL server as "root", but I am unable to verify nor login as "test"?! The list of users that it picks up is obviously made up users like "Agatha" "Bob T" and "Miss Crab".
    So my question is: How do I use the "test" user? Am I running two SQL servers? How do I check? I never went about disabling any default SQL server, I didn't know 10.5.5 Server had one.
    Help?

    I am in email contact with DocHaven support and one of their emails leads me to think that my server is running two instances of MySQL (the default installed, and the MySQL 5.0.51b that I installed).
    Based on a very quick look, the DocHaven folks lack any overt references to Mac OS X Server in their site, and installing MySQL on Mac OS X Server can (does) lead to two parallel installations, and to the usual problems such can trigger.
    It is possible to have two copies of MySQL installed (qv: [MAMP|http://mamp.info] can install various software bits entirely in parallel with similar bits shipped within Mac OS X), but care need be taken to prevent run-time collisions; when you're supplementing an installed product within Mac OS X or Mac OS X Server, it's usually best to shut down the installed version (which has its own issues), or (where you can) to simply avoid installing replicated software.
    I'll continue contacting support, but from a level one troubleshooting idea, do you know of an easy way to verify if I am indeed running two servers? SQL is obviously new to me, though I am somewhat comfortable with command line. So any SQL commands will be new. I have downloaded and installed MySQL Administrator... this appears to be connecting to the MySQL 5.0.51b server, but for all I know, the default SQL server is running somewhere, too.
    If you have Mac OS X Server and you followed the DocHaven directions from that web page I cited earlier (and which point to a need to install MySQL on Mac OS X), then you almost certainly do have two copies of MySQL loaded. You probably don't have two copies fully running, as MySQL tends to get tangled. Therein lies a problem, too.
    Here, (as mentioned) I'd try a reinstall; whether you can successfully back out or delete or uninstall that second MySQL depends heavily on what happened when the kit was installed. (I'm guessing you don't have a copy of the Mac OS X Server system disk created prior to the installation, either -- so we'll here hope you can trash the existing MySQL installation through some means and try again.)
    Consider asking the DocHaven folks if they've ever installed on Mac OS X Server, or if they support it. And if so, then if Mac OS X Server and its version of MySQL are considered supported; if you really need that second MySQL kit.

  • Firefox won't open...error message - "your firefox profile cannot be loaded. . It may be missing or inaccessible." Please help. I have unistalled & reinstalle

    Firefox won't open for me. I keep getting the errors listed below:
    "your firefox profile cannot be loaded. . It may be missing or inaccessible."
    "Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window."
    Nothing is running. I've killed all the firefox processes, restarted, uninstalled and reinstalled.
    What can I do?
    Thanks
    Kris

    Did you delete the profiles.ini file?
    *http://kb.mozillazine.org/profiles.ini_file
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *Windows: %AppData%\Mozilla\Firefox\<br>C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    *Linux: ~/.mozilla/firefox/
    *Mac: ~/Library/Application Support/Firefox/
    You can use one of these to make Firefox create/use a new default profile:
    *Delete the profiles.ini file to force Firefox to create a new default profile
    *Use the Profile Manager to create a new profile
    *Use "Choose Folder" when you create a new profile to select the location of a lost profile and recover this profile
    *http://kb.mozillazine.org/Profile_Manager
    *https://support.mozilla.org/kb/Managing+profiles
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

Maybe you are looking for

  • What would the best process chain look like for this MD data load scenario?

    Hi there, I have the following setup. SAP BW connection to external system via DBConnect (DB2 database). We have 73 master data text data sources to load either once a week or everyday through process chain. We have not decided on the exact schedule

  • REBATE  SETTLEMENT ERROR.

    Hi all, well have created material rebate in vbo1 & the rebate is for 50 .In vf02 in accounting doc  the amounts are displayed  as :    ERU   rebate accurals : 50, & reverse for other  :50 . can u pl let me know wts  the amount 50 ,which says reverse

  • My account has not updated new prepaid account

    opened a new Prepaid mobile added to my account which has not happened also had alot of trouble rechargeing with Voucher because the my account was not showing after number of phone calls to Telstra and being told by robot can't do that ring this num

  • Route or switch on the core Layer

                       I am working on a new network design for my company with four buildings, I have used building distribution method for all buildings, my design seems to be functioning properly, I have configured vlans and eigrp routing on the distr

  • Getting "No Bootable device" Error Message

    I bought my daughter a new Satellite Laptop earlier in the spring (April 10th) and am having an issue trying to get it to start. Its a C55D-A5120 (S/N XXXXXXXXX P/N PSCFWU-03H02X) and I'm having truble just trying to get help from Toshiba. I original