Virtual Machine inaccessible(Unknown)

Posted: February 8, 2016 in Uncategorized

If virtual machine is disconnected from ESXI due to vmx file lock, follow the below steps to fix the issue.


Note down the ESXI IP, VM hostname, Ip address & .vmx & .vmdk file path before starting the activity.


Remove the VM from the inventory. Select VM ==> Right click and remove VM from inventory.



Browse the datastore where the .vmx file is located. Right click .vmx file and try adding to the inventory.

If still issue is not resolved. Need to find the lock and it needs to be removed.


Login to ESXI and locate the process ID using below command.

1) esxcli vm process list

Output will be as below.

EG (Output:
World ID: 3338106
Process ID: 0
VMX Cartel ID: 3338103
UUID: 42 00 2c c6 2b d6 17 af-15 58 75 b6 2c 26 f6 10
Display Name: VM
Config File: /vmfs/volumes/531edada-36119f2e-0012-14feb5caca3b/VM/VM.vmx)

Command to kill the process

2) esxcli vm process kill -t (type) -w (world id)

type – soft


Login to esxi and enter the datasore path as below.

(EG) /vmfs/volumes/531edada-36119f2e-0012-14feb5caca3b/virtual machine #

and run the below command to find the NIC which holds the lock.

#vmkfstools -D  VMname.vmx


From above screenshot we can find the lock owner. Here NIC 549f351f04c6 holds the lock.


Run the below command to to check the stale process which holds the lock

#lsof | grep VMname

pK - Copy


Run the command ” kill -9 process Id ” to kill the process.

(EG) kill -9 20425216


Browse the datastore where the .vmx file is located. Now right click .vmx file and add VM to the inventory.

VM’s can also be registered using below command

vim-cmd solo/registervm (datastore path)                 click             click

ESXI Syslog Configuration

Posted: February 6, 2016 in Uncategorized

                                                         Enabling Syslog on ESXi Host

Follow the below steps to enable syslog on ESXi Host


Configure the syslog server IP with port number in syslog. global.loghost  under  Configuration ==> Advanced settings ==> Syslog ==> global

Eg: tcp://



Enable syslog firewall  under Configuration ==> Security Profile ==> Properties



Login to the ESXI host through putty and run the below commands

esxcli system syslog reload

esxcli network firewall refresh


To check the connectivity use the below command

nc -z 514

Syslog3     Click

This article is very useful to regenerate the AWstats.

To regenerate the stats. The AW stat logs needs to be created with the help of  IIS logs. Follow the steps to recreate the stats.

Have a check whether Perl is installed and go to the AW stats path and run the command in the path “C:\Program Files\HSphere\3rdparty\AWStats>” -update -logfile=”E:\hslogfiles\W3SVC641\ex091217.log”

run below command to update the stats in AW stats path. -update

Script to run the log file in AWStats:


“C:\Program Files\HSphere\3rdparty\AWStats\” -update -logfile=”E:\hslogfiles\W3SVC641\%1″


for /f %%a IN (‘dir /b “E:\hslogfiles\W3SVC641″‘) do call “C:\Program Files\HSphere\3rdparty\AWStats\red.bat” %%a

How to get rid of proxy:

Posted: August 18, 2010 in Uncategorized
Tags: , ,

If you cannot access the websites like orkut and some of the entertainment sites from your office. Dont  worry about it, because it may be blocked in the proxy by system admins.  Here is the way to bypass the proxy.

Tor Browser is one for the tool used to access the sites you want. Here you no need to Install.  Just download the EXE and start browsing your favorite site.

Use the following link to download the TOREXE     Click

After downloading extract the .EXE file and open the folder Tor Browser as below.

Now click the  icon ‘Start Tor Browser’ for login to the Tor network.

Now the browser will open and you can access your favorite sites.

Dotnet Nuke

Posted: July 27, 2010 in Uncategorized
Tags: , ,

DNN Installation procedure:

DNN is used to build highly interactive, dynamic web sites .  Professional edition of  DNN is licensed and Community Edition is a free one. Use the following steps to install the DNN for websites to run under asp applications.

  • Download the setup folder to install DNN from the link below.    Click     Click

  • Extract the DotNetNuke folder under the root folder of the domain and create it as a virtual directory.
  • Assign the modify permission for network services, IUSR and ASPNET.
  • Create the MSSQL database and put the connect string in web.config file.

Connect string for mssql database in web.config file:

<add name=”SiteSqlServer” connectionString=”Server=(local);Database=DotNetNuke;uid=;pwd=;” providerName=”System.Data.SqlClient” />

  • Access the following URL in the browser to start the installation.

  • Now proceed and complete the installation.

Installation Doc:     Click

Webalizer Stats

Posted: July 25, 2010 in Uncategorized
Tags: ,

Webalizer regenerate:

If the statistics are not generating for a particular domain. Follow the following steps to regenerate the stats.

Before regenerating stats, place the log files of the dates that need stats to be updated into the logs folder of the domain.

Take log files from hslogfiles and put into the path ( account folder\logs\domain folder )

  • Go to “hostslist.txt” locate the domain.
  • Take backup of the hostslist.txt or rename it as hostslist.txt.bak
  • Put an entry for the particular domain for which the stat is missing in the host file as provided by EG.
  • Delete the data’s other than the domains data.

EG: Example

(Account folder E:\hshome\Account folder\logs\\ E:\hshome\Account folder\\webalizer

==>Then double click the “Webalizer.exe”. Files will be executed (should
not skip)

That’s it. webalizer stats will be created for that domain

If you have to configure silver light application to run on IIS. Need to add the MIME type to enable it in IIS. Other wise silver light will not be supported on IIS web server.

This can be accomplished by adding following MIME type in IIS

.xap application/x-silverlight-app

Steps for adding MIME type in IIS.

Go to IIS==>Right click IIS at the root ==> Click MIME types ==> Click New ==> A tab will open

Here you need to add the extension

Extension: .xap

Mimetype: application/x-silverlight-app

And Click Ok to finish.

Thats it. Now silver light applications can be run on IIS.

These extensions can also be added to enable silver light.

  • .xbap application/x-ms-xbap
  • xaml application/xaml+xml Click Click


If you need to view or change the admin password for the plesk you can use the following process. Go to the following path in the command prompt.

Path ==> “Parallels\Plesk\admin\bin>”

Type ==>  plesksrvclient.exe -get

So now you can view the password on a separate screen.

  • If you have to set new password for plesk admin. Execute the following command.

“Parallels\Plesk\admin\bin>” plesksrvclient.exe  -set ‘password’

Give password with out quotes. Now your password will be changed.     Click

IIS Mappings:

Posted: July 17, 2010 in Uncategorized

In IIS we will face lots of errors depending up on the configurations. In that situation we have to check whether DLL mappings are placed right.

Following DLL should be mapped for cold fusion.





.php ==> C:\Program Files\HSphere\3rdparty\PHP\PHP5\php-cgi.exe

.php3 =>C:\Program Files\HSphere\3rdparty\PHP\PHP5\php-cgi.exe

.phps==>C:\Program Files\HSphere\3rdparty\PHP\PHP5\php-cgi.exe


Get, Head, Post