VMware Console Key Repeat Issue


When typing in a VMware console session through the vSphere Client keys are repeating.


Add the following parameter to your virtual machine.

In vSphere client, right click and "Edit Settings" *Machine must be powered off.
Click on "Options" tab "Advanced -> General" then click the "Configurations Parameters..." button.

Click  "Add Row" and enter the following:
Parameter Name: keyboard.typematicMinDelay
Value: 3000000  *Minimum, you can set this higher if you need.

Unable to start RabbitMQ


Unable to start the RabbitMQ serivice on a fresh install.
Here is an example or the error:

[root@localhost ~]# service rabbitmq-server start
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}

As suggested, lets look at the log.

[root@localhost ~]# cat /var/log/rabbitmq/startup_log
Error description:

Well there's the problem. Port is already in use. What could be using it you might ask? Lets use ss to investigate.
In the example below we are passing the arguments -lpn.
-l Display listening sockets.
-p Show process using socket.
-n Do now try to resolve service names.
Since there is problably going to be a few results, lets narrow it further by doing a grep for the port in question.

[root@localhost ~]# ss -lpn |grep 5672
LISTEN     0      10   *:5672 *:* users:(("qpidd",3385,10))

qpidd is what seems to be causing us issues. Qpid is Apache's AMQP messaging tool.
This is going to conflict with RabbitMQ. The easiest way to fix is to just uninstall. Which I will show in the first example.
The second example is should you wish to keep Qpid installed, but disable the service.

Solution 1:

[root@localhost rabbitmq]# yum erase qpid-*

Solution 2:

[root@localhost rabbitmq]# service qpidd stop
Stopping Qpid AMQP daemon:                               [  OK  ]
[root@localhost ~]# chkconfig qpidd off

vCD unable to upload OVF to catalog

When trying to upload a OVF template to an organization catalog, you receive the following error message:

 Error: unable to transfer OVF CentOS6: read timeout

It's possible you are missing your VCD public REST API base URL.  As a system level administrator navigate to

System -> Administration -> System Settings -> Public Addresses -> VCD public REST API base URL:
This should be equal to your VCD public URL without the /cloud

VCD public REST API base URL:  https://vcd.example.com

Cobbler Build Issues


[root@spacewalk ~]# cobbler buildiso
task started: 2012-06-14_191856_buildiso
task started (id=Build Iso, time=Thu Jun 14 19:18:56 2012)
using/creating buildisodir: /var/cache/cobbler/buildiso
building tree for isolinux
copying miscellaneous files
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Required file not found: /usr/lib/syslinux/isolinux.bin'
Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, in die
raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Required file not found: /usr/lib/syslinux/isolinux.bin'
Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run
rc = self._run(self)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 155, in runner
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 940, in build_iso
iso=iso, profiles=profiles, systems=systems, buildisodir=buildisodir, distro=distro, standalone=standalone, source=source, exclude_dns=exclude_dns
File "/usr/lib/python2.6/site-packages/cobbler/action_buildiso.py", line 539, in run
utils.die(self.logger,"Required file not found: %s" % f)
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 134, in die
raise CX(msg)



[root@spacewalk ~]# yum install syslinux.x86_64 syslinux-tftpboot.x86_64

Sendmail Config Error


[root@server]# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf /etc/mail/sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory


[root@server]# yum install sendmail-cf

Compile Screen with Vertical Support

The version of screen that comes with my distro is lacking vertical support.


$ git clone git://git.savannah.gnu.org/screen.git
$ cd screen
$ ./mktar.pl
$ tar zxvf screen-*.tar.gz
$ cd screen-*
$ ./autogen.sh
$ ./configure
$ make
# make install