Shaxonline !

System Administration, Electronics , Technology , Gadgets and much more…

VMware : VM stuck at 95% after reset / Shutdown / reboot.

Once in a while the VMware Administrator may see this problem. A VM stuck at 95% while doing any operation like reset/ reboot / shutdown/ poweroff / snapshot creation etc.. Although this solution is not applicable for snapshot things, it can be utilized for the VM which stuck while carrying out other tasks.

First try to stop the VM using soft stop method.

vmware-cmd <VMX file path> stop

If it doesn’t work,  then force it

vmware-cmd <VMX file path> stop hard

Even then if it doesn’t work, then

ps -ef –cols 400  | grep -i <VM NAME>

This will return the PID of VM.
Kill the VM using kill -9 <VM’s PID>

If  above command dosn’t work, then it’s time to restart the HOST !.

Good Luck. and dont blame me if you loose any data while executing above commands !

Remote Desktop (RDP) doesn’t work after windows Update

OK, here is an update… I found some strange issue after i updated windows XP. I was unable to do remote desktop to this machine. Then i started uninstalling the updates and found that .Net 3.5 caused this issue. This is strange enough as i think there is no  relation between .Net and RDP. However,  RDP started working again once i uninstalled .Net 3.5.

My favorite Instrumental Music…

I found this song a year ago on Imeem and its best of its kind I’ve listened yet. The melody is marvelous and can easily take you into relaxed state of mind. Listen it with headphones and no noises around.

http://www.imeem.com/people/iwgFlp/music/St1w-ZGV/chinese-classic-flute/

Listen this song and put your comments…

Displaying PHP code errors when not having access to php.ini

When using a shared server,one may not have access to php configuration file php.ini.Many times you will need to enable php errors, so that one can see what is the issue instead of empty page.

One can enable error reporting for php script using following code the main code -


error_reporting(E_ALL);
ini_set(”display_errors”, 1);

This will display the errors in the browser when you try using the script.