VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 2 Previous Next 28 Replies Last post: Mar 10, 2010 8:38 AM by eckart   Go to original post
Click to view Axel Werner's profile Novice 14 posts since
Sep 17, 2008

And once again NO LOGIN SCREEN for some minutes...

I attached another screenshot this time, showing some more interesting error message of the java/javascript application.

i guess there are BUGS within the web-if . where can i post bugreports for vmware server 2.01 (linux) so a real developer will read and examine it??

vmware-server-201-linux-missing-login-screen-javascript-errors.png


Click to view SaturnusDJ's profile Lurker 1 posts since
Sep 26, 2009

Still not fixed is it?
Most of the times the login does not appear and sometimes the screen of a VM (Summary, etc) won't load also.

Except from the VMware Infrastructure Client is missing, I thought (correct me if I am wrong), it is not usable with VMware Server 2.x. Only VMware Remote Console is usable to view VMs, but configuring requires the webinterface.

I 'work around' this problem by holding ctrl + F5 in Firefox for some seconds until the login shows up.
Click to view rancor's profile Novice 16 posts since
Jun 21, 2009

I can just confirm that is a real big issue with this kind of error. I got 2 installations running Ubuntu Server 9.04 as hosts and both where showing this problem.

I corrected it by fix my hosts file that was broken since I moved the servers from the lab to another location. Before I have exactly the same error messages in my error console in FF.

Another issue is that Ubuntu can't handle the FF plugin for the console without crash the keyboard.

Please VMware, give us a real application for Linux that are working with all your products for adminstration of the servers. How can we test and validare the free software before we continue to the "real" stuff if this aint working? Make Vsphere client working in Linux and add support for all platforms in that client for both Windows and Linux

// rancor

Re: Web interface doesn't load - what's up ?

19. Oct 19, 2009 8:46 AM in response to: atakacs
Click to view hilbertglm's profile Lurker 2 posts since
May 21, 2007
I am having the same problem on an OpenSUSE 11.0 64-bit host running VMware Server 2.0.1. I increased the Java memory to 128M, but that didn't help.

Re: Web interface doesn't load - what's up ?

20. Oct 19, 2009 9:01 AM in response to: hilbertglm
Click to view hilbertglm's profile Lurker 2 posts since
May 21, 2007

I don't know what caused the original problem, but here's some information about getting the webAccess restarted after a failure. I was able to get things restarted without rebooting any virtual machines or the host machine. In my case, there was a broken version of the Tomcat web application server still running. I had to kill that and restart the vmware-mgmt service. Things started working again.

Specifically...

1) Try to stop the service through the service interface

service vmware-mgmt stop

2) Ensure that it terminated properly

ps -elf | grep catalina

3) If you see any Tomcat processes (they end in 'org.apache.catalina.startup.Bootstrap start', kill them using the 'kill -9 <pid>' where the <pid> is the 4th field in the ps -elf command. For us Unix geeks, the command is

ps -elf | grep catalina | grep -v grep | awk '{print $4}' | xargs kill -9

4) Restart the service via the service interface

service vmware-mgmt restart

Of course, that's not a solution, but it may help some of you get operational again without any reboots.


Re: Web interface doesn't load - what's up ?

21. Nov 17, 2009 5:54 AM in response to: hilbertglm
Click to view geoffbeaumont's profile Lurker 1 posts since
Nov 17, 2009


hilbertglm wrote:

Of course, that's not a solution, but it may help some of you get operational again without any reboots.


Thanks - it did. But you're right, this isn't a solution (certainly not one I can ask colleagues to use!).

I'm gathering that:

  1. There isn't anyway to use the old thick client with VMware Server 2? I know it didn't have as many features as the new web interface, but it did at least work reliably (I've found the web UI to be pretty shonky even when it is working at all)
  2. VMware aren't interested in fixing this, since it seems to have been an issue for months (found what looks like the same problem in this thread from July).

Hopefully I'm wrong on at least one count? Otherwise I think I'm going to have to roll back to VMware Server 1, because 2 just isn't a usable solution as it stands :(

We're running in a fully supported environment:

Host: Ubuntu 8.04 LTS 32bit

VMs: Mix of Windows 2003/2008 server and Linux

Accessing web UI from WinXP, Firefox 3.5.5 / IE8

Geoff

Re: Web interface doesn't load - what's up ?

22. Nov 21, 2009 9:32 PM in response to: atakacs
Click to view Doug_'s profile Novice 6 posts since
May 31, 2006

Another thread with the same issue:

no login-fields at web-service, just blank
http://communities.vmware.com/message/1422899


Re: Web interface doesn't load - what's up ?

23. Dec 14, 2009 12:17 PM in response to: Doug_
Click to view cbaker118's profile Lurker 1 posts since
Dec 14, 2009
Ok! the reason we've been getting javascript error messages is because the plugin fails. Even on restart of FF and or my ubuntu the problem still isn't fixed. I had to disable the plugin, restart firefox, enable the plugin again, and restart again. Now I get the login prompt...

I would still prefer the application as opposed to this webAccess crap...

Re: Web interface doesn't load - what's up ?

24. Mar 5, 2010 1:32 PM in response to: atakacs
Click to view RevJW's profile Novice 3 posts since
Feb 10, 2006
okay everyone...i think might have another possible, and hopefully permament, solution to this problem. i ran into this using firefox and IE on a brand new Windows 7 box, trying to connect to the web ui over ssl. tried all the usual (restarting vmware-mgmt, clearing cache, etc) to no availl. i got the same errors in firefox's error console about vmtn not being defined, etc. after poking around a bit i notied the errors i was seeing in the error console were changing every time i reloaded the page and it seemed like the js files weren't being parsed correctly. looking around online i ran across a thread where someone else noticed that some of the files don't seem to be decompressed reliably: http://ubuntuforums.org/showthread.php?t=1160255

so, i figured, why not turn off compression in catalina? changed config, restart vmware-mgmt, login page works!

this is a simple change and easily reversible if anyone notices anything odd. to disable compression:

  • edit tomcat's server.xml file (lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/conf/server.xml under where your vmware server filesets were installed).
  • find the http/1.1 connector definition listening on port 8308 (begins on line 68 or so) and change compression="on" to compression="off"
  • restart vmware-mgmt

the modified connector entry in my server.xml looks like this:
<Connector port="8308" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
compression="off" compressionMinSize="256"
compressableMimeType="text/html,text/xml,text/javascript,application/x-javascript,application/javascript" />
the login page came up almost immediately for me afterwards, and hasn't broken sense.

give it a shot and good luck!

Re: Web interface doesn't load - what's up ?

25. Jan 28, 2010 12:26 AM in response to: RevJW
Click to view Axel Werner's profile Novice 14 posts since
Sep 17, 2008

nice Thinking!

but it did not worked for me.

Testet it 30mins ago on vmware server 2.01 on ubuntu server (jaunty). compression is off. however it still fails, and it still reports syntax errors and an "exception" just as without altering the server.xml file.

Same picture within Internet Exploiter 7. Page Head says "Loading..." and nothing appears.

of course i restartet the web-interface after altering the file.


Re: Web interface doesn't load - what's up ?

26. Jan 28, 2010 1:40 PM in response to: Axel Werner
Click to view RevJW's profile Novice 3 posts since
Feb 10, 2006
Axel, did you clear out your browser's cache after making the change? Its sounds simple, but you might still have a bad version of the javascript files in the cache that are getting in the way.

Re: Web interface doesn't load - what's up ?

27. Mar 5, 2010 1:29 PM in response to: Axel Werner
Click to view RevJW's profile Novice 3 posts since
Feb 10, 2006
Axel (and everyone),

I had the issue occur to me again, and found another oddity: hostd didn't properly die when restarting the management service. I was looking at the logs after I had the problem reoccur, and noticed that hostd was complaining about its proxy port already being in use:

Excerpt from hostd.log:
--2010-03-05 09:20:31.848 'App' 140420267378416 info-- Trying proxysvc
--2010-03-05 09:20:31.848 'Proxysvc' 140420267378416 info-- Proxy config filepath is /etc/vmware/hostd/proxy.xml
--2010-03-05 09:20:31.849 'Proxysvc' 140420267378416 panic-- Another process is listening on the proxy port.
Looking at the running processes, there was indeed a hostd process running that hadn't terminated even though /etc/init.d/vmware-mgmt restart seemed to run without error:

ps -ef | grep vmware-hostd:
root 3892 1 0 Mar04 ? 00:00:36 /VMware/server/lib/vmware/bin/vmware-hostd -a -d -u /etc/vmware/hostd/config.xml
I killed that processes (SIGTERM worked in fact) and restarted the management daemons. The web UI is working normally again....idk if these were really the same issue or not, but it had the exact same symptoms.

FYI: I still have compression turned off and this is the first time since that I've had the blank "Loading..." page problem.

Anyone see this too?

Re: Web interface doesn't load - what's up ?

28. Mar 10, 2010 8:41 AM in response to: RevJW
Click to view eckart's profile Lurker 1 posts since
Dec 7, 2006
Webinterface on my debian lenny is also not avaible via :8222 (:8333). Nothing in this thread helps for me.
hostd.log shows
2010-03-10 17:07:36.695 'Proxysvc' 1076336976 warning SSL Handshake on client connection failed: SSL Exception:

Additional that the hostd is not terminated throught init.d (very strange)

Found a workaround (but not secure :( ) here:http://communities.vmware.com/thread/119405
Connect to the :8308 works for me

Maybe it helps someone

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