VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 25 Replies Last post: Sep 15, 2009 12:18 PM by DynoSpoid  

Alternatives to web console posted: Sep 29, 2008 8:21 AM

Click to view PeteHelgren's profile Novice 15 posts since
Mar 10, 2007

I worked with an earlier version of VMWare server where administration was a snap with the old console. I recently did a fresh install of Server 2.0 on a new server and the web console is just a hassle.

Running VMServer 2.0 on Small Business Server 2003 SP2 (ISA 2004). If I attempt to run the Web Access, I get a log in screen (http://localhost:8308/ui/#) and then when I attempt to log in I this error:

"The VMWare Infrastructure Web Service at "http://localhost:8222/sdk" is not responding (Connection Refused)"

If I attempt to go to the VMWare Server Home Page (https://vasserver:8333/) I get: "Firefox can't establish a connection to the server at vasserver:8333."

Tomcat IS running at http://vasserver:8308/

I am guessing that ISA is unhappy with the attempts at accessing the web sites but what ports should I unblock? 8308 is fine. Where are the 8333 and the 8222 ports coming from? Are there other services I should start?

Is there a non-web option I can use to administer my VM?

Thanks

Re: Alternatives to web console

1. Sep 29, 2008 11:29 AM in response to: PeteHelgren
Click to view Paul Thomas's profile Master 861 posts since
Dec 30, 2007

With a default install the ports 902,8222 & 8333 are used. I'm not sure why your tomcat is on a different port, unless you changed the defaults.

You can use the VIC client, this willallow you to start/stop VMs and view their console. You currently can't configure the VMs as the version 7 hardware is not supported by the vic.

You can install it by running the file found at the address below, which is created as part of the vmware installation process.

C:\Program Files (x86)\VMware\VMware Server\hostd\docroot\client

Re: Alternatives to web console

3. Oct 7, 2008 11:40 AM in response to: Paul Thomas
Click to view servilla's profile Lurker 1 posts since
Dec 14, 2006
In addition to the default ports that you mention (e.g., 902, 8222, and 8333), the VMware instance of Tomcat uses port 8005 as the default shutdown listener (see server.xml in /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/conf (Ubuntu x386 8.04 install)). This caused a conflict in another instance of Tomcat that I run for development, which uses the same shutdown port address. I reassigned my alternate Tomcat's shutdown port to another, and this seemed to allow the non-VMware instance of Tomcat to startup without problems - i.e., no port conflicts.

So why did VMware go to the trouble of changing the default non-SSL and SSL listeners to 8222 and 8333, respectively, but not change the shutdown listener port address?

Sincerely,

Mark

Re: Alternatives to web console

4. Oct 9, 2008 11:19 AM in response to: PeteHelgren
Click to view twwbond's profile Lurker 1 posts since
Oct 9, 2008
This may be an IPv6 networking issue. I changed my /etc/hosts localhost definition from ::1 to 127.0.0.1 on my machine and it seems to be working now.

Re: Alternatives to web console

6. Oct 15, 2008 2:02 AM in response to: PeteHelgren
Click to view JPRPI's profile Enthusiast 74 posts since
Feb 6, 2006
Is anything listening on 8222/8333? Try netstat -an from cmd-line.

Anyway the above ports are configured in a proxy.xml file located below the C:/Documents and Settings/All Users/Application Data/VMWare/VMWare Server/hostd directory. You could also check your tomcat log files located at .../All Users/Application Data/VMWare/VMWare Server/tomcat-logs.

If you dont't like VMWare putting data in these directories you could change this in .../All Users/Application Data/VMWare/VMWare Server/hostd/config.xml

There is a non-web option administering your vms (VMWare Infrastructure Client), BUT it uses a SOAP interface based on port 8333, so this doesn't help you in this case.

Jan

Re: Alternatives to web console

8. Oct 20, 2008 10:28 PM in response to: PeteHelgren
Click to view JPRPI's profile Enthusiast 74 posts since
Feb 6, 2006
Try changing the VMWare ports 8222 and 8333 in proxy.xml located in directory

C:\Dokuments and Settings\All Users\Application Data\VMware\VMware Server\hostd

Example:

<ConfigRoot>
<httpPort>9222</httpPort>
<httpsPort>9333</httpsPort>
<EndpointList>
<_length>5</_length>
<_type>vim.ProxyService.EndpointSpec[]</_type>
<e id="0">
<_type>vim.ProxyService.NamedPipeServiceSpec</_type>
<accessMode>httpAndHttps</accessMode>
<pipeName>\\.\pipe\vmware-proxy-webserver</pipeName>
<serverNamespace>/</serverNamespace>
</e>
<e id="1">
<_type>vim.ProxyService.LocalServiceSpec</_type>
<accessMode>httpsWithRedirect</accessMode>
<port>8307</port>
<serverNamespace>/sdk</serverNamespace>
</e>
<e id="2">
<_type>vim.ProxyService.LocalServiceSpec</_type>
<accessMode>httpsWithRedirect</accessMode>
<port>8308</port>
<serverNamespace>/ui</serverNamespace>
</e>
<e id="3">
<_type>vim.ProxyService.NamedPipeServiceSpec</_type>
<accessMode>httpsOnly</accessMode>
<pipeName>\\.\pipe\vmware-proxy-vpxa</pipeName>
<serverNamespace>/vpxa</serverNamespace>
</e>
<e id="4">
<_type>vim.ProxyService.NamedPipeServiceSpec</_type>
<accessMode>httpsWithRedirect</accessMode>
<pipeName>\\.\pipe\vmware-proxy-mob</pipeName>
<serverNamespace>/mob</serverNamespace>
</e>
</EndpointList>
</ConfigRoot>

Did this help?

Jan

Re: Alternatives to web console

10. Oct 21, 2008 9:28 AM in response to: PeteHelgren
Click to view FabioF's profile Novice 10 posts since
Sep 23, 2008

Hi,

I have exactly the same problems listed above: ports 8333 and 8222 are not listening (not shown with netstat), altough tomcat is alive.

I have only these VMWare services running (on my Win XP host): Authorization, NAT, Server Web Access.

I can's start the Host Agent, because of the error "1075: The dependency service does not exist or has been marked for deletion", but the only dependent service are "Protected Storage" and "VMWare Authorization Service", which are indeed started...

Any clue? Anything else to check on the system?

thanks

Fabio


Re: Alternatives to web console

11. Oct 21, 2008 10:40 AM in response to: FabioF
Click to view JPRPI's profile Enthusiast 74 posts since
Feb 6, 2006
Hi,

I just checked my system. Host Agent on my machine is also depending on the Workstation service. Is that something you can try on?

Jan

Re: Alternatives to web console

12. Oct 22, 2008 2:51 AM in response to: JPRPI
Click to view FabioF's profile Novice 10 posts since
Sep 23, 2008
Hi,

I have no Workstation service. I looked for it on the net and found out that the actual service name is "lanmanworkstation". If I try to start it (net start lanmanworkstation) it fails (The service name is invalid - You tried to start a service that is not configured on this system).

Instead, I have the "lanmanserver" service which is active and alive, displayed as "Server" in the service list. I think this have a similar role, on my XP SP3 Pro system.

Is there's any startup log for the WMWare Host Agent that I can check, to better identify which one is the actual broken dependency?

Can you anyway confirm that the Host Agent is mandatory, to make the Web UI work?

BTW - I installed WMWare Server 2 after uninstalling version 1... I wonder if something left behind form the uninstall procedure is the reason for the Host Agent failure at startup.

Fabio

Re: Alternatives to web console

13. Oct 22, 2008 3:09 AM in response to: FabioF
Click to view FabioF's profile Novice 10 posts since
Sep 23, 2008
I started the Host Agent straight from the (found in the registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VMwareHostd) and got the output below.
I also attached the config.xml file.

"D:\Program Files\VMware\vmware-hostd.exe" -u "C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\config.xml"2008-10-22 11:59:37.281 'App' 5584 info Current working directory: C:\Documents and Settings\All Users\Application Data\VMware\VMware Server
2008-10-22 11:59:37.281 'App' 5584 info Trying blklistsvc
2008-10-22 11:59:37.281 'App' 5584 info Trying cimsvc
2008-10-22 11:59:37.281 'App' 5584 info Trying directorysvc
2008-10-22 11:59:37.281 'App' 5584 info Trying hostsvc
2008-10-22 11:59:38.375 'NetworkProvider' 5584 info Using netmap configuration file C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\netmap.conf
2008-10-22 11:59:42.000 'NetworkProvider' 5584 info Active ftp is 1
2008-10-22 11:59:42.000 'NetworkProvider' 5584 info Allowanyoui is 1
2008-10-22 11:59:42.000 'NetworkProvider' 5584 info udptimeout is 30
2008-10-22 11:59:42.531 'StorageProvider' 5584 warning Deserialized nas datstore inventory is NULL
2008-10-22 11:59:42.531 'Hostsvc::AutoStartManager' 5584 info VM autostart configuration: C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\vmAutoSt
art.xml
2008-10-22 11:59:43.093 'Locale' 5584 info Locale subsystem initialized from D:\Program Files\VMware\locale/ with default locale en.
2008-10-22 11:59:43.093 'ResourcePool ha-root-pool' 5584 info Resource pool instantiated
2008-10-22 11:59:43.109 'ResourcePool ha-root-pool' 5584 info Refresh interval: 60 seconds
2008-10-22 11:59:43.109 'HostsvcPlugin' 5584 info Plugin initialized
2008-10-22 11:59:43.109 'App' 5584 info Trying httpnfcsvc
2008-10-22 11:59:43.109 'App' 5584 info Trying internalsvc
2008-10-22 11:59:43.156 'App' 5584 info Trying nfcsvc
2008-10-22 11:59:43.343 'Nfc' 5584 info Breakpoints disabled
2008-10-22 11:59:43.578 'Libs' 5584 info Using system libcrypto, version 9070AF
2008-10-22 11:59:46.343 'Libs' 5584 info NFC DEBUG Successfully loaded the diskLib library
2008-10-22 11:59:46.343 'Nfc' 5584 info File Services initialized fmgr(class NfcSvc::NfcFileManager:0345C628)
2008-10-22 11:59:46.343 'App' 5584 info Trying ovfmgrsvc
2008-10-22 11:59:46.343 'App' 5584 info Trying partitionsvc
2008-10-22 11:59:46.343 'App' 5584 info Trying proxysvc
2008-10-22 11:59:46.406 'Proxysvc' 5584 info Proxy config filepath is C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\proxy.xml
2008-10-22 11:59:46.421 'Proxysvc' 5584 info Plugin initialized
2008-10-22 11:59:46.421 'App' 5584 info Trying snmpsvc
2008-10-22 11:59:46.421 'App' 5584 info Trying solo
2008-10-22 11:59:46.640 'App' 5584 info Vmacore::InitSSL: doVersionCheck = false, handshakeTimeoutUs = 120000000
2008-10-22 11:59:46.703 'Solo' 5584 info Initialized SSL context with version all
2008-10-22 11:59:46.703 'Fixed Datacenter' 5584 info Host name: ffumi-it.it.oracle.com
2008-10-22 11:59:46.703 'ComputeResource' 5584 info Compute resource instantiated
2008-10-22 11:59:46.703 'EnvironmentManager' 5584 info Environments file: C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\environments.xml
2008-10-22 11:59:46.734 'EnvironmentManager' 5584 info Descriptor loaded: vmx-03
2008-10-22 11:59:46.875 'EnvironmentManager' 5584 info Options loaded
2008-10-22 11:59:46.937 'Libs' 5584 info HostDeviceInfo: Failed to enumerate host parallel ports via the registry. Could not open device map parallel port registry key.
2008-10-22 11:59:46.937 'EnvironmentBrowser' 5584 warning Failed to enumerate parallel devices
2008-10-22 11:59:46.937 'EnvironmentManager' 5584 info Descriptor loaded: vmx-04
2008-10-22 11:59:47.265 'EnvironmentManager' 5584 info Options loaded
2008-10-22 11:59:47.296 'Libs' 5584 info HostDeviceInfo: Failed to enumerate host parallel ports via the registry. Could not open device map parallel port registry key.
2008-10-22 11:59:47.296 'EnvironmentBrowser' 5584 warning Failed to enumerate parallel devices
2008-10-22 11:59:47.296 'EnvironmentManager' 5584 info Descriptor loaded: vmx-06
2008-10-22 11:59:47.765 'EnvironmentManager' 5584 info Options loaded
2008-10-22 11:59:47.796 'Libs' 5584 info HostDeviceInfo: Failed to enumerate host parallel ports via the registry. Could not open device map parallel port registry key.
2008-10-22 11:59:47.796 'EnvironmentBrowser' 5584 warning Failed to enumerate parallel devices
2008-10-22 11:59:47.812 'EnvironmentManager' 5584 info Descriptor loaded: vmx-07
2008-10-22 11:59:48.234 'EnvironmentManager' 5584 info Options loaded
2008-10-22 11:59:48.265 'Libs' 5584 info HostDeviceInfo: Failed to enumerate host parallel ports via the registry. Could not open device map parallel port registry key.
2008-10-22 11:59:48.265 'EnvironmentBrowser' 5584 warning Failed to enumerate parallel devices
2008-10-22 11:59:48.265 'Solo' 5584 info Plugin initialized
2008-10-22 11:59:48.265 'App' 5584 info Trying statssvc
2008-10-22 11:59:48.359 'Statssvc' 5584 info Initializing statssvc plugin
2008-10-22 11:59:48.359 'Statssvc' 5584 info Collection interval is 20 sec
2008-10-22 11:59:48.359 'Statssvc' 5584 error Unable to load stats depot hostAgentStats in directory C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hos
td/stats : The system cannot find the path specified.
2008-10-22 11:59:48.359 'Statssvc' 5584 warning Reverting to default stats configuration
2008-10-22 11:59:48.453 'App' 5584 info Trying supportsvc
2008-10-22 11:59:48.500 'SupportsvcPlugin' 5584 info Plugin initialized
2008-10-22 11:59:48.500 'App' 5584 info Trying vcsvc
2008-10-22 11:59:48.562 'App' 5584 info Trying vdisksvc
2008-10-22 11:59:48.562 'App' 5584 info Trying vimsvc
2008-10-22 11:59:49.218 'Vimsvc' 5584 info Initializing vimsvc plugin
2008-10-22 11:59:49.421 'Libs' 5584 info ADS Wrong formatted ADs path of 'WinNT://ffumi-it'
2008-10-22 11:59:49.437 'Libs' 5584 warning Failed to initialize active directory
2008-10-22 11:59:49.437 'App' 5584 error Failed to initialize Active Directory services
2008-10-22 11:59:49.437 'App' 5584 panic error: Not initialized
2008-10-22 11:59:49.437 'App' 5584 panic backtrace:

(backtraces not supported)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Re: Alternatives to web console

14. Oct 22, 2008 3:09 AM in response to: FabioF
Click to view JPRPI's profile Enthusiast 74 posts since
Feb 6, 2006
Fabio,

I can confirm that Host Agent service is needed to connect to the WebUI. I stopped the service on my server and was not able to logon while it was stopped. Immediatly after restart logging in worked again.

lanmanworkstation is on my system a dependend service for Host Agent. Is the "Client for Microsoft Networks" activated on your lan adapter? I'm pretty sure that, if activated, this should start the lanmanworkstation service.

Concerning your update from version 1: I did the same thing on my machine and had no problems. Actually, VMWare Server 2 checks and uninstalls version 1, if found.

Jan

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities