Category: Technical

Python setuptools and get_python_version is not defined

If you run into the below error when using setuptools (setup.py), then it’s quite possible that you’re using an outdated version of Python’s setuptools. In particular, the python-setuptools package in the CentOS yum repository is too old. Traceback (most recent call last): File “setup.py”, line 19, in ? setup(**metadata) File “/usr/lib64/python2.4/distutils/core.py”, line 149, in setup dist.run_commands() File “/usr/lib64/python2.4/distutils/dist.py”, line 946,...

HyperVM and yum update Transaction Check Errors

If you’re having file conflict problems when running “yum update” on servers with the lxlabsupdate repository for HyperVM (or Kloxo) installed then there’s a simple resolution: cd /var/cache/yum/lxlabsupdate/packages/ rpm -Uvh *.rpm –replacefiles –replacepkgs This should fix errors such as: file /usr/share/man/man1/pcregrep.1.gz from install of pcre-8.02-1.el5_5.1.x86_64 conflicts with file from package pcre-6.6-2.el5_1.7.i386 file /usr/share/man/man1/pcretest.1.gz from install of pcre-8.02-1.el5_5.1.x86_64 conflicts with file...

Retrieve the Dell PowerEdge Service Tag remotely from Windows or Linux

Have you ever wanted to get the Dell Service Tag from a PowerEdge machine that you don’t have physical access to? Well it’s actually quite easy as Dell make this available through the standardised Desktop Management Interface (otherwise known as DMI) framework, so you don’t even have to install any of Dell’s OpenManage tools to view it! On a Linux...

Intel VT Virtualisation Technology on Dell PowerEdge servers

Somewhat annoyingly, Dell seem to like to disable Intel’s VT (Virtualisation Technology, sometimes called VMX) in the BIOS on their Dell PowerEdge servers, which means that you can’t use the Xen hypervisor to virtualise Microsoft Windows Server without changing this setting, which requires a reboot of the server to take effect. You can use omreport from the Dell OpenManage Server...