Visualizzazioni totali

lunedì 16 aprile 2012

Upgrade vmware tools OSP version


Remove old Vmware tools for Operation System Specific Packages (OSP version).
# yum remove vmware-* -y
# rpm -e --noscripts vmware-open-vm-tools-xorg-drv-mouse-12.4.3.0-0.208167.el5
# rpm -e --noscripts vmware-open-vm-tools-xorg-drv-display-10.15.2.0-0.208167.el5
Update Vmware repository
# cd /etc/yum.repos.d/
# vi vmware-tools.repo
Change repository from EXS4.0 to 4.1:
baseurl=http://packages.vmware.com/tools/esx/4.1/rhel5/x86_64
gpgcheck=1
Get rpm package key from Vmware:
# cd /tmp
# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
Install GPG key:
# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub  
Install new vmware-tools
# yum install vmware-tools -y
# service vmware-tools restart
Vmware OSP install document:

venerdì 13 aprile 2012

Could not get lock /var/lib/dpkg/lock


Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)Unable to lock the administration directory (/var/lib/dpkg/)


You can force the lock off by removing the file, but it's not recommended without first closing the program that's holding the lock Safety.

Metod 1:


This will kill any processes opening the file before removing it.


sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock



Same command for the apt cache lock:

sudo fuser -cuk /var/cache/apt/archives/lock; sudo rm -f /var/cache/apt/archives/lock



Metod 2:

Try this command in terminal to find what is running:
ps -e | grep -e apt -e adept | grep -v grep


sudo kill -9 "process pid'

sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock




martedì 10 aprile 2012

Veeam Backup & Replication 6 log files path


• Windows Server 2003: %allusersprofile%\Application Data\Veeam\Backup
• Windows Server 2008 and R2: %allusersprofile%\Veeam\Backup
• Linux servers: /var/log/VeeamBackup/
To collect each node’s log files from one place. Under the menu Help, you can useSupport information… option, to collect the individual log files all around the backup environment.