Install / build ganglia 3.2.0 64bit on / for RedHat 6.1

get the ganglia rpm source from ganglia

*some times you may need rpm-build....

yum install rpm-build

now you can see what you are missing.... in my case was:

rpmbuild --rebuild ganglia-3.2.0-1.src.rpm

so I install my missing stuff:

yum install gcc-c++ pcre-devel subversion libtool rrdtool-devel freetype-devel apr-devel libpng-devel libart_lgpl-devel python-devel expat-devel

Fix Apache - No space left on device: Couldn't create accept lock or Cannot create SSLMutex

When dealing with mem-leaks in my mod_perl-apps I ran into a curious apache-problem. After a while apache could not be started but failed with strange errors like:

[emerg] (28)No space left on device: Couldn't create accept lock

or

[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

or

[Wed Dec 07 00:00:09 2005] [error] (28)No space left on device: Cannot create SSLMutex

Tags: 

Toggle Hidden Files in Finder

I like showing hidden files on finder but not all the time...
so with this script you can click it and it will hide them or show them depending ....

generate Secure ssh Key for remote ssh login / git

Goal: connect to a remote server by ssh keys (without a password)

on your local computer:

openssl genrsa -rand /dev/random -out id_rsa 2048

then get the public key:

openssl rsa -pubout -in id_rsa -out id_rsa.pub

put those 2 files in your ~/.ssh folder

Tags: 

How to Change the Company Name on OSX

1. Open System Preferences.
2. Select Accounts.

3. Select your account from the left pane.
4. Go to Address Book Card and click the Open button.

5. Fill in the Company field on your Address Book Card.

Tags: 

Fix for netflix error code n8156-6013 Mac

The mspr.hds is the damaged. Deleting that file will fix the problem.

Just remember after you delete it, it may take 10-20 seconds before Netflix player starts the movie because it first has to recreate the mspr file. Here’s where that file is:

HD > Library > Application Support > Microsoft > PlayReady > mspr.hds

Quit the browser, delete the file, relaunch the browser.

Nissan 370z custom stereo upgrade - parts needed

I decided to do an update to my 370z stereo...

parts needed to upgrade the stereo system on the 370z:

First you need:
Metra 99-7607B Dash Kit for 2009 Nissan 370Z:

Metra 70-7552 Radio Wiring Harness for Nissan 07-Up:

solved “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable”

And the site is showing “403 Forbidden Error”.
At first, I suspect it’s .htaccess problem, but actually it’s caused by Frontpage Extension.

To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” follow the steps below:-

fix iCal crashes due to Google password change

this is the error:

"The server responded with an error.
The server did not recognize your user name or password for account “address@gmail.com.” Make sure you enter them correctly."

how to fix it:

from the terminal:

rm ~/Library/Calendars/Calendar\ Cache

this will stop the crashing and let you change the settings for the accounts

Pages

Subscribe to Carlos Rivero RSS