[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2011-03-01
12
Medium Priority
?
2,589 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

656 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