Winnie
Underconst


De su web:
What is CPAN?
CPAN is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation. You can begin exploring from either http://www.cpan.org/, http://www.perl.com/CPAN/ or any of the mirrors listed at http://www.cpan.org/SITES.html.
Note that CPAN is also the name of a Perl module, CPAN.pm, which is used to download and install Perl software from the CPAN archive. This FAQ covers only a little about the CPAN module and you may find the documentation for it by using perldoc CPAN via the command line or on the web at http://theoryx5.uwinnipeg.ca/CPAN/perl/CPAN.html.
Yo necesito instalar ParseDate.
1.-) Instalar g-cpan

Error al compilar glibc en gentoo...
* You still haven't deleted //etc/locales.build.
* Do so now after making sure //etc/locale.gen is kosher.
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
* ebuild.sh, line 1711: Called dyn_setup
* ebuild.sh, line 762: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* glibc-2.6.1.ebuild, line 166: Called die
* The specific snippet of code:
* die "lazy upgrader detected"
* The die message:
* lazy upgrader detected
Lo bueno es que aún y detectar que el problema es un "upgrader" perezoso, te vuelca la pila! Malditos frikis!
** Está en alemán, pero ya hay quien lo ha preguntado en los foros!

El último update de cyrus ha sido caótico, para muestra lo que he mandado a la lista de cyrus, y su cachonda respuesta:
HI,
first of all, apologies for breaking the threat, but I did not receive my question.
Second, I have solved my problem, but I've lost all my mail, and I have a question about what has happenend.
Third, list archieve does not work. I tried to contact webmaster, but got no response.
Let's go with my explanation:
Here's what I have done:
I ignored strange character in error message and looked for similar errors in gentoo forums and google, found many:
http://forums.gentoo.org/viewtopic-t-482191-highlight-dberror.html
http://forums.gentoo.org/viewtopic-t-499634-highlight-dberror.html
...
My first try was recovering /var/imap/db/* so I did:


webapp-config -I -h phpmyadmin.emergetux.net phpmyadmin 2.7webapp-config -U -h phpmyadmin.emergetux.net phpmyadmin 2.9.1.1emerge --prune phpmyadmin para que nos borre las versiones antiguas de phpmyadmin.

Cuantas veces hemos dejado un "emerge -uD world" y hemos vuelto al cabo de unas horas, y en lugar de ver el update finalizado vemos un error en el cuarto paquete? Y lo que jode eso?
Pues bien:
Update-world is a bash script that was recently created by count_zero and posted in the forums. The script controls the update process and forces portage to skip past failed builds and continue compiling packages until the update list is finished. Failed builds are added to a list for review once the update is finished.
Creo que es muy interesante. Además, se explica el funcionamineto:
update-world --prepare
This begins the update process by creating a list of packages to be emerged, as produced by emerge -uD --newuse world. (Alternatively, you can use update-world --empty to create a list of all packages on the system, akin to emerge -e world). This command creates a list called 'emergelist' in ~/.update-world/. Now, you can use your favorite editor to modify this list how you like--remove packages, change versions, etc. When you have the emergelist how you like it, you're ready to move onto the next step:

Ayer dejé afrodita con un emerge -uD world.
Esta mañana he visto que no tenía correo, así que me he logado y he visto que el emerge se quedó colgado en cyrus...
Hice un emerge --resume y la cosa continuaba perfectamente.
Pero cuando me disponía a arrancar postfix me enocntré con lo siguiente en los logs:
# tail /var/log/mail/mail.log
Nov 21 11:05:21 afrodita postfix/master[9181]: warning: process /usr/lib/postfix/smtpd pid 5042 exit status 127
Nov 21 11:05:21 afrodita postfix/master[9181]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Nov 21 11:05:45 afrodita postfix/master[9181]: warning: process /usr/lib/postfix/pickup pid 5079 exit status 127
Nov 21 11:05:45 afrodita postfix/master[9181]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling

depclean es la opción más peligrosa de emerge. Es equiparable al deborphan de Debian (creo que el nombre es así)
Como reza su man:
"Determines all packages installed on the system that have no explicit reason for being there."
Pero lo peor es el warning:
"WARNING: Removing some packages may cause packages which link to the removed package to
stop working and complain about missing libraries"
La cosa es que el único que había hecho hasta ahora me había dejado como resultado un sistema insalbable (para mi), y de eso ya hace unos años.
Pero como el servidor de esta web lo quiero mantener muy limpito, me decidí a hacerlo. (Bueno, y lo hice en el del curro, donde me eliminó 20 paquetes... y sigo vivo!)
Lo primero:
#emerge -p --depclean
Nos indica que antes de hacerlo, hay que hacer un emerge -uD world, así que lo realizamos y volvemos al depclean. Ahora tenenmso lo siguiente:

Seguimos con el tema, toca SquirrelMail.
En su día ya hablamos de como configurar un completo servidor de correo en gentoo.
Pues bien, ahora sólo queremos poder consultar nuestro correo utilizando el protocolo IMAP4, y una interfície web: Squirrelmail.
Además, securizaremos las comunicaciones utilizando https, cifrado del canal.
Como siempre, lo primero es instalar squirrelmail:
#emerge squirrelmail
a continuación, y tras haber explicado el funcionamiento de webapp-config en la primera parte de este post, instalamos squirrel en mail.emergetux.net:

Bueeeeeno... parece que todo rula bastante bien en el nuevo servidor. El rendimineto ha mejoradao (ahora puedo consultar la web y bajar el correo, que la carga de la máuqina no llega a 1!!) y las cosas parecen funcionar bastante bien. Me queda mirar el tema de WakeonWan, ya que el server se apaga de vez en cuando (la luz salta frecuentemente en mi casa) y estaría bien poder encender el pc a través de la red...
En fin, a lo que iba.
El server ya tiene awstats y Squirrelmail funcionando, además, Squirrel funciona bajo SSL, es decir, https, es decir, comunicaciones cifradas...
Un mini howto:
Recent comments
22 weeks 2 days ago
26 weeks 2 days ago
26 weeks 3 days ago
30 weeks 2 days ago
30 weeks 5 days ago
31 weeks 4 days ago
31 weeks 6 days ago
32 weeks 3 days ago
33 weeks 16 hours ago
42 weeks 4 days ago