Cristian Livadaru's Blog

My personal view on things

Let the fun begin :)

I love shopping computer parts, especially if it’s purpose will be to run a Server using Debian. Well I just picked up some parts from Ditech, not much, only 2 boxes ![:)][2] Now that the assembly is ready and debian almost finished burning … I will start to install a base system and a raid5 on it, that will be all for today.

Problems during install … Well I didn’t get to far the first problems was right after booting. The Debin installer seems to have problems recognizing the IDE (or the now so called PATA) CD-Rom on Core 2 Duo mainboards. Strange. The solution is quite simple, I took the cd-rom out of the server, used one of my old IDE cases for external harddisks and abused that to connect the cdrom via usb ![:)][2] Worked. The next thing is, network card was not detected I “worked around” this problem by inserting some 3com I found at home, but the next thing was the sata controller. arggg. Now I only have one more chance, downloading a daily snapshop of debian etch and hope that there is a new kernel on that one. That should solve my problems. If not …. I will have to continue searching tomorrow for solutions.


This is how every Internet connection should be :)

700MB in 13 minutes with 927 KB/s

wget ftp://ftp.easynet.be/ubuntu-iso/edgy/ubuntu-6.10-desktop-i386.iso --16:55:43-- ftp://ftp.easynet.be/ubuntu-iso/edgy/ubuntu-6.10-desktop-i386.iso => `ubuntu-6.10-desktop-i386.iso' Length: 732,293,120 (unauthoritative) 100%[========================] 732,293,120 1.08M/s ETA 00:00 17:08:49 (927.31 KB/s) - `ubuntu-6.10-desktop-i386.iso' saved [732293120]


Cleaning up Gallery2 Cache

I wondered why my Gallery2 database backup was so HUGE ! (3gigs of text!) That couldn’t be right. After I search a bit on menalto.com on the forum I found out that the cache was the problem. After deleting the cache, the same database had only 16MB ! That is quite a difference. Anyway, the cache has it’s useful part, else you could turn it of so I wrote a little script to clean up everything that is older then a week. The DB then still has about 200MB but that is not comparable to 3GB ! So here is my little script.


Kolab, a opensource Groupware solution

Want a Mailsever for a office that does all out of the box with virusscanner, spamfilter? Well Kolab could be one thing you should look at. Due to the fact that it uses Postfix and Cyrus, there is no way you could compare the performance to an exchange server (also called by someone as the best harddisk Benchmark ). Well since I love debian as server distribution it was also the OS I chose for this installation. But unfortunately there are no Debian packages for Kolab but you can still use the sources. I found an excellent HowTo (in german). This explains step by step all you need. The biggest problem was that I had to compile all kolab packages from source. On the P3 500Mhz I had here to install it took 6 hours! so make sure you have a loooot of coffee and time to get this done. Apropos coffee, it’s time for a new one. The next problem one might encounter is, like in my case, when you use the same machine to install the new server. How do you get the old mails for the old installation on the new one? Well if you have XEN installed somewhere it’s a matter of minutes to setup a new Virtual server, install cyrus on it and follow my Howto to import the old mails on the Xen Vserver. This might sound like a bit of to much work, but it really is simple. Why didn’t I import the mails directly on the new Kolab server if the old one was also cyrus? Well, the old setup was a bit different and also a different cyrus version so I didn’t want to mess up to much with Kolab so I thought this would be the easiest way and all went out perfect. But wait, now I still don’t have any of the old mails on the new Kolab installation. Well for this task you could use imapsync. I used it like this: imapsync –host1 192.168.0.101 –user1 foo –host2 localhost –user2 –authmech1 LOGIN –password1 foobar –password2 foobar –noauthmd5 –subscribe Caution! if other users are logged in the machine where you start imapsync you should not user –password1 and –password2 since one could see the password in the process list. Refer to the imapsync manual and use the version where it reads the passwords from file! Don’t forget the –subscribe option else any folder from the old server will not be shown on the new one, they will be imported and one could manually subscribe with thunderbird or a webmail, but for some users this task could be to complicated so make their (and finally you life) easier because I bet you will not be very pleased to hear “Oh my good, where are all my mail folders” from all users you have! One final thing … if anybody is interested in installing it on a debian 3.1 on x86 platform, check the download locations carefully! There ARE binaries for debian! And you won’t have to wait 6 hours for compilation, like me, just because you where to fucking blind to see the ix86-debian-3.1 folder! arggg… I could punch myself for this. If you still didn’t find it, try here.


Testing gallery 2.2

Gallery2.2 still isn’t released, but since I can’t wait to see it I started to install the nightly snapshot of gallery2.2, don’t worry! only on a testsystem I’m not upgrading the main gallery installation, yet. So what’s so great about gallery2.2, well actually there is no specific feature that I’m waiting for but I do bet there are a lot of things that I will like. The first thing that I noticed was that 2.2 now also knows Romanian The installation was easy as always, but the hard part will be the upgrade, this I will test the next days to get an idea of what awaits me when upgrading the existing gallery. Didn’t do that now since I only have 300mb left on my test VPS. New modules: There is a new printing service, a Flash video player, mp3 player, replicate items (like a link only that this one really replicates (copies) the item. So and here I am now at step 9 of 11 and my installation kind of stopped activating the user modules, but that isn’t something that will stop me. Looking at the admin interface it does look a bit newer and shinier, but the first thing I saw that sounds great is the Dynamic album feature. Well, enough for now. Looks quite interesting, and as soon as I have created an testinstallation with some images in it I will post a link.


Bye Bye image spam!

Some might have noticed the increasing amount of new spam that comes as image. This makes it impossible for a spam-filter like spamassassin to filter anything since the content of the spam is hidden as image and the text in the mail is random or some pieces from lord of the rings. The solution? OCR ! There is a nice plugin for spamassassin called ocrtext. This little plugin, among with some other tools will fight spam that comes as image. Also new tricks, like animated gifs which can bypass other ocr plugins, will be recognized by ocrtext. I have only done short testing. But I think next week I can say if it was successful or not since I recently got a lot of image spam, this really pissed me of so I finally decided to do something against it.


Camcorder Problems SOLVED

Finally after so much time it came to my mind to ask in some forum what the problem could be. After a search on google I cam across a german video editing forum, digitalvideoschnitt. I got a reply quite fast and I just tried it out and it worked. The problems seems to be when the camera is plugged in to the source! The problems don’t occur when running on battery! The problem seems to occur because of a ground loop since there are 2 grounds, the firewire and the source. Sounds strange but it works and that’s what counts!


Shell Shock :)

One Week Back to Windows – OSNews.com

One of the things that has always made Unices so popular and admired was the shells out there. In fact, most operating systems today have some sort of a competent CLI interface. This is for two reasons. Firstly, in order to offer a way to automate repetitive tasks. Secondly, because you may expect to login remotely, without having access to a graphical environment. And thirdly, because there are cases when you will simply discard the GUI, like when running a web server.


Camcorder problems

I always had this problem since I have my Panasonic NV-MX300! I do not know how to explain the problem so I will demonstrate it with this movie

Noticed the squares appearing two times at the beginning? This can be only from the camcorder. I do NOT have this on the tape if I play it with my camcorder (the same as used for recording, as mentioned, the Panasonic) on TV I do not have these problems. It can not be from the software, I had this in Pinacle, Vegas on windows and also on the Mac in iMovie and Final Cut so there is no way this could be from software or the OS. Neither could it be the hardware, it occurred on my old PC (1.7GHz), Laptop(3GHz), Mac Mini and on the iMac. I once had to capture a movie from a different camcorder, also Panasonic but a different model and there I did not have this problem. So what is this and how do I solve this? Or is there some external device I could use to capture the tapes?


Anybody want some worms, trojans, spyware?

I have seen some infected computers, but never, never, have I seen something like this


—— scan results —— directories: 1342
scanned files: 24026
alerts: **1348**