12.18.07
Posted in hardware, inet, software, university at 3:01 am by brainstorm

A la feina disposem d’un grid d’unes 10 màquines per a fer web crawling muntades amb Globus Toolkit per a temes de recerca i estadístiques.
El cas és que últimament el rendiment d’aquest grid en quant a descàrregues de pàgines web estava molt per sota dels tases esperades. Com a administrador d’aquest grid, vaig seguir l’opció més usual per a fer troubleshooting: Revisar manuals, forums, etc… fins la sacietat per tal d’entendre el problema:
error: the server sent an error response: 425 425 Can't open data connection.
data_connect_failed() failed: an authentication operation failed
Read the rest of this entry »
Permalink
12.04.07
Posted in inet, software, sun, university at 1:27 am by brainstorm

As the title states, I’ve been recently elected as a campus ambassador for my university. When I talk about my newly acquired job, people keep asking: Woah, nice… hummm, but what does it mean after all ? Here are my main responsabilities on this cool project:
- Lead the Sun developer community on your campus by starting a Sun Open Source User Group
- Run Sun Technology demo sessions as part of your user group meetings
- Help support Sun events and contests
- Evangelize Sun development tools to students, professors and researchers
So I’ll be posting here (or my own sun.com blog) my experiences on this new opportunity on my life as a computer enthusiast
There are a lot of new and amazing Open Source Sun initiatives to discover and explore, I’ll try to keep you all readers entertained with my findings !
In fact, jmmv has already greeted my on his blog in advance about a topic related to DTrace, thanks Julipedia
Thanks also to my favourite sysadmins for my new DTrace privileges needed to conduct my first tech talk
*UPDATE*: Here’s my new Sun blog: http://blogs.sun.com/rvalls
Permalink
10.14.07
Posted in inet at 4:12 pm by brainstorm
Per fi tenim desde fa una setmana l’últim curt de Roser Goula, una versió moderna, divertida i molt ben portada del clàssic compte que tots coneixem desde petits.
Us invito doncs a visitar el blog d’aquesta incansable viatgera i com no: a veure aquests 8 minuts d’art en animació 3D, on, sigui dit de pas: surto als crèdits :-! Gràcies Roser ! ;P
Read the rest of this entry »
Permalink
09.27.07
Posted in hardware, software, unix at 12:54 am by brainstorm
Fa uns dies que havia muntat el típic setup “fake RAID+LVM” usant tres disc durs amb una combinació de RAID5 i RAID1. Fins aqui, normal. Un cop tot muntat i amb el sistema bootant (grub instal·lat al MBR de cada un dels discs) he decidit fer les proves típiques per comprovar la fiabilitat del RAID: desconnectar algun dels discs per veure si continua bootant/funcionant.
Doncs res, sorpresa: Ubuntu server es nega a bootar si falta algun dels discs O_o ! RAID no era interessant entre altres coses per temes d’alta disponibilitat !!??
El cas és que salta una consola del ramdisk inicial i no arrenca res de l’array :/ Després de passar-me una bona estona pels foros, trobar i aplicar la solució, reporto el bug al launchpad d’Ubuntu.
Bé, només volia estalviar aquest trencaclosques que lliga initramfs+mdadm per al que vol que el seu RAID funcioni com hauria, enjoy it 
Permalink
08.27.07
Posted in howto, security, software at 6:06 pm by brainstorm
So you forgot your MySQL root password ? Don’t worry, logging in is easy as 1,2,3:
- Stop all running mysqld processes (/etc/init.d/mysqld stop or killall mysqld)
- # mysqld –skip-grant-tables
- $ mysql -uroot and you’re in, no password required
Till here, you’ll be able to operate with your DB…but, you’ll not be able to change your password right away:
mysql> SET PASSWORD FOR root = PASSWORD('will_not_forget_again');
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables
option so it cannot execute this statement
Here’s the workaround:
mysql> USE mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> UPDATE user
-> SET PASSWORD=PASSWORD('really:I_will_not_forget_again')
-> WHERE user="root";
Query OK, 2 rows affected (0.02 sec)
Rows matched: 2 Changed: 2 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
Thanks to netadmintools for this quick recipe 
Permalink
« Previous entries · Next entries »