Solved

Insufficient permissions w/ vmrun - Vmware Server 2.0.2 - Ubuntu 10.10

Posted on 2011-03-01
12
2,519 Views
Last Modified: 2012-05-11
Recently brought up a newly compiled instance of Vmware Server 2.0.2 on Ubuntu 10.10 (2.6.35-22-server). Got the service running, and 8333 port is listening correctly.

I've got a service account created that I want to run Vmware with (I specified this user account when compiling Vmware), and I'm also running the VM's from that user's encrypted home directory.

There's no GUI on this box, and I'm trying to bring up a Windows 2003 Server vm.

I'm typing:

sudo vmrun -T server -h https://IPADDRESS:8333/sdk -u myuser -p mysecret start /path/to/vmx gui

Open in new window


what I get though is an error:

Error: Insufficient permissions in host operating system

I'm able to login w/ my user account to the machine, and I even used SCP from another machine to it to transfer files (using the service account credentials), so I know i've got the username/pwd correct. The account is in the sudoers file as well.

I took a look at /var/log/messages:

[hostname] /usr/lib/vmware/bin/vmware-hostd[5999]: Rejected password for user [myuser] from 127.0.0.1

Open in new window


Maybe this is easy, but if someone could please, please help out -- that would be great.
0
Comment
Question by:kapshure
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 12

Accepted Solution

by:
mccracky earned 500 total points
ID: 35019330
It looks good, from what this document says:
www.vmware.com/pdf/vix180_vmrun_command.pdf

The error message (obviously) indicates that there is a permission problem with your password.

Can you run the machine through using vmplayer as a remote console using "vmplayer -h" to make sure the credentials work?  (See: http://tuxnetworks.blogspot.com/2010/07/vmware-remote-console-firefox-36.html)


Another similar post has this solution:

the problem is the PAM authentication mechanism in Linux.
go to /etc/pam.d and open the file vmware-authd
replace all occurrences of pam_unix.so with pam_unix2.so

(Found at: http://communities.vmware.com/thread/171109)
0
 

Author Comment

by:kapshure
ID: 35019467
@mccracky

well I got past this by reducing the security of the password (at least for now), but wound up hitting another issue. I was able to connect to VI console, launch a VM, login to the Win2k3 VM, but right after the splash screen, the VM BSOD"d. I go back to the Ubuntu server and it was unresponsive - it had crashed.

I had to rebuild VMWare Server 2.0.2, as it was missing vmmon modules. Now, I can't get back into the web console - at all. I can see with vmrun that the VM is running, when I issue a "vmrun list" command.. But now no web console access. I may try that vmware-player approach. I really need these VM's back up ASAP.

I should start a new thread probably, but what's the deal w/not being able to get into the web console now? I really have started disliking VMware server :/
0
 
LVL 12

Expert Comment

by:mccracky
ID: 35019939
VMWare server is no longer in development.  So it will be harder to run on newer kernels.  You might try it on Debian or CentOS.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 12

Expert Comment

by:mccracky
ID: 35019952
And, as another thought, if it is a business critical application, why run it on Ubuntu 10.10?  If you want Ubuntu, I'd stick with 10.04LTS with 5 years support for the server distro.
0
 

Author Comment

by:kapshure
ID: 35019954
@mccracky

that's good info to know. It wasn't my choice to switch over to Ubuntu, but I will make it known about the development/EOL cycle.

I read, no more support after this summer? and development stopped on it last summer/fall - right?
0
 

Author Comment

by:kapshure
ID: 35019961
@mccracky

why is 10.04 supported for so long, and 10.10 is not? I'm not very familiar with Ubuntu product release/support roadmap.
0
 

Author Comment

by:kapshure
ID: 35019971
OOps.. answered myself:

https://wiki.ubuntu.com/Releases
0
 
LVL 12

Expert Comment

by:mccracky
ID: 35019982
0
 

Author Comment

by:kapshure
ID: 35020047
got it!
0
 

Author Comment

by:kapshure
ID: 35020631
@mccracky

I tried this:

Can you run the machine through using vmplayer as a remote console using "vmplayer -h" to make sure the credentials work?  (See: http://tuxnetworks.blogspot.com/2010/07/vmware-remote-console-firefox-36.html)

but only from XP... I don't have a linux box atm with X windows/GUI loaded. I take it from that post on tuxnetworks, its only for linux machines.
0
 
LVL 12

Expert Comment

by:mccracky
ID: 35021253
I would guess that the windows version of vmplayer has the same capabilities and option switches, but I can't test it right now.

Or you could use ssh with X-Forwarding to one of the linux boxes.
0
 

Author Comment

by:kapshure
ID: 35021376
touche! thanks
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question