virtual-machine

Listener failed to start

孤街浪徒 提交于 2019-12-24 19:18:27
问题 I have a virtual Machine on VMWare Player: Oracle 11g on Linux Centos. Since I haven't used it for 2 years, I don't remember almost anything,and when I try to startup the db it says listener is down, and when I try to start listener it says: TNSLSNR for Linux Version 11.2. 0.1.0 - Production System Parameter file is /oracle/product/11gR2/network/admin/listener.ora Log messages written to /oracle/diag/tnslsnr/srvlinux/listener/alert/log.xml Error listening on: (ADRESS=(PROTOCOL=tcp)(HOST=)

Not able to automate button click on “Oracle VM virtual box” using pywinauto in python

被刻印的时光 ゝ 提交于 2019-12-24 16:56:00
问题 I am working on the Automation of loading an image file in "Oracle VM Virtual box" to create a virtual machine using Pywinauto in python. I am able to automate the installation of Virtual Box software & after that able to launch the exe also shown in the image But after that I am not able to do any GUI operation on "Oracle VM VirtualBox Manager" (e.g.Selecting File Menu or click New button) automatically using Pywinauto. I have attached the snapshot of Inspect tool for Oracle VM Virtual box

Creating a Virtual machine using Azure command line tool for linux

ε祈祈猫儿з 提交于 2019-12-24 15:23:07
问题 Trying to use Azure command line tool for linux, Below is the screen output when i am trying to create a vm. path.existsSync is now called fs.existsSync . info: Executing command vm create + Looking up image + Looking up cloud service + Creating cloud service + Retrieving storage accounts tty.setRawMode: Use process.stdin.setRawMode() instead. Enter VM 'cliusername' password: At this stage,I entered the password and hit enter but nothing more happens.Also what is the message "tty.setRawMode:

Trouble trying to access KVM code in ubuntu 14.04

北战南征 提交于 2019-12-24 15:12:07
问题 My virtualization project requires me to make changes in the vmx.c file of KVM.I have installed KVM in my Ubuntu 14.04 OS and am done launching an instance too.Yet,when I look up for vmx.c in the system,I do not find it.I though find a vmx.h file in the following directory /usr/src/linux-headers-3.19.0-30/arch/x86/include/asm.It would be really helpful if someone could guide me as to how do I go about it.Thank you in advance! 回答1: To be able to modify KVM without recompiling all the kernel,

How do you access the console of a GCE VM instance?

自古美人都是妖i 提交于 2019-12-24 13:14:47
问题 How can I access the console of a Google Compute Engine VM instance? 回答1: To see the console output (read-only), you can use any of the following methods: Web UI via Developers Console – on the instance detail page, scroll to the bottom of the page and expand the console output view CLI via gcloud compute instances get-serial-port-output API via getSerialPortOutput To get read/write (interactive) access, follow instructions on this page: gcloud compute instances add-metadata [INSTANCE_NAME] \

JVM memory mapping over a Linux Process

ぃ、小莉子 提交于 2019-12-24 12:38:23
问题 I am trying to understand how JVM's memory maps to that of the underlying Linux process. Here is my understanding of JVM's memory architecture: https://dl.dropboxusercontent.com/u/38889378/jvm_arch.jpg Now the next diagram shows the mapping of memory when a JVM instance is scheduled over a Linux process. https://dl.dropboxusercontent.com/u/38889378/OS_Process.jpg Here I have taken the following assumptions: The JVM Stack is actually part of the Linux Process HEAP , and hence we can say all

Boot2Docker Start up fails

老子叫甜甜 提交于 2019-12-24 11:44:58
问题 I am completely new to docker. I have installed it from Source. I am trying to run it from cmd by using boot2docker start . But i get the following boot2docker start Failed to start machine boot2docker-vm <run again with v for details> boot2docker init virtual machine boot2docker-vm already exists boot2docker start Failed to start machine boot2docker-vm exit status:1 So, For you guys it would be a simple one. I don't know what to do. I tried SO. But i can't able to understand the solution so

Applying rightsizing recommendations through an API in GCP

社会主义新天地 提交于 2019-12-24 10:56:46
问题 I wanted to know if there is a way to apply rightsizing recommendation which is provided for VM using an API call instead of doing it through UI in GCP Compute Engine? For ex: if there is a VM with config 16vCPUs and 40GB mem, and if the rightsizing recommendation on usage basis is to change the config to 12vCPUs and 20GB, Is there an API available which performs this action? I know it can be done manually through the interface. Thanks. 回答1: You can use the CLI to change the machine type for

Start and Stop Azure Virtual Machine

只谈情不闲聊 提交于 2019-12-24 10:38:37
问题 I need to start / stop a Azure virtual machine, but I don't know how I can do this. I don't know anything about Azure or Azure scripts. 回答1: You have several options. The first one is by using the Azure Portal. Click on your VM and at the bottom you should see a button to stop the virtual machine. Starting it again works the same way. The second option is to use PowerShell. John McCabe has posted a simple script on his blog to do this. The most important functions are Start-AzureVM and Stop

javafx application not running in virtual mac os

给你一囗甜甜゛ 提交于 2019-12-24 05:35:49
问题 operating system :- OS X Mavericks platform :- vmware workstation java version: jdk1.8 These are the softwares I am using to run the mac os x in a virtual machine. The problem is javafx application doesn't execute. Please help me how to solve this. Thank you 回答1: Your configuration is not certified "VMware is not a certified hypervisor" - i.e. it is not guaranteed to work with JavaFX and is unsupported. I have no advice on how you might get it to work. 来源: https://stackoverflow.com/questions