LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-19-2007, 08:18 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 12-19-2007, 10:01 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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..

Last edited by farslayer; 12-19-2007 at 10:25 AM.
 
Old 12-19-2007, 10:08 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by farslayer View Post
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
 
Old 12-19-2007, 10:29 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
Old 12-19-2007, 10:35 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by farslayer View Post
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
 
Old 12-19-2007, 10:40 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
Old 12-19-2007, 11:06 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by farslayer View Post
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
 
Old 12-19-2007, 11:08 PM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file sharing between a virtual machine and the host machine okok Linux - Networking 3 06-21-2013 12:42 AM
Unable to change the Virtual Machine Power State swiswire Debian 3 09-29-2008 02:58 PM
Unable to install Virtual Machine In Rhel5 with Virt-manager with CD-Rom Source prasun_mitra Linux - Enterprise 0 08-30-2007 03:03 AM
VMware: Unable to change virtual machine power state niteshadw Ubuntu 1 08-21-2007 11:11 AM
Unable to use wget and unable to ping machine from external source grunshaw Linux - Networking 3 10-24-2006 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration