Skip to main content

Posts

Showing posts from May, 2007

Today's music

In my ears today: "Présence Humaine" from Michel Houellebecq. Good text, good music, but Houellebecq is not a singer. Pretty however. "Drum & Bass" from Sly and Robbie. A standard drum n'bass. "Total Balalaika Concert" from Leningrad Cowboys. A totalium delirium rock-looking Finnish band. Great!!

Samba: Clients get "system error 1223" (or 123) after a server reboot

Facts: a Linux+Samba server shares anonymously a folder. After a reboot, Win clients could not attach the share drive anymore. C:\>net use \\mylinux\folder Enter the user name for 'mylinux': System error 1223 has occurred. The operation was canceled by the user. C:\>net view \\mylinux\ System error 123 has occurred. The filename, directory name, or volume label syntax is incorrect. The process are present, and tcpdump doesn't provide much information. What's going on? After hours of headscratching, the light came: the firewall was on and no rules for the Samba protocol! Grrr!

Linux: ls takes forever on local volume

A strange issue, A simple ls on local volumes take forever to complete. Using strace gave a clue: # strace -fiqttvx ls -l /opt <snip> 10:26:37.917133 [002aa7a2] connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("142.216.0.1")}, 28) = 0 <snip> 10:26:47.912239 [002aa7a2] connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("142.216.0.1")}, 28) = 0 ... A socket on 142.216.0.1 is open and runs to timeout. Tcpdump gave more details: # tcpdump host 142.216.0.1 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 10:26:30.356929 IP 142.216.47.158.33198 > 142.216.0.1.domain: ... 10:26:50.358702 IP 142.216.47.158.33199 > 142.216.0.1.domain: ... 10:26:50.358728 IP 142.216.47.158.33198 > 142.216.0.1.domain: ... ... The wanted port is "domain" (=53); that's a DNS request. Checking /etc/resolv.conf gave the answer...

The Music I like

My Top 10 albums: "The Seduction of Claude Debussy" by Art of Noise "Protection" by Massive Attack "Dixit Dominus" by Georg Friedrich Haendel "Johannes Passion" by Johannes Sebastian Bach "Magnetic Fields" by Jean-Michel Jarre "Tubular Bells" by Mike Oldfield "The Photographer" by Phil Glass "Brothers in Arms" by Dire Straits "The Planets" by Gustav Holtz The "Getz/Gilberto" album (1964) The last albums I bought: "Teo & Tea" by Jean-Michel Jarre. Changes from what he's previously done, but not so bad. "Mirage" by Klaus Schulze "Thief" by Tangerine Dream "Speak & Spell" by Depeche Mode "Hotel" by Moby "The Tetralogy" by Richard Wagner (14 CDs!) What's currently on my iPod: "Protection" by Massive Attack: Great !!! "The Mix" by Kraftwerk Thievery Cor...

Apache in front of JBoss

I finally succeed in putting Apache in front of JBoss. So here is the procedure: What do I needed? Redhat Enterprise Linux 4 - 64 bits Apache 2.0.52 (included with RHEL4) JBoss 4.0.5 GA (wich includes tomcat 5.5) Mod_JK 1.2.21 (to link Apache and Tomcat) Step 1: installing JBoss # cd /opt # unzip jboss-4.0.5.GA.zip -d . # cd jboss-4.0.5.GA/server # cp -a default appl Step 2: compiling mod_jk I've tried with precompiled modules, but unsuccessfully. So I've compiled mod_jk by myself. Need to install httpd-devel and some other stuff located on Linux's disk #4 and #5: disk 4# cd /mnt/cdrom/RedHat/RPMS disk 4# rpm -ivh pcre-devel-4.5-3.2.RHEL4.x86_64.rpm disk 5# rpm -ivh apr-devel-0.9.4-24.5.x86_64.rpm disk 5# rpm -ivh apr-util-devel-0.9.4-21.x86_64.rpm disk 5# rpm -ivh httpd-devel-2.0.52-25.ent.x86_64.rpm Obviously gcc development kit needs to be installed. Now we are in: # cd /tmp/mod_jk # cd native # ./configure --with-apxs=/usr/sbin/apxs # make # make in...