?
Solved

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

Posted on 2011-03-01
12
Medium Priority
?
2,561 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 2000 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
Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

 
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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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 …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
Suggested Courses

777 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