I posted about this same error message sometime back but now I have discovered an easier and faster way to resolve it. Not fix it permanently, mind you, but at least make it so you can connect to your vSphere server using the VMware vSphere Client.
The Problem
When you are trying to logon to your vSphere 5 server using the VMware vSphere Client you get an error that says, "The remote server returned an error: (503) Server Unavailable".
The Problem
When you are trying to logon to your vSphere 5 server using the VMware vSphere Client you get an error that says, "The remote server returned an error: (503) Server Unavailable".
The Solution
Assuming you have enabled SSH on your vSphere server you can open a Putty session on port 22. After you have connected and logged in as root, issue the command called dcui and this will launch a console session that looks just like you were standing at the server.
Assuming you have enabled SSH on your vSphere server you can open a Putty session on port 22. After you have connected and logged in as root, issue the command called dcui and this will launch a console session that looks just like you were standing at the server.
Click F2 and login as root
Choose Troubleshooting Options from the menu
Choose Restart Management Agents from the menu
Press F11 to confirm your choice
Once the services are restarted you should now be able to login using the vSphere Client.
There have been times when I've had to restart the Management Agents multiple times before I could finally get the vSphere Client to work. I was hoping this would be resolved with VMware vSphere 5 Update 1, but unfortunately it has not. And this is only occurring for me on one vSphere server whereas we have five others that are behaving fine.
Great post.
ReplyDeleteThank you. It works. (For ESXI v5)
dcui didn't do anything for me via SSH, however /sbin/services.sh restart did fix the above issue.
ReplyDeleteThank you so much! This worked perfectly for me (ESXi 4.1). Really helped us out.
ReplyDeleteWhat a wonderful piece of information Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!
ReplyDeleteThumbs UP!! Great Post, I just wasted 1 hour of work trying to figure out what was wrong with server till I found your post! Thanks for sharing such helpfull info!!
ReplyDeleteThank you very much. This worked perfectly for me (ESXi 5.1)
ReplyDeleteVery happy, keep up the good work David.
thanks for the help!
ReplyDeleteI'm trying it now & will give you my feedback :)
ReplyDeleteI run this command many times
/sbin/services.sh restart
& restart managment agent many times after it works with me:)
Thnaks a lot. Now I will check the health of my VMs.
Thanks again for all of you.