unable to create VM or unable to install Windows 2003 on newly created VM


Resolution:

The journal files in ESX/ESXi hosts are located at /var/log/vmware/journal/. This defaults to the same /var/ filesystem used for storing logs and coredumps. The historic files in the host may be consuming the disk space.

Note: To determine the filesystem that contains the /var/log/vmware/journal/ directory, run the command:
df -h /var/log/vmware/journal/

Delete or archive the unnecessary files on this filesystem to free up disk space. For more information on reviewing and addressing disk space consumption, see Investigating disk space on an ESX host (1003564).

url : http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1019598&sliceId=2&docTypeID=DT_KB_1_1&dialogID=261682064&stateId=1%200%20261680341

Advertisements

reset mysql password in windows


If you find these instructions confusing, here’s another method.  

1.  Find the my.ini file (my.cnf for linux).  On windows, the my.ini file is typically in your install directory: c:\Program Files\MySQL\MySQL Server 5.1\my.ini   Open the file with notepad (or any text editor) and add the following entry under the [mysqld] section:

skip-grant-tables

Then, save the file and restart the MySQL service.  This has disabled the grant tables so you should be able to log into mysql without any password ( no more 1045 errors ).  Now, we need to reset the password.  

2.  Log into MySQL with the MySQL command-line utility.  This can be found in the MySQL bin directory.  No user or password parameters are required since grant tables have been disabled.  Execute the following statement:

UPDATE mysql.user SET PASSWORD = PASSWORD(”) WHERE user = ‘root’ and host=’localhost’;

This example will replace the root password with an empty string or no password.  Feel free to substitute the appropriate password in the PASSWORD(”) function or leave it blank and change the password later.

3.  Remove “skip-grant-tables’ from the my.ini file and restart the MySQL service.

4.  Log into mysql.  Example: shell>mysql -u root

Mysql error number 2003


The default from mysql server is to be binding to localhost (127.0.0.1), this means it will only accept connections from local applications.
To change that, edit /etc/mysql/my.cnf and comment out the line bind-address = 127.0.0.1:
Then you will need to restart the mysql server with:
/etc/init.d/mysql restart