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
Solved

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

Posted on 2011-03-01
12
2,508 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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:

856 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