How to fix PuppetDB SSL error

If you don’t know what PuppetDB is, this post probably will not be any useful to you. But if you wanna find out or learn about it, here is the link: http://docs.puppetlabs.com/puppetdb/latest/index.html. For PuppetDB to work, we need to generate SSL certificates from a Puppet master’s SSL certificate. In my case, I need to re-configure this PuppetDB to a new Puppet mater which sits on the same server. Here’s how it was done: ...

August 22, 2013 · 1 min · 133 words · kenno

FreeBSD configure: error: XML::Parser perl module is required for intltool

If you get this error message on a FreeBSD host, you may need to reinstall p5-XML-Parser. # portmaster textproc/p5-XML-Parser

July 24, 2013 · 1 min · 19 words · kenno

Upgrading from Fedora 18 to 19

I know Fedora 19 is officially released tomorrow; but if you can’t wait to upgrade your machine to the latest release like me, here is the command to do it: $ sudo fedup --network 19 One thing I noticed after the upgrade is that, the bottom status bar can’t be found when you hit the system key. The good news is it’s still there; you just need to hit system key + m to have it showed up.

July 2, 2013 · 1 min · 78 words · kenno

Install crontab on CentOS 6

When you install CentOS 6 using minimal CD, a lot of packages aren’t installed by default; cron included. To install it, # yum install cronie After the installation, you can verify that crond is running: # chkconfig --list crond crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off

May 27, 2013 · 1 min · 47 words · kenno

Fix puppet-dashboard pending tasks

ផាប់ភិត​ដាសបត ឈប់​ដើរ​ ហើយ​ pending tasks មាន​ប្រ​ហែល​ជាង ២០០០។ # ps -ef | grep job www-data 4799 1 0 14:07 ? 00:00:00 delayed_job.0_monitor www-data 4804 1 0 14:07 ? 00:00:00 delayed_job.1_monitor root 8300 31461 0 15:22 pts/0 00:00:00 grep job មិន​ដឹង​ថា​ជាមាន​វិធី​ល្អ​ សំរាប់​ជួសជុល​បញ្ហា​នេះទេ ប៉ុន្តែខ្ញុំ​អាច ប្រើវិធីដូចនេះ # cd /usr/share/puppet-dashboard/ # rake RAILS_ENV=production jobs:work អោយវារត់​ យ៉ាងយូរ​ បន្ទាប់​មក puppet-dashboard-worker ក៏ចាប់ផ្តើម​ដើរវិញ # ps -ef | grep job www-data 4799 1 0 14:07 ? 00:00:00 delayed_job.0_monitor www-data 4804 1 0 14:07 ? 00:00:00 delayed_job.1_monitor www-data 5089 1 24 14:15 ? 00:20:43 dashboard/delayed_job.0 www-data 5094 1 24 14:15 ? 00:20:45 dashboard/delayed_job.1 root 8570 31461 0 15:41 pts/0 00:00:00 grep job

April 30, 2013 · 1 min · 101 words · kenno