LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Unable to start virtual machine (http://www.linuxquestions.org/questions/linux-server-73/unable-to-start-virtual-machine-607851/)

satimis 12-19-2007 09:18 AM

Unable to start virtual machine
 
Hi folks,


Ubuntu 7.04 server amd64
VMWare server


On console;

$ /usr/bin/vmware-server-console start

starts "VMWare Server Console". Check "Local host" and click "Connect" prompting

Error
Unable to open: Virtual machine "start" is not in the inventory


Please advise where shall I check and how to fix this promble.


TIA


B.R.
satimis

farslayer 12-19-2007 11:01 AM

vmware-server-console is a GUI application. you shouldn't need to issue any startup parameters when you launch it. and actually the console installer added an item to my start menu and it launches the console using the command vmware

launching the console from the command prompt with either vmware or vmware-server-console works just fine..

satimis 12-19-2007 11:08 AM

Quote:

Originally Posted by farslayer (Post 2995834)
vmware-server-console is a GUI application. you shouldn't need to issue any startup parameters when you launch it. Leave off the start portion of your command.


$ /usr/bin/vmware-server-console

Thanks for your advice.


I got vmware-server-console started but can't add .vmx file to Inventory. On browsing the window grey out. I suspect the permission problem.


$ ls -l /opt/VM/CentOS-5_lamp.x86_64/
Code:

total 1800028
-rw-rw-r-- 1 root vmgroup  335478784 2007-12-14 11:14 CentOS-5_lamp.x86_64-s001.
vmdk
-rw-rw-r-- 1 root vmgroup  309854208 2007-12-14 11:14 CentOS-5_lamp.x86_64-s002.
vmdk
-rw-rw-r-- 1 root vmgroup  190316544 2007-12-14 11:14 CentOS-5_lamp.x86_64-s003.
vmdk
-rw-rw-r-- 1 root vmgroup 1005649920 2007-12-14 11:14 CentOS-5_lamp.x86_64-s004.
vmdk
-rw-rw-r-- 1 root vmgroup      65536 2007-12-14 11:14 CentOS-5_lamp.x86_64-s005.
vmdk
-rw-rw-r-- 1 root vmgroup        567 2007-12-14 11:12 CentOS-5_lamp.x86_64.vmdk
-rw-rw-r-- 1 root vmgroup          0 2007-11-19 10:32 CentOS-5_lamp.x86_64.vmsd
-rwxrwxr-x 1 root vmgroup      1037 2007-12-14 11:12 CentOS-5_lamp.x86_64.vmx
-rw-rw-r-- 1 root vmgroup      8664 2007-12-14 11:14 nvram
-rw-rw-r-- 1 root vmgroup        259 2007-11-19 10:32 readme
-rw-r--r-- 1 root root          1803 2007-12-19 20:10 vmware-0.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:04 vmware-1.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:04 vmware-2.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:26 vmware.log


$ ls -l /opt/VM/
Code:

total 4
drwxrwxr-x 2 root vmgroup 4096 2007-12-19 20:26 CentOS-5_lamp.x86_64


$ ls -l /opt/
Code:

total 4
drwxrwxr-x 3 root vmgroup 4096 2007-12-12 22:54 VM


B.R.
satimis

farslayer 12-19-2007 11:29 AM

did you put your virtual machine in the right location ?

Quote:

it-etch:# cat /etc/vmware/config | grep datastore
datastore.name = "local"
datastore.localpath = "/var/lib/vmware/Virtual_Machines/"
obviously your location could be different than the default I used when running the config script.

satimis 12-19-2007 11:35 AM

Quote:

Originally Posted by farslayer (Post 2995869)
did you put your virtual machine in the right location ?



obviously your location could be different than the default I used when running the config script.

$ cat /etc/vmware/config | grep datastore
Code:

datastore.name = "local"
datastore.localpath = "/tmp/"

On VMWare Server Console

Host -> Settings -> General - Browse

the Server Console collapse closing the window


satimis

farslayer 12-19-2007 11:40 AM

Ahh I see you are trying to change the default location it's using to look for the virtual machines. .

If you have no virtual machines running in vmware now... I would think you could simply edit the datastore.localpath in /etc/vmware/config then restart the vmware service.

satimis 12-19-2007 12:06 PM

Quote:

Originally Posted by farslayer (Post 2995886)
Ahh I see you are trying to change the default location it's using to look for the virtual machines. .

If you have no virtual machines running in vmware now... I would think you could simply edit the datastore.localpath in /etc/vmware/config then restart the vmware service.

I have CentOS 5 running on VMWare server as Guest OS which are images.

$ ls -l /opt/VM/CentOS-5_lamp.x86_64/
Code:

total 1800028
-rw-rw-r-- 1 root vmgroup  335478784 2007-12-14 11:14 CentOS-5_lamp.x86_64-s001.
vmdk
-rw-rw-r-- 1 root vmgroup  309854208 2007-12-14 11:14 CentOS-5_lamp.x86_64-s002.
vmdk
-rw-rw-r-- 1 root vmgroup  190316544 2007-12-14 11:14 CentOS-5_lamp.x86_64-s003.
vmdk
-rw-rw-r-- 1 root vmgroup 1005649920 2007-12-14 11:14 CentOS-5_lamp.x86_64-s004.
vmdk
-rw-rw-r-- 1 root vmgroup      65536 2007-12-14 11:14 CentOS-5_lamp.x86_64-s005.
vmdk
-rw-rw-r-- 1 root vmgroup        567 2007-12-14 11:12 CentOS-5_lamp.x86_64.vmdk
-rw-rw-r-- 1 root vmgroup          0 2007-11-19 10:32 CentOS-5_lamp.x86_64.vmsd
-rwxrwxr-x 1 root vmgroup      1037 2007-12-14 11:12 CentOS-5_lamp.x86_64.vmx
-rw-rw-r-- 1 root vmgroup      8664 2007-12-14 11:14 nvram
-rw-rw-r-- 1 root vmgroup        259 2007-11-19 10:32 readme
-rw-r--r-- 1 root root          1803 2007-12-19 20:10 vmware-0.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:04 vmware-1.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:04 vmware-2.log
-rw-r--r-- 1 root root          1803 2007-12-19 20:26 vmware.log

$ ls /tmp/
Code:

scim-helper-manager-socket-satimis  scim-socket-frontend-satimis
scim-panel-socket:0-satimis        vmware-satimis

$ ls /tmp/vmware-satimis/
Code:

ui-5587.log  vix-5295.log  vix-5306.log  vix-5317.log  wqppollWQ0.0x8a12538.5
Previously both the VM and CentOS 5 worked w/o problem.


Several hours ago I tried to run opennms-vmware on VM. But it needed vmware-player. I installed it on repo w/o success. Because of some problem I have to remove it with;

$ sudo killall vmnet-natd
$ sudo apt-get remove --purge vmware-player

and deleted /etc/vmware. Afterward I reinstalled vmware server. It comes to present situation.


satimis

satimis 12-20-2007 12:08 AM

Solved
 
Hi farslayer,


Problem solved. The Guest OS, CentOS 5 is now running on the Virtural Machine.


Actually there was nothing wrong neither the OS having problem nor the VMware server. After reinstalling VMware server I need to enter the serial number to have the right running it. THAT IS THE SOLUTION.


A further question;
Can I install VMware-player on the same box? Can VMWare-server and VMware-player coexist? TIA


satimis


All times are GMT -5. The time now is 02:06 AM.