Mattiasgeniar - mattiasgeniar.be - ma.ttias.be » ma.ttias.be
General Information:
Latest News:
Puppet: Error 400 on SERVER ArgumentError: malformed format string – %S at … 30 Jul 2013 | 08:30 pm
Here's an error to screw with your debugging skills. There's probably nothing wrong with either the syntax or the data inside your manifests or modules. In fact, the line-number in the error could po...
Puppet: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: stack level too deep on node something.pp 13 Jun 2013 | 11:56 pm
As a Puppet user, you can run into the following error. ~$ puppet agent -t Info: Retrieving plugin Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb Info: L...
Taking a MySQL-dump with a wildcard on table names 13 Jun 2013 | 08:29 pm
Situation: you want to take a mysqldump with all table-names that match a particular pattern, but you don't want all the tables. Here's how: root@serv: ~$ mysqldump YOURDBNAME $(mysql -D YOURDBNAME -B...
Reading all data from a Memcached instance 30 May 2013 | 01:25 am
Memcached is a simply key/value store, often used as a cache to reduce load on a database system. It uses a concept of slabs and chunks to store data. Each piece of data you want to store, depending o...
Setting custom puppet facts from within your Vagrantfile 16 May 2013 | 03:17 am
You may want to set custom puppet facts in your development environment by specifying them in your Vagrantfile, so you can have a unique fact per developer or identify your own environment. Here's a q...
Nginx: nginx: [warn] load balancing method redefined 25 Apr 2013 | 07:57 pm
You may receive the following warning when reloading/configtesting an Nginx configuration that uses upstreams. $ service nginx configtest nginx: [warn] load balancing method redefined in /etc/nginx/co...
CentOS / RHEL: configure: error: C++ compiler g++ does not work or no compiler found 15 Apr 2013 | 06:16 pm
Probably means you're missing the g++ compiled at all, which isn't install with a groupinstall of the development tools. configure: error: C++ compiler g++ does not work or no compiler found Solution:...
RVM: Installing Ruby 1.8.7 on Mac OSX 10.8 11 Apr 2013 | 01:02 pm
Just a quick command copy/paste to remind me in the future to help compile/configure ruby 1.8.7 via RVM on Mac OSX 10.8. $ rvm install 1.8.7 Searching for binary rubies, this might take some time. No ...
Gearman Queue error: mysql_stmt_execute failed: Unknown prepared statement handler (1) 20 Feb 2013 | 01:36 pm
If you're running Gearman from a self-compiled version (or self-packaged version), you can run into the following error. This is the same on Ubuntu, Debian or CentOS/RHEL clones. [ proc ] mysql_stmt_e...
Stop. Caching. Static. Files. 28 Nov 2012 | 03:15 am
I maintain a Varnish Configuration Repository that everyone can commit to. It's meant to be a good base to start any kind of Varnish implementation. I use it as my personal Varnish Boilerplate. And I ...