<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Site · I still don't have a title</title><link>https://oskuro.net/en/tags/site/</link><description>Jordi's random rants</description><generator>Hugo</generator><language>en</language><copyright>© Jordi Mallach, CC-BY-SA 3.0</copyright><lastBuildDate>Sat, 28 Feb 2009 00:13:00 +0000</lastBuildDate><atom:link href="https://oskuro.net/en/tags/site/index.xml" rel="self" type="application/rss+xml"/><item><title>natura upgraded to lenny</title><link>https://oskuro.net/en/posts/lenny-upgrade/</link><pubDate>Sat, 28 Feb 2009 00:13:00 +0000</pubDate><guid>https://oskuro.net/en/posts/lenny-upgrade/</guid><category>site</category><category>meta</category><category>debian</category><category>sysadmin</category><description>&lt;p&gt;&lt;code&gt;natura.oskuro.net&lt;/code&gt;, the home server which still serves this blog, has been suffering hardware problems for some weeks. Apparently the hard drive is failing intermittently, so every now the kernel starts spewing out noisy errors about its main disk dying. If I notice this quickly, it can be rebooted and that normally fixes it for a few more days. But if I don&amp;rsquo;t, it&amp;rsquo;ll end up giving nasty &lt;code&gt;bus errors&lt;/code&gt; which will make remote logins a challenge. Most processes still work, but the filesystem appears to be gone. It&amp;rsquo;s easy to know what&amp;rsquo;s going on if you visit the blog&amp;rsquo;s url and get some &lt;code&gt;404&lt;/code&gt;, and in that case I can only phone my father and tell him to press the reset button (I&amp;rsquo;ve tried sysrqd, but I need to open the port in the router and haven&amp;rsquo;t had chance to do that yet).&lt;/p&gt;
&lt;p&gt;So it was time to do something about it, and the other day I installed a dirty 40GB drive on the second IDE controller, in case I could find the time to do somethng about it. Being with an endless pharyngitis that doesn&amp;rsquo;t seem to get cured entirely, I&amp;rsquo;ve had some time today to look at it. This evening, I was about to transfer all the system to the &lt;em&gt;new&lt;/em&gt; disk (it&amp;rsquo;s half the size as the broken one, and probably slower, but it hopefully has no bad sectors), but I decided to upgrade the system first.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;natura&lt;/code&gt; was first installed in late 1997 or at the beginning of 1998, using the Debian &lt;em&gt;bo&lt;/em&gt; install media on a Pentium 150MHz, and has gone through seven dist-upgrades which, as far as I can remember, have always worked out without major problems.&lt;/p&gt;
&lt;p&gt;The upgrade to &lt;em&gt;lenny&lt;/em&gt; hasn&amp;rsquo;t been an exception. The server has gradually lost many of the services it once hosted, so there aren&amp;rsquo;t too many services to take care of anymore. All the mail services I setup for my father ended up being deprecated as they started to get used to Hotmail, GMail and so on, and the frequent hardware crashes made me switch them to the Linksys based DHCP server. In the end, the problems I saw after the upgrade were very similar to what I faced when I &lt;a href="https://oskuro.net/en/posts/etch-upgrade"&gt;upgraded to etch&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;apache2&lt;/code&gt; restored the &lt;code&gt;000-default&lt;/code&gt; symlink in the &lt;code&gt;sites-enabled&lt;/code&gt; dir, which resulted in my website showing the classic “It works” message for a while.&lt;/li&gt;
&lt;li&gt;Apache&amp;rsquo;s suexec support had moved to its own package, and was very well documented in the NEWS file, but I somehow failed to notice for some time and kept wondering what was going on.&lt;/li&gt;
&lt;li&gt;The Python upgrade again affected my Pyblosxom install. Fortunately it was a minor problem; I just had to add a &lt;code&gt;coding=utf-8&lt;/code&gt; line to the beginning of my &lt;code&gt;config.py&lt;/code&gt; to get it working.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dhcp3-server&lt;/code&gt; apparently restored its init scripts and got started again. This time, it got removed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Such an ancient install will clearly have old, obsolete packages. I installed &lt;code&gt;apt-show-versions&lt;/code&gt; to find out what didn&amp;rsquo;t match my package sources. I found I had every single version of cpp, gcc and g++ from 2.95 to 4.3, and a myriad of obsolete libs. But there were also real gems:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;defrag 0.73pjm1-7 installed: No available version in archive
figlet 2.2.1-3 installed: No available version in archive
ipmasqadm 0.4.2-2 installed: No available version in archive
isapnptools 1.26-5 installed: No available version in archive
ms-sys 2.1.0-1 installed: No available version in archive
queso 0.980922b-3 installed: No available version in archive
update 2.11-4 installed: No available version in archive
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Spaniards will remember “queso” because it was written by Jordi Murgó and became a classic tool to find out what OS was running on a remote host. “update” was apparently needed to flush your filesystems prior to Linux 2.2.8, and “defrag” is obvious, although leaves me wondering why it was needed at the time.&lt;/p&gt;
&lt;p&gt;With the upgrade done successfully, next step is trying to get the system transfered to the spare hard drive. For this, I first partitioned it creating a primary partition using up more or less half of the available space, and setup a LVM volume, leaving some free PE&amp;rsquo;s in the volume group just in case I want to do snapshots in the future, and formatted it using ext3. I then transfered the system to the new disk and now face the boot challenge.&lt;/p&gt;
&lt;p&gt;I haven&amp;rsquo;t created a boot partition and that should be a double problem: the BIOS is buggy and will only boot from the first 1024 cylinders, and my root is on LVM and GRUB legacy might not like it (but I&amp;rsquo;m not sure). However, I&amp;rsquo;ve become a big fan of GRUB2, and &lt;em&gt;know&lt;/em&gt; I will be able to boot no matter what my BIOS thinks of my disks and regardless the complex root partition setup I throw at it. The plan is to install GRUB onto the new drive&amp;rsquo;s MBR, and set it up using the &lt;code&gt;ata&lt;/code&gt; module, which should allow to ignore what the BIOS says, and read beyond cylinder 1024 or even boot from CD-ROM. However, this isn&amp;rsquo;t a setup I haven&amp;rsquo;t tried before, and a single failure will result in me taking a train to fix it on-site.&lt;/p&gt;
&lt;p&gt;So, GRUB experts out there, any suggestions? Of course, for now I guess I can install GRUB in the current drive&amp;rsquo;s MBR and make it boot the old kernel using the new system as root, but that&amp;rsquo;s dirty and would just postpone the problem.&lt;/p&gt;</description></item><item><title>Upgrade to PyBlosxom 1.4.3</title><link>https://oskuro.net/en/posts/pyblosxom-1.4.3/</link><pubDate>Fri, 13 Jun 2008 16:24:00 +0000</pubDate><guid>https://oskuro.net/en/posts/pyblosxom-1.4.3/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;This week I spent some time upgrading &lt;a href="http://pyblosxom.sourceforge.net/"&gt;PyBlosxom&lt;/a&gt; to version 1.4.3. I was still using 1.2, which probably was insecure and buggy. This is the first step in a bigger plan to replace Apache2 with &lt;a href="http://nginx.net/"&gt;nginx&lt;/a&gt; in this server, but that will come later.&lt;/p&gt;
&lt;p&gt;I was lucky to find PyBlosxom&amp;rsquo;s author, &lt;a href="http://www.bluesock.org/~willg/"&gt;Will&lt;/a&gt;, on IRC at the right time, who kindly answered a few questions and helped solve a few issues with the comments plugin and flavours. So, after a while, I had fixed a few subtle, 4 year old bugs in my XHTML templates and more notably, fixed lots of small bits in the rss feed, which finally makes Liferea and &lt;a href="http://advogato.org/"&gt;Advogato&lt;/a&gt; like my entries.&lt;/p&gt;
&lt;p&gt;But, the biggest achievement was getting a brand new &lt;code&gt;comments.py&lt;/code&gt; plugin from Will, which allows to close comments on entries after an expiration date. So, even if I was happily using &lt;a href="http://mako.cc/"&gt;Mako&lt;/a&gt;&amp;rsquo;s Akismet plugin, I still was getting 5 or 6 spams each day on very old entries (favourites being one about &lt;a href="https://oskuro.net/en/posts/alonso-2007"&gt;Alonso visiting València&lt;/a&gt; and one remembering the &lt;a href="https://oskuro.net/en/posts/seventieth-anniversary-spanish-war"&gt;70&lt;sup&gt;th&lt;/sup&gt; anniversary of the Spanish Civil War&lt;/a&gt;). Well, not any longer.&lt;/p&gt;
&lt;p&gt;My dear spammers, you can now go pester someone else, or pick new entries pretty quickly before they get closed down. It&amp;rsquo;s been a nice fight, but it&amp;rsquo;s a good time to wish you go away and fuck off. With love, Jordi.&lt;/p&gt;
&lt;p&gt;Thank you, Will!&lt;/p&gt;</description></item><item><title>natura upgraded to etch</title><link>https://oskuro.net/en/posts/etch-upgrade/</link><pubDate>Wed, 25 Apr 2007 10:58:00 +0000</pubDate><guid>https://oskuro.net/en/posts/etch-upgrade/</guid><category>site</category><category>meta</category><category>debian</category><category>sysadmin</category><description>&lt;p&gt;Last week I started the final round of Debian upgrades for the servers I maintain here and there, which is mostly complete today. I haven&amp;rsquo;t been so lucky with upgrades this time, for a long list of different reasons. In the end, the smoothest upgrades were those boxes I upgraded when etch froze or so.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;natura.oskuro.net&lt;/em&gt; is the box serving these pages. It&amp;rsquo;s an old, extremely noisy Pentium 150 which I&amp;rsquo;ve been &lt;a href="http://oskuro.net/blog/site/silent-devices-2006-10-19-17-36"&gt;intending to replace&lt;/a&gt; for a while now. I started the upgrade early on Thursday, knowing it&amp;rsquo;d take a while (natura takes its time only to read the Dpkg database), and it had apparently finished when I was ready to leave the office.&lt;/p&gt;
&lt;p&gt;Three issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;apache2&amp;rsquo;s enabled modules were forgotten and I had to reenable them again, plus IIRC the default &amp;ldquo;It works!&amp;rdquo; site got reenabled, hiding the blog for a little while.&lt;/li&gt;
&lt;li&gt;bind didn&amp;rsquo;t like some change in one of the default configs and I failed to noticed it had not started. After the reboot, the box was unreachable remotely, but that was OK as I had to go visit my dad that night for his birthday, so it was fixed after one hour or so.&lt;/li&gt;
&lt;li&gt;Last, my blog stopped working, and while I thought it&amp;rsquo;d have something to do with apache2.2, I had no time to have a close look as I had to leave to Lleida this weekend. Yesterday I discovered that for some reason, the old tar.gz &lt;a href="http://pyblosxom.sourceforge.net/"&gt;PyBlosxom&lt;/a&gt; install wasn&amp;rsquo;t liking the new python2.4, so I decided it was about time to move to PyBlosxom 1.3, from the Debian package. Not without the mandatory &amp;ldquo;It works!&amp;rdquo; post published in the gazillion Planets, natura was ready to go.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The very same night of last Thursday, I decided to dist-upgrade the box which serves the &lt;a href="http://www.es.debian.org/"&gt;Spanish Debian website mirror&lt;/a&gt;. That&amp;rsquo;s the only purpose on the box, so you can imagine the upgrade should have been pretty straight-forward. And so it seemed, until, in the middle of unpacking, dpkg died with a horrible &lt;code&gt;I/O error&lt;/code&gt;, and I dropped into an unusable remote terminal with no working commands. Fortunately, apache2 was still up and running, and the web service has been working without interruption since the hard drive crash, albeit with no syncs from www-master.&lt;/p&gt;
&lt;p&gt;Today, &lt;a href="http://mixinet.net/stoblog/"&gt;Sergio&lt;/a&gt; visited the campus and had a look. It was a XFS crash, which got cleanly repaired using an install CD. We have an empty partition in the box, and will probably move the system to it temporarily, and back to the RAID, but on ext3. When the box was back online, I just had to resume the upgrade process, make mdadm happy and update &lt;code&gt;lilo.conf&lt;/code&gt; before rebooting into the new kernel.&lt;/p&gt;
&lt;p&gt;This box uses LILO for some obscure reason I can&amp;rsquo;t remember too clearly anymore. The box has just one partition on a md array, on two SCSI disks on a aic7xxx-based controller. Can anyone hint me why GRUB would have failed on us back in &lt;em&gt;sarge&lt;/em&gt;, and if any fixes in the &lt;em&gt;etch&lt;/em&gt; version would work any better? Using LILO here is error prone, and basically feels like a step back. Anyway, &lt;a href="http://www.es.debian.org/"&gt;www.es.debian.org&lt;/a&gt; is now back up and running with updated content.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sindominio.net/"&gt;Sindominio.net&lt;/a&gt; had its bi-annual upgrading party last monday, but unfortunately I wasn&amp;rsquo;t able to help much as when I tried to log into the server, I must have caught the system in the middle of some key lib upgrade or something, and again I was locked in a unusable shell which would only segfault. Given my previous experience, I assumed that something had gone wrong and the box would need to be fixed at the console, and after 20 minutes I gave up helping on that front. Until I noticed, quite a long while later that I was still getting mail from the server. I managed to log in to discover the upgrade was done, with just a few bits remaining to be done. The major issues were encountered with our pam and ldap setup, plus &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402968"&gt;nscd kept dying&lt;/a&gt; causing quite a lot of mayhem all over the place. Great work from Seajob, Syvic, nogates, apardo and the rest of the people who handled it! With etch, we can finally move back to an official Debian kernel, something we&amp;rsquo;ve been longing to do for a long time. The only pending upgrade issue is that we need to move from our old jabber server to either the traditional &lt;a href="http://jabberd.org/"&gt;jabberd 1.x&lt;/a&gt; or &lt;a href="http://www.process-one.net/en/ejabberd/"&gt;ejabberd&lt;/a&gt;; our current implementation is no longer supported in Debian.&lt;/p&gt;
&lt;p&gt;The last of the etch upgrades stories involves &lt;a href="http://www.softcatala.org/"&gt;Sofcatalà&lt;/a&gt;&amp;rsquo;s servers. The box was running on a &lt;a href="http://www.centos.org/"&gt;CentOS&lt;/a&gt; 4.4, which was moved away into a subdir just after booting Debian-Installer, and then lobotomised so it would run as a &lt;a href="http://www.linux-vserver.org/"&gt;Linux-VServer&lt;/a&gt; under a new Debian etch install. I&amp;rsquo;ll probably write more details about it soon though, as it could be a maybe less scary alternative to Guillem&amp;rsquo;s &lt;a href="http://www.hadrons.org/~guillem/debian/debtakeover/README"&gt;debtakeover&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Yay for etch!&lt;/p&gt;</description></item><item><title>Silent home servers</title><link>https://oskuro.net/en/posts/silent-devices/</link><pubDate>Thu, 19 Oct 2006 17:36:00 +0000</pubDate><guid>https://oskuro.net/en/posts/silent-devices/</guid><category>site</category><category>meta</category><category>sysadmin</category><description>&lt;p&gt;The computer which hosts this blog is a venerable Pentium 150Mhz, with 64Mb of physical memory and two decently sized disks. It has been running non-stop mostly without hiccups for several years, and I&amp;rsquo;m quite happy with it, even if the processing power is so scarce I&amp;rsquo;ve been having to tune down some services as Debian has gotten more resource hungry, dist-upgrade after dist-upgrade.&lt;/p&gt;
&lt;p&gt;Natura is my 2nd oldest Debian install, coming back from Ham, and after a while it became a home server when it was replaced by an Athlon 700Mhz at my father&amp;rsquo;s house. The only hardware incidents are all related to blackouts or storms: two dead disks and one power supply. The CPU died years ago, but I discovered that many months later. I guess it wasn&amp;rsquo;t so necessary. :)&lt;/p&gt;
&lt;p&gt;It is time to replace natura, though. The components are aging and they have become quite noisy, despite my attempts to cleanup the dust. Lately it is so loud that I can&amp;rsquo;t understand how my dad can actually get work done with that persistent noise in the room. Besides, it&amp;rsquo;d be good to get just a little bit more of CPU power to do a few things that have been postponed for a while now. I have been looking for offerings in the embedded devices market.&lt;/p&gt;
&lt;p&gt;I am looking for a device with the following characteristics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Silent&lt;/strong&gt;: this is a must. If fans aren&amp;rsquo;t involved, that&amp;rsquo;s great, but I know there are some devices with just one fan for the hard drives, etc. which are really silent too. Noise is the #1 reason I want to get a replacement.&lt;/li&gt;
&lt;li&gt;CPU power and RAM: it doesn&amp;rsquo;t need to be too powerful, but of course an improvement over a Pentium 150 Mhz is expected. :) The minimal RAM would be 128Mb, I guess, and if it&amp;rsquo;s expandable/replaceable, that&amp;rsquo;d be a big plus.&lt;/li&gt;
&lt;li&gt;Power consumption: I have other boxes around which I haven&amp;rsquo;t used to replace natura to get more CPU power because I&amp;rsquo;ve always assumed that it&amp;rsquo;d be hard to match the Pentium&amp;rsquo;s power consumption. As it&amp;rsquo;s up 24/7, I want it to be good in this area. AFAIK, the devices I&amp;rsquo;m looking for do quite well there, though.&lt;/li&gt;
&lt;li&gt;Hard drives: many offerings accept two or four HDs inside the case. I won&amp;rsquo;t need four, but the possibility of setting up RAID is quite attractive.&lt;/li&gt;
&lt;li&gt;Hackable: should be supported by GNU/Linux, and if d-i does a good job on it, bonus!&lt;/li&gt;
&lt;li&gt;Price: last, but not least, I&amp;rsquo;m willing to spend some money on this, but I probably don&amp;rsquo;t aim for the most expensive devices&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve found that the &lt;a href="http://www.thecus.com/products_over.php?cid=1&amp;amp;pid=1"&gt;Thecus YES Box N2100&lt;/a&gt; is one of the most interesting offerings: 2 Gigabit ethernet ports, two internal SATA HD bays, 3 USB ports&amp;hellip; but is a bit too expensive: 350€ (without disks). &lt;a href="http://www.cyrius.com/"&gt;tbm&lt;/a&gt; also told me to look at some cheaper PowerPC devices, but I forgot the name right now.&lt;/p&gt;
&lt;p&gt;So, dear Lazyweb, what would you recommend as a natura replacement for a home server?&lt;/p&gt;</description></item><item><title>Hard drive failure</title><link>https://oskuro.net/en/posts/natura-hd-fail/</link><pubDate>Sun, 20 Nov 2005 03:28:00 +0000</pubDate><guid>https://oskuro.net/en/posts/natura-hd-fail/</guid><category>site</category><category>meta</category><category>sysadmin</category><description>&lt;p&gt;On Thursday, I went up to my father&amp;rsquo;s house to pick up my desktop, now that I finally have Internet access at home so I can have permanent access to it from a more convenient place. While I was there, I decided it&amp;rsquo;d be a good idea to do an upgrade on my dad&amp;rsquo;s box.&lt;/p&gt;
&lt;p&gt;While I was doing this, the nfs share of the Debian mirror in the home server that serves this blog stopped working, and I couldn&amp;rsquo;t ssh in, although the console and ICMP appeared to work. Having no monitor attached to that box, I decided to reboot it and resolve the problem in a lame way. Had I known my primary hard drive had decided enough is enough, I would have looked for a monitor instead.&lt;/p&gt;
&lt;p&gt;After reboot, the server started doing a very loud and scary noise, which was not new to me. When the BIOS tried to probe the disk, it would not start up and would instead whine like that. When this happened in the past, switching the box for a few minutes and trying again was enough. Not this time, though, it looked like it was the end.&lt;/p&gt;
&lt;p&gt;Horrified by the fact that I had no really useful backup of /etc and /home, I tried over and over to get it working. I plugged the HD into another old AT box (which once served as my GNU Hurd playground), but I still got those scary noises. At least I knew it had nothing to do with the mother board.&lt;/p&gt;
&lt;p&gt;As it was getting late, I decided to take the HD with me, and another Maxtor of the same size (but not exact model) with me, to have a look in office the next day. I thought I&amp;rsquo;d have to restort to try to transplant the logic board from the good one to the faulty disk, but before that, I realised I could try mounting it in a USB cage. For some reason or another, this worked, and I quickly saved thetwo partitions it contained with no read errors.&lt;/p&gt;
&lt;p&gt;After this, I realised I had not done the copy as root, so I had lost all my ownerships. I plugged the disk again, and re-rsynced. It still worked. Alleviated, I went back home, copied the data to another old disk, and I don&amp;rsquo;t remember why, I tried mounting the faulty disk again. I got scary noises even using the USB case, and no other tries have been successful, so I think it&amp;rsquo;s completely dead now, just before my final mount which saved the data.&lt;/p&gt;
&lt;p&gt;The box is now back online, using a Seagate disk I had stored in a drawer and with no notes on it about it having any kind of problem. I suspect I will need to do real backups now, because the drive isn&amp;rsquo;t as safe as it looked&amp;hellip;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hda: dma_timer_expiry: dma status == 0x20
hda: DMA timeout retry
hda: timeout waiting for DMA
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: drive not ready for command
ide0: reset: success
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;My little P150 needs a 6GB drive. I&amp;rsquo;ll have to find one somewhere.&lt;/p&gt;</description></item><item><title>Better not comment</title><link>https://oskuro.net/en/posts/search-strings/</link><pubDate>Thu, 10 Nov 2005 06:56:00 +0000</pubDate><guid>https://oskuro.net/en/posts/search-strings/</guid><category>site</category><category>meta</category><description>&lt;p&gt;Lately, there&amp;rsquo;s a clear trend in my webserver stats. Since mid September, the top three search strings for oskuro.net are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Naked men (with like 60% of occurrences)&lt;/li&gt;
&lt;li&gt;Fernando Alonso&lt;/li&gt;
&lt;li&gt;Skinny dipping&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&amp;rsquo;m glad I never posted about Leonor&amp;hellip;&lt;/p&gt;</description></item><item><title>Blogging in Catalan</title><link>https://oskuro.net/en/posts/catalan-entries/</link><pubDate>Tue, 23 Aug 2005 13:13:00 +0000</pubDate><guid>https://oskuro.net/en/posts/catalan-entries/</guid><category>site</category><category>meta</category><description>&lt;p&gt;When I started this blog a year and a half ago, I was maintaining a blog in &lt;a href="http://www.komandoct.org/"&gt;my team&amp;rsquo;s webpage&lt;/a&gt;, in Catalan, to write about my triathlon-oriented stuff. The momentum this webpage had acquired is now mostly lost, and I have no energy to promote its use among my team members once more.&lt;/p&gt;
&lt;p&gt;Recently, some &lt;a href="http://www.softcatala.org/"&gt;Softcatalà&lt;/a&gt; people started a &lt;a href="http://planet.softcatala.org/"&gt;Planeta Softcatalà&lt;/a&gt; for the blogs of all the organisation&amp;rsquo;s members. If you have a look, you&amp;rsquo;ll see that my blog entries are clearly distinct to the rest of my friends in there: I&amp;rsquo;m the only one with an English blog.&lt;/p&gt;
&lt;p&gt;For some time I&amp;rsquo;ve been wondering about dividing this blog in two sections, &lt;em&gt;en&lt;/em&gt; and &lt;em&gt;ca&lt;/em&gt;, and point the different planets to the appropriate languages. I think I would still give English posts some priority, but there are some things I&amp;rsquo;d rather write in Catalan (I think I feel like posting about my recent stay in the Pirineus in Catalan, for example). What do people do with respect to multi-language blogs? Catalan content probably wouldn&amp;rsquo;t be too ok for &lt;a href="http://planet.debian.org/"&gt;Planet Debian&lt;/a&gt; or &lt;a href="http://planet.gnome.org/"&gt;Planet GNOME&lt;/a&gt;, but would my Catalan readers want to continue reading my English content?&lt;/p&gt;
&lt;p&gt;If you follow my blog, your comment is welcome.&lt;/p&gt;</description></item><item><title>Comments upgrade</title><link>https://oskuro.net/en/posts/comments-upgrade/</link><pubDate>Tue, 14 Jun 2005 18:14:00 +0000</pubDate><guid>https://oskuro.net/en/posts/comments-upgrade/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;I just upgraded the &lt;code&gt;comments&lt;/code&gt; plugin from the PyBlosxom contrib prerelease distribution. You should not find tracebacks so easily in this blog now, and actually submitting comments without an email address won&amp;rsquo;t break it badly anymore. Thanks for the pointer, &lt;a href="http://bluesock.org/~willg/blog/"&gt;will&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Upgrade to pyblosxom 1.2</title><link>https://oskuro.net/en/posts/pyblosxom-1.2/</link><pubDate>Tue, 24 May 2005 19:47:00 +0000</pubDate><guid>https://oskuro.net/en/posts/pyblosxom-1.2/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;Today, being on vacation and with little fun stuff to do, I decided to have a look at my old blog spam problem. Lately, I had been using a poor-man&amp;rsquo;s spam cleaner for the comment spams, consisting on combining find, grep with an always growing list of forbidden patterns, and rm. This worked well for some time, and the spam problem was a minor annoyance now: I just had to check for non-removed entries every now and then and add those patterns to the regexp.&lt;/p&gt;
&lt;p&gt;Yesterday I found out I had something like 3.000 new comments, so I thought my cheap system was broken and it hadn&amp;rsquo;t deleted anything in many days. Nope, it was working correctly according to the logs, but everytime it ran it deleted something like 100 files or so. After adding the missing patterns and deleting the thousands of new files, I observed my webserver logs with &lt;code&gt;tail -f&lt;/code&gt; for a moment and found I was getting one new comment every two seconds or so. WTF?! Are they generally getting this aggresive everywhere, or is this dude just pissed about my site? I hope the mail to the corresponding abuse@ address works.&lt;/p&gt;
&lt;p&gt;As they submitted them quicker than the slow CPU could delete them, I removed comments temporarily, and looked at installing &lt;a href="http://pyblosxom.sourceforge.net/"&gt;PyBlosxom&lt;/a&gt; 1.2, as people had told me there&amp;rsquo;s improvements against spam in this release.&lt;/p&gt;
&lt;p&gt;This site is now running 1.2, but I see nothing spam-oriented in the new comments plugin. Does anyone know what the Nice Way of blocking spam in PyBlosxom is, that is not too expensive CPU-wise? Comments should be working right now.&lt;/p&gt;
&lt;p&gt;On another note, the site is crawling today because of the two triathlon pics I posted earlier, which are making people hit MaxClients quite fast.&lt;/p&gt;</description></item><item><title>Blog is back</title><link>https://oskuro.net/en/posts/blog-recovered/</link><pubDate>Mon, 21 Feb 2005 18:07:00 +0000</pubDate><guid>https://oskuro.net/en/posts/blog-recovered/</guid><category>site</category><category>meta</category><description>&lt;p&gt;Shortly after posting about referal spam killing my box a few times in two days, things got a lot worse and the box would go down every hour or so. As &lt;code&gt;natura.oskuro.net&lt;/code&gt; is, besides a home webserver, a NAT box for my father&amp;rsquo;s Internet connection, having the box more dead than alive was quite unacceptable, and I had to stop Apache2 until I found another place for the blog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mako.yukidoke.org/copyrighteous/"&gt;Mako&lt;/a&gt;, &lt;a href="http://raw-output.org/"&gt;jacobo&lt;/a&gt; (who is back into blogging, for the joy of many in #gpul) and a few others offered temporary hosting for this site while &lt;a href="http://mixinet.net/stoblog/"&gt;sto&lt;/a&gt; and I decide on renting a UML-based box or whatever.&lt;/p&gt;
&lt;p&gt;Before moving somewhere else, I tried a few of the last options at the old, slow box, and it seems PyBlosxom caches are really working, at least for now. Despite having gone over a few spam attacks since Saturday, it looks like the box is cutting it quite ok. mrtg reports a few high load peaks over the night, but nothing that kills it. I used the dbm-based pyblosxom cache driver, and the first difference is that apparently I don&amp;rsquo;t get one process per request anymore, and only that prevents running out of memory. I&amp;rsquo;ve had one case where the blog would be empty, which was fixed by just rm&amp;rsquo;ing the cache db. If it happens again, I&amp;rsquo;ll try with the entrypickle cache driver to see if there&amp;rsquo;s any improvement.&lt;/p&gt;
&lt;p&gt;Anyway, even if it still works, it&amp;rsquo;s obvious a Pentium 150Mhz is not enough these days, and will have to find something cheap to host my stuff as soon as possible. In the following days I will finish the migration to a new domain name, which will be a start. &lt;a href="http://oskuro.net/"&gt;oskuro.net&lt;/a&gt; doesn&amp;rsquo;t make much sense anymore, and quite probably I will let it expire next year.&lt;/p&gt;</description></item><item><title>A few suggestions to parasites</title><link>https://oskuro.net/en/posts/spammer-parasites/</link><pubDate>Fri, 11 Feb 2005 10:40:00 +0000</pubDate><guid>https://oskuro.net/en/posts/spammer-parasites/</guid><category>site</category><category>meta</category><category>pyblosxom</category><category>spam</category><description>&lt;p&gt;Dear assholes,&lt;/p&gt;
&lt;p&gt;If you plan to take advantage of my blog to rank your shitty pharmacy webpage high on Google, take the following into consideration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;if you hit my poor Pentium 150 with hundreds of stupid HTTP requests to my blog, at least do it a few at a time during the day. Your referral stats pointing to your pharmacy shit will still show up (in the case that the blog stats are public, and in my case they aren&amp;rsquo;t), and you will not kill the box in about 15 minutes like you did 3 times in the last two days.&lt;/li&gt;
&lt;li&gt;if you kill my box, Google won&amp;rsquo;t be able to do its fine job and we&amp;rsquo;ll both lose.&lt;/li&gt;
&lt;li&gt;at least, point to an existing website.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks for considering a symbiotic relationship in the future.&lt;/p&gt;
&lt;p&gt;So the bastards did it again yesterday, and this time I had to drive to where the box is located and see what was going on in console. As expected, OOM killer fun, and by no means I could recover it, even after taking it off the network and trying to SysRQ it a bit.&lt;/p&gt;
&lt;p&gt;It seems the spammers are trying to take advantage of referral stats now, and hit sites with tons of requests. Every request to /blog in this site means a not so cheap python process which takes quite some memory, which is a scarce resource in poor &lt;code&gt;natura.oskuro.net&lt;/code&gt;. With just a few blog processes going on, the box starts swapping to its death.&lt;/p&gt;
&lt;p&gt;I know, I should add limits to my Apache2 configuration, and possibly pyblosxom caches. For now, stopping spamd has helped a bit, as that process only was sucking ~35% of the memory.&lt;/p&gt;</description></item><item><title>One year</title><link>https://oskuro.net/en/posts/first-anniversary/</link><pubDate>Sat, 15 Jan 2005 02:52:00 +0000</pubDate><guid>https://oskuro.net/en/posts/first-anniversary/</guid><category>site</category><category>meta</category><description>&lt;p&gt;I just realised this blog made its first year online &lt;a href="https://oskuro.net/blog/2004/01/03/"&gt;quite recently&lt;/a&gt;, after my first stage at &lt;a href="http://advogato.org/"&gt;Advogato&lt;/a&gt;. I wish I had more time to think about &lt;em&gt;interesting&lt;/em&gt; stuff to talk about, though. Sometimes, this feels like the Debian GNOME team&amp;rsquo;s announcement board. :)&lt;/p&gt;</description></item><item><title>ADSL upgrade</title><link>https://oskuro.net/en/posts/downlink-doubled/</link><pubDate>Tue, 05 Oct 2004 10:30:00 +0000</pubDate><guid>https://oskuro.net/en/posts/downlink-doubled/</guid><category>site</category><category>meta</category><category>sysadmin</category><description>&lt;p&gt;Yesterday I wasn&amp;rsquo;t able to log into my home server from the office, and I assumed the load had skyrocketed again, as it happens every now and then. Timing was quite bad because I&amp;rsquo;m very busy in the evenings these days, but I went to my father&amp;rsquo;s house to see what was going on, and when I got there I saw the server was mostly idling. WTF? Shortly after I noticed my local named wouldn&amp;rsquo;t resolve barely anything, and I couldn&amp;rsquo;t ssh out, as the connection would hang in the middle of the handshakes. I started looking at my 3com router configuration, seemed ok; rebooted the box, nothing changed; started cursing, which changed nothing either&amp;hellip; until I realized it was probably a telco thing. I told my father &amp;ldquo;it&amp;rsquo;ll probably be fixed automagically&amp;rdquo; and left the house.&lt;/p&gt;
&lt;p&gt;When I came back from training, I managed to ssh in and quickly tested the downstream speed. As I suspected, the downtime was caused by Telefónica tweaking our stuff to upgrade the ADSL&amp;rsquo;s of the area from 256/128 to 512/128. Uplink still sucks, but oh well, we got this for &amp;ldquo;free&amp;rdquo; (ie, we still pay way to much for crappy connections in Spain, but we&amp;rsquo;re slowly getting what the rest of Europe seems to have).&lt;/p&gt;
&lt;p&gt;Moreover, today the cable company finally opened up the street and installed their stuff to offer their service. 5 or 6 years late&amp;hellip;&lt;/p&gt;</description></item><item><title>Hardware disaster</title><link>https://oskuro.net/en/posts/damn-blackouts/</link><pubDate>Sun, 05 Sep 2004 18:01:00 +0000</pubDate><guid>https://oskuro.net/en/posts/damn-blackouts/</guid><category>site</category><category>meta</category><category>sysadmin</category><description>&lt;p&gt;The &lt;a href="https://oskuro.net/en/posts/storms"&gt;big storms&lt;/a&gt; of the past days not only affected some trees and the cars below them. On Saturday I went to where my main server lives and discovered the primary hard drive had developed a new musical skill: every time the BIOS tried to access it it would reply with a funky loud sound I have never heard before (and no, it&amp;rsquo;s not the usual high pitch sound of a drive when it&amp;rsquo;s dying). After getting quite worried about those backups I &lt;em&gt;never&lt;/em&gt; made, I managed to make it go quiet and boot again (that was just before I wrote the previous blog entry). I know I shouldn&amp;rsquo;t be trusting that drive much more, but I have no time to look for a replacement right now. I hope there are no more big storms in some time&amp;hellip;&lt;/p&gt;
&lt;p&gt;Besides that, my main Debian computer just would not react to the power switch at all. I first thought the power supply was completely fucked, but a few minutes ago I managed to get it back to life after fiddling inside the box, randomly unplugging and plugging power cords back and forth.&lt;/p&gt;
&lt;p&gt;In short, it seems my computers are not in their best shape ever. This reminds me (again) that I really need to look for a UPS for the two boxes. Any cheap recommendation that works well with GNU/Linux? And of course, this is the signal that I fucking need to make backups of my stuff!&lt;/p&gt;
&lt;p&gt;Aww, &lt;a href="http://cytosine.org/~helix/lemonade/blog/"&gt;Erinn&lt;/a&gt;, when I wrote about the storm the other day I didn&amp;rsquo;t know that you were being evacuated due to Frances. I hope all is well!&lt;/p&gt;</description></item><item><title>Note to self...</title><link>https://oskuro.net/en/posts/comment-breakage/</link><pubDate>Tue, 29 Jun 2004 12:08:00 +0000</pubDate><guid>https://oskuro.net/en/posts/comment-breakage/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;If you &lt;a href="https://oskuro.net/en/posts/pyblosxom-xhtml"&gt;ask for comments&lt;/a&gt;, make sure your comment system doesn&amp;rsquo;t break. I hadn&amp;rsquo;t noticed the permission problems after moving the cgi to /var. It&amp;rsquo;s fixed now&amp;hellip; sorry about that, folks.&lt;/p&gt;
&lt;p&gt;In the meanwhile, &lt;a href="http://www.burtonini.com/"&gt;Ross&lt;/a&gt; and I agreed on IRC that suffixes are bad, and I got rid of them entirely. He also told me about the &lt;span class="kbd"&gt;py[&amp;lsquo;defaultFlavour&amp;rsquo;]&lt;/span&gt; config option, which I hand&amp;rsquo;t found, everything is ok now (well, except for the content_type vs. IE problem which I still need suggestions for).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update&lt;/em&gt;: James pointed me at a &lt;a href="http://diveintomark.org/archives/2003/08/15/slugs"&gt;nice post&lt;/a&gt; on blog URLs.&lt;/p&gt;</description></item><item><title>PyBlosxom and XHTML</title><link>https://oskuro.net/en/posts/pyblosxom-xhtml/</link><pubDate>Mon, 28 Jun 2004 20:32:00 +0000</pubDate><guid>https://oskuro.net/en/posts/pyblosxom-xhtml/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;As I said in a &lt;a href="https://oskuro.net/en/posts/css"&gt;previous post&lt;/a&gt;, I spent some time cleaning up my &lt;a href="http://roughingit.subtlehints.net/pyblosxom/"&gt;PyBlosxom&lt;/a&gt; flavour to make it XHTML 1.1 compliant. I also decided to start using my vanity domain a bit better, and moved the blog to the webserver&amp;rsquo;s &lt;a href="https://oskuro.net/en/"&gt;rootdir&lt;/a&gt;. In order to maintain backwards compatibility and not break a lot of links to my blog out there, I installed a Redirect rule so calls to the old dir look at the new dir, and that seems to work.&lt;/p&gt;
&lt;p&gt;The main problem is now that I&amp;rsquo;m not too sure about how to solve the &lt;span class="kbd"&gt;application/xhtml+xml&lt;/span&gt; problem with Internet Explorer. The mod_rewrite rules &lt;a href="http://www.spacelabs.nl/about/"&gt;sjoerd&lt;/a&gt; and &lt;a href="http://blog.clearairturbulence.org/"&gt;thom&lt;/a&gt; shared don&amp;rsquo;t work too well for pyblosxom:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RewriteEngine On
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml
RewriteCond %{REQUEST_URI} \.xhtml$
RewriteRule .* - &amp;quot;[T=text/html]&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It&amp;rsquo;s easy to have URLs like /blog/2004/Jun/28, and if I understand correctly, the Redirect won&amp;rsquo;t work with this type of URLs. I also don&amp;rsquo;t know if it&amp;rsquo;s possible to make &amp;ldquo;xhtml&amp;rdquo; the default flavour in pyblosxom, instead of &amp;ldquo;html&amp;rdquo;. I&amp;rsquo;m actually not sure if the permalink for this entry &amp;ldquo;should&amp;rdquo; end up with .html, .xhtml, or no suffix at all. Suggestions welcome. :)&lt;/p&gt;</description></item><item><title>Finally, a stylesheet</title><link>https://oskuro.net/en/posts/css/</link><pubDate>Sun, 27 Jun 2004 01:55:00 +0000</pubDate><guid>https://oskuro.net/en/posts/css/</guid><category>site</category><category>meta</category><description>&lt;p&gt;Today I saw 3 different persons go into #gnome, ask about the GNOME problems in Sarge, and being directed to my blog. This was enough to make me feel quite embarrased about the lack of css stylesheet (I removed the default pyblosxom style, and the new one wasn&amp;rsquo;t working). So after a few hours and facing many problems, I have a prototype, which still needs polishing, but works for now. I have updated the pyblosxom flavour to XHTML 1.1 Strict, which is a bit painful in some aspects, but works ok on Mozilla-based browsers. The biggest problem is that it &lt;em&gt;requires&lt;/em&gt; a sane content-type, application/xhtml+xml, but IE doesn&amp;rsquo;t know about this type at all. Sjoerd gave me some Apache Rewrite magic, but I didn&amp;rsquo;t manage to get it working. I&amp;rsquo;ll see if he knows what&amp;rsquo;s up with Apache2 tomorrow.&lt;/p&gt;</description></item><item><title>Upgraded to pyblosxom 1.0.0</title><link>https://oskuro.net/en/posts/pyblosxom-1.0/</link><pubDate>Fri, 11 Jun 2004 00:00:00 +0000</pubDate><guid>https://oskuro.net/en/posts/pyblosxom-1.0/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;This afternoon I spent some time upgrading pyblosxom to version 1.0.0.&lt;/p&gt;
&lt;p&gt;I had been using the Debian package, which had 0.8.1&amp;hellip; &lt;em&gt;in experimental&lt;/em&gt;&amp;hellip; the package in unstable is still at 0.7.x. I obviously grabbed the tarball and installed it in /usr/local. After the upgrade, it seems the rss generator has become a lot more picky, and would choke in the dozen HTML small errors that I had all over my blog posts. &lt;a href="http://www.debianslashrules.org/"&gt;Omnic&lt;/a&gt; noticed my posts were empty in &lt;a href="http://planet.debian.net/"&gt;Planet Debian&lt;/a&gt; just as I was closing terminals in preparation for heading to bed. It should be ok now.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll probably start writing a new style sheet for the entire web tomorrow, and think about moving the whole blog to the topdir of my webserver, as I really have no other uses for it.&lt;/p&gt;</description></item><item><title>Blog spam: nothing new...</title><link>https://oskuro.net/en/posts/blog-spam2/</link><pubDate>Thu, 10 Jun 2004 14:52:00 +0000</pubDate><guid>https://oskuro.net/en/posts/blog-spam2/</guid><category>site</category><category>meta</category><category>pyblosxom</category><category>spam</category><description>&lt;p&gt;Thanks to all the people who replied to my &lt;a href="https://oskuro.net/en/posts/blog-spam"&gt;previous post&lt;/a&gt; on blog spam. It&amp;rsquo;s obviously not new, and it seems MT users have been hit quite &lt;a href="http://www.veazeys.com/cgi-bin/mt-comments.cgi?entry_id=88"&gt;badly&lt;/a&gt; by this. I guess removing links from comments is the first, quick step, but some kind of URL filter for the comment module in pyblosxom would be handy. Has anyone hacked something similar?&lt;/p&gt;
&lt;p&gt;Just an extension that lets you create a blacklist of URLs would be a start, as the spammer URLS are always the same. They do know about some anti-anti-spam techniques though, and for example write &amp;ldquo;online casino&amp;rdquo; as &amp;ldquo;on&amp;amp;#108;ine-cas&amp;amp;#105;no&amp;rdquo;, so to read links they should be rendered first.&lt;/p&gt;</description></item><item><title>Blog spam</title><link>https://oskuro.net/en/posts/blog-spam/</link><pubDate>Wed, 09 Jun 2004 16:54:00 +0000</pubDate><guid>https://oskuro.net/en/posts/blog-spam/</guid><category>site</category><category>meta</category><category>pyblosxom</category><category>spam</category><description>&lt;p&gt;The other day I found one comment in one of my blog&amp;rsquo;s posts which sounded weird. It said &amp;ldquo;HI, Wow.. this is a very informative website! I enjoy your site very much! Keep up the good work!&amp;rdquo; or similar. The author name linked to what looked like a pretty boring personal website. Yesterday I discovered most of my blog posts have one or more of these messages. What the fuck, they are spamming me through my blog! They basically write random nonsense like that, and add a link to an online-casino or whatever in the link you can leave as signature in pyblosxom.&lt;/p&gt;
&lt;p&gt;Has anyone else had problems like this in their blogs? If it continues, it&amp;rsquo;ll be easy to fix: I will just remove the comments module from my install and be done with it. Thanks to those who post useful stuff every now and then, though. It&amp;rsquo;s nice to read replies to some of my posts.&lt;/p&gt;</description></item><item><title>Yet Another Blog® is born</title><link>https://oskuro.net/en/posts/yab/</link><pubDate>Sat, 03 Jan 2004 20:35:00 +0000</pubDate><guid>https://oskuro.net/en/posts/yab/</guid><category>site</category><category>meta</category><category>pyblosxom</category><description>&lt;p&gt;Yes, I had been procrastinating about doing this for a looong time already, but never sat down to do it, basically because I didn&amp;rsquo;t know what software I should use, or anything.&lt;/p&gt;
&lt;p&gt;I have been an &lt;a href="http://advogato.org/"&gt;Advogato&lt;/a&gt; user before, but gradually stopped posting there, even if I liked participating in that community. Now, with Keybuk very recently opening &lt;a href="http://people.debian.org/~keybuk/planetdebian/"&gt;PlanetDebian&lt;/a&gt;, IRC appears to be full of people that just stopped procrastinating about building their own blog, so here I am.&lt;/p&gt;
&lt;p&gt;Of course, this site needs a lot of work, and it&amp;rsquo;ll get there, but for now it&amp;rsquo;ll be using the simple 1993 look that comes with the pyblosxom Debian package. Pyblosxom is quite neat, I must say!&lt;/p&gt;
&lt;p&gt;I plan talking about my Debian &amp;amp; GNOME stuff here, and hopefully less about my triathlon stuff. For that, I tend to use my Drupal-based blog at &lt;a href="http://triatlo.uv.es/"&gt;my team&amp;rsquo;s website&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>