geek notes for advice seekers


Today i had to face a weird problem with Apache 2. I wanted to setup a webmail on the SAME virtualhost that i was using to proxy to another host. Here’s a summary of my configuration: <VirtualHost *:80> ServerAdmin sysadmin@localhost DocumentRoot /var/www/folder ServerName localhost Alias /mail /var/lib/roundcube/ <Directory /var/lib/roundcube/> Options Indexes Includes FollowSymLinks AllowOverride All […]

, , ,

Dailymotion Videowall WordPress Widget Plugin

I had to create a plugin for WPMU to allow users to add a Dailymotion Videowall in the sidebar. It is available at this page: Stay tuned for a multi-language version! Here’s the link if you want to donate:

, , ,

MySQL: Restore a dropped database

NOTE BEFORE TRYING ANYTHING DO A BACKUP OF ALL DATABASES. 1 MISTAKE CAN BE A BIG PROBLEM, IMAGINE 2 MISTAKES AT THE SAME TIME!! You need bin logs for this tutorial, if you didn’t have them enabled, then you have to look somewhere else.. Today i accidentally “dropped” the database of a site i host […]

, , , , ,

Daemon Tools error: Unable to validate the installation

If you got that error “unable to validate the installation” or “Setup is unable to validate installation” when reinstalling Daemon Tools, and you’re unable to either uninstall/reinstall/run Daemon Tools, do the following: 1) Remove completely the Daemon Tools folder manually, it’s usually C:\Program Files\Daemon Tools 2) Then reinstall Daemon Tools with the installer. There’s no […]

, , ,

ffmpeg-php – error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)

/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’: /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.) /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_ffmpeg_frame’: /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function) make: *** [ffmpeg_frame.lo] Erreur 1 To fix this, replace PIX_FMT_RGBA32 with PIX_FMT_RGB32 […]

, ,

Bind on FreeBSD 7.2 error: named[1531]: the working directory is not writable

To fix this error, edit the following file: /etc/mtree/BIND.chroot.dist Change: /set type=dir uname=root gname=wheel mode=0755 into: /set type=dir uname=bind gname=wheel mode=0755 Then restart bind: /etc/rc.d/named restart

, , ,

Interstate 76′ D3D patch + Gold Patch + Force Feedback Patch

I upload here the patches i have of Interstate 76′ as they are difficult to find. Interstate 76′ Force Feedback Patch (might be deprecated) Interstate 76′ Patch 1081 + French changelog (deprecated, see the one under) Interstate 76′ Patch 1083 Interstate 76′ Gold Patch

Compiling Micropolis (Simcity) on Ubuntu Intrepid (8.10) and Jaunty (9.04)

Update: Starting from Ubuntu Karmic (9.10), Micropolis is in your apt! You need the following: sudo apt-get install libx11-dev libxpm-dev x11proto-xext-dev libxext-dev You also need yacc, it will fail if you use bison or btyacc: btyaccpa.ske:111: erreur: expected specifier-qualifier-list before ‘yyparsestate’ btyaccpa.ske:128: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token btyaccpa.ske:131: erreur: […]

New DDoS attacks exploit recursive DNS Servers

Looks like some people are exploiting recursive DNS servers to conduct DDoS attacks. How? Simple: Some spoofed DNS requests appear to be sent from a victim host, they usually request for “.” (the root zone as it has a long answer) or a specific domain, if the DNS server is badly configured it will send […] / / rambaud maurice / spam

If you’re a system admin, this guy may have broken your balls. After being kicked from several hostings, his sites are still alive. Name    E.Micro Domain Type    bulkmailer or list vendor Count    37 First sent    09.10.2007 Last sent    10.12.2008 Name      Domain     Count E.Micro    37    0    0 […]

Previous Posts Next posts