Archive for October, 2009

 

/var/lib/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks’: no such file to load — net/https (RuntimeError)

Oct 22, 2009 in Debian, ruby

Haciendo un rake db:migrate me apareció este error, otro mas :D

/var/lib/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks': no such file to load -- net/https (RuntimeError)

corregido con un simple comando ( que grande es Debian !!! )

apt-get install libopenssl-ruby

openvz y cherokee

Oct 21, 2009 in Debian, cherokee

Estoy probando cherokee que llevo años intentanto integrarlo en mis sistemas.
Estoy con un vps bajo openvz y mi primer error ha sido este

# cherokee-admin
server.c:881: cherokee_thread_new() failed -1

El problema es debido a la falta de ram del vps. Ampliando la ram el servicio de administracion arranca correctamente.

[ofuscado] purgar paquetes eliminados ( aka rc en dpkg ) de forma

Oct 01, 2009 in Debian, Notas rápidas

Al actualizar el sistema hoy veo que ha entrado en testing la nueva version de sysv-rc que falla con estos mensajes de error :

info: Checking if it is safe to convert to dependency based boot.
error: Unable to migrate to dependency based boot sequencing.
error: Problems detected: package dhcdbd removed but not purged, package fam removed but not purged, package laptop-net removed but not purged, package loop-aes-utils removed but not purged, package lpr removed but not purged, package portmap removed but not purged, insserv: warning: script 'S25libdevmapper1.02' missing LSB tags and overrides,  insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides,
grep: /var/lib/update-rc.d/*: No existe el fichero o el directorio

Para lo cual he creado un script engendro :

dpkg --purge `dpkg -l | awk ' $1=="rc" { print $2}'`

otra variante podría ser

dpkg -l | grep "^rc" | awk '{print $2}' | xargs dpkg --purge