Tag Archives: Linux

Compilar el kernel en Debian

Corta lista de pasos para compilar el kernel en Debian de forma rápida y sencilla utilizando las herramientas de la distribución. Bajar la versión de kernel que se quiere utilizar y ubicarlo en /usr/src cd /usr/src wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.gz tar xvzf … Continue reading

Posted in Linux | Tagged , , | 2 Comments

Reiniciar linux sin el comando reboot

Cómo realizar un reinicio forzoso en linux En ocasiones especiales, mas bien complicadas, es necesario reiniciar un equipo pero no están disponibles los binarios para tal efecto, como podría ser reboot. En ese caso tenemos una sencilla alternativa. Para realizar … Continue reading

Posted in Linux | Tagged , | Leave a comment

Argument list too long

After run rm -f * you get the error /bin/rm: Argument list too long Possible options: Use xargs. Xargs pass a list of arguments to a command. This deletes all the files listed: ls |xargs rm Use find. You can … Continue reading

Posted in Linux | Tagged , | 1 Comment

Could not connect to database for SQL SessionHandler

When you try to login in Horde you see this error: A fatal error has occurred Could not connect to database for SQL SessionHandler. Details have been logged for the administrator. There are some different reasons that causes this error. … Continue reading

Posted in Linux | Tagged , , , | 2 Comments

Unable to create backup session: Specified file is not accessible

This error happens in Plesk when you try to make a backup from the web interface. The cause is that Plesk can´t write in the temporal folder specified to storage backups because the owner is root: ll /var/lib/psa/dumps/ drwx—— 9 … Continue reading

Posted in Plesk | Tagged , , | Leave a comment

Obtener información de un certificado SSL

Para obtener la información de un certificado SSL desde la consola podemos utilizar openssl. En determinadas ocasiones si no se tiene acceso a un navegador web puede resultar complicado comprobar los datos de un certificado SSL. Esta operacion que es … Continue reading

Posted in Linux | Tagged , , | Leave a comment

#2002 – The server is not responding – phpmyadmin Error

This is a common error in cPanel, here is the fix: First edit the config file /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php Then, change the two following lines from $cfg['Servers'][$i]['socket'] = ”; $cfg['Servers'][$i]['connect_type'] = ‘tcp’; to $cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’; $cfg['Servers'][$i]['connect_type'] = ‘socket’; Finish restarting mysql … Continue reading

Posted in cPanel, Linux | Tagged , , | Leave a comment

Exim error

failed to open DB file /var/spool/exim/db/wait-remote_smtp: Permission denied The problem: # ll /var/spool/exim/db/wait-remote_smtp -rw-r—– 1 root root 12288 Mar 26 06:00 /var/spool/exim/db/wait-remote_smtp Easy fix: # chown mailnull.mail /var/spool/exim/db/wait-remote_smtp # ll /var/spool/exim/db/wait-remote_smtp -rw-r—– 1 mailnull mail 12288 Mar 26 06:00 /var/spool/exim/db/wait-remote_smtp

Posted in Linux | Tagged , | Leave a comment

Can't do setuid (cannot exec sperl)

If running a perl script you get an error like this: Can’t do setuid (cannot exec sperl) In Debian install perl-suid apt-get install perl-suid In Centos install perl-suidperl yum install perl-suidperl

Posted in Linux | Tagged , , , | 4 Comments

PHPMyAdmin error with cPanel

Existing configuration file (./config.inc.php) is not readable. This problem happens when you try to log in PHPMyAdmin in this scenario: lsattr /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php —-i——– config.inc.php ls -l /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php -rwx—— 1 cpanel cpanel 36109 Nov 10 2006 config.inc.php The solution: chattr -i … Continue reading

Posted in cPanel | Tagged , , | 1 Comment