Link to home
Start Free TrialLog in
Avatar of joh_apr
joh_apr

asked on

Can't access VMWare 2.0 web management

Hi, I already had problems with this issue before (post https://www.experts-exchange.com/questions/25883819/503-Service-Unavailable.html) and perfectly fixed, now I get a different error trying to start vmware-host.

This server has been working for half year without any problem. VMWare 2.0. OS is a Debian Lenny 5.0.

Main problem is that today one VM inside that node stopped working, the VM is taking 100% CPU and I can't access to VM due to Web MAnagement failing again.

When I try to start the vmware-hostd service I get this error:

menta:~# vmware-hostd start              
[2010-05-13 19:22:41.522 'App' 140320711964384 info] Current working directory: /root
[2010-05-13 19:22:41.525 'App' 140320711964384 panic] error: Could not find any plugins in config file
[2010-05-13 19:22:41.526 'App' 140320711964384 panic] backtrace:

[00] eip 0xf56badfb  
[01] eip 0xf55b4a40  
[02] eip 0xf5558447  
[03] eip 0xf5565bdb  
[04] eip 0xf55665f2  
[05] eip 0xf555f623  
[06] eip 0xab6f6e  
[07] eip 0xac5821  
[08] eip 0xad55e1  
[09] eip 0xf45131a6  
[10] eip 0x6a82fa  

Any ideas?

Thanks.
Avatar of bougui
bougui
Flag of Canada image

Hi,

ps -elf | grep vmx should tell you the PID of the vm in question

I would kill that PID, It will halt your VM and you may lost data so do this only if you have no other solution.  Your Vmware server should come back to normal

Bye
Avatar of joh_apr
joh_apr

ASKER

Hi,l I already killed the VM PID, but all keeps the same, can't access remote web console, same error. Can you help me please ?

Thanks.
I dont have vmware over debian but on rpm base distro

/etc/init.d/vmware-mgmt restart

should restart de mgmt interface of vmware 2.0

Let me know
Avatar of joh_apr

ASKER

I did it lots of times, seems that works fine, but problem persists, I can't access to the console:

server:~# /etc/init.d/vmware-mgmt restart
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                            done
Starting VMware management services:
   VMware Server Host Agent (background)                               done
   VMware Virtual Infrastructure Web Access

I have VMware Remote Console Plug-in directo shortcuts to VMs in my desktop, when I try to access to one of the VMs, after entering user / password, I get the error:

Error opening the remote virtual machine menta.kls.es:8222\80:
 A connection to the host could not be established.

Any other idea ?
Hi

can you do

lsof -i :8222

and

lsof -i :8333

and

lsof -: 80

to see if vmware is listening on those port
Avatar of joh_apr

ASKER

Yes, it is, and also it was before, that's why I told you that I can validate, but I get the error that I told you on my last reply.
Would you have enable a fw on thios host lately ?

Can you access other vm console on the same server ?

Bye
Avatar of joh_apr

ASKER

I can't access any VM inside that host. Didn't touch anything, a tech friend tried to re-configure non SSL 8222 port but same issues.

Please, can anybody help me ? I'm desesperating.

Thanks.
Are any vm running on this host ?

Maybe you can manually start the vm that you need, but it wont give you console access for now.

Maybe you can RDP to you vm and that ok for now.

SO lets try to start the vm you need

vmware-vim-cmd -U "vmadmin-USER" -P "VMPASS-HERE"  vmsvc/getallvms

This will give you a sumary of all your vm on this host with there numeric ID

Then check if your vm is already on

vmware-vim-cmd -U "vmadmin-USER" -P "VMPASS-HERE" vmsvc/power.getstate VM-ID

vmware-vim-cmd -U "vmadmin-USER" -P "VMPASS-HERE" vmsvc/power.on VM-ID

wait a minute and try to connect to your vm using RDP or connect to your application to see if your up.

Then you will have to let somebody in your server to find what is the issue on your debain server.

Let me know if at least you can start your vm.

Bye

Avatar of joh_apr

ASKER

Hi bouqui, the machine is up, but untill I don't enter manually a "route" command I won't be abble to connect it on the network. I was supposed to have that script automated in the boot system, but seems it didn't work.

Is there any way to send a command to the console across the main SSH server?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of bougui
bougui
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial