full of … these

XP Error Code : 0×80090006

Posted: February 9th, 2010 | Author: | Filed under: howto | Tags: , , , | No Comments »

Suddenly this error appeared: “A problem is preventing Window from accurately checking the license for this computer. Error Code : 0×80090006″.

I have no idea why.

According to others what you can do one the followin:

  • Log into safe mode and re-register a couple of dlls:
    regsvr32 regwizc.dll
    regsvr32 licdll.dll
  • Fix C drive association by using regedit32:
    See KB914232
  • Reinstall or repair.

For only the third worked.

You can backup files by using Safe mode.

Remember,  backup your data often.

Later edit:

You should verify your XP license or for viruses/rootkits or, more general, malware.
You can see here how much increased the number of searches for 0×80090006 in February: Link to google insight.


AWStats, analyze IIS 6.0 log files

Posted: November 30th, 2009 | Author: | Filed under: howto | Tags: , , , , | No Comments »

If want to analyze your logs using awstats setup awstats like it’s specified here: http://awstats.sourceforge.net/docs/awstats_setup.html

Special for IIS is the log format, dumb log format.
Change your settings like this:
#Logformat for IIS is 2
LogFormat=2
LogFormat = “%time2 %other %other %method %url %port %other %host %ua %code %bytesd %other”

Just say thanks.


azureus ate my memory

Posted: November 25th, 2009 | Author: | Filed under: howto, idiots | Tags: , , , , | No Comments »

I use Azureus (called Vuze from a while) for the same reason as you do. :)
I dislike uTorrent, the lighter bittorrent client, maybe because azureus gives me more control.

Sometimes, I must use an old laptop with only 512MB RAM. And, here comes the trouble.
If I start Firefox and azureus, all my RAM is gone.
Looking on internet using Mr. Google’s search engine I found this:

“C:\Program Files\Vuze\Azureus.exe” -J-Xmx64m

Create a new shortcut, paste the above and use it.
Give it a try!


Trac 0.11 – Fix Clearsilver dependency

Posted: November 20th, 2009 | Author: | Filed under: howto, idiots, linux | Tags: , , , | No Comments »

If you get the following message:

You're using a plugin which requires the Clearsilver template engine
and Clearsilver is not installed. Either disable that plugin or install Clearsilver.

But, you have compiled and installed latest clearsilver from sources and copied neo_cgi.so to site-packages, and still not working, here is what to you have to do.

For this environment was tested: Linux opensuse 11.1 and centos 5.2, Trac 0.11 with python 2.4 or 2.6, TracDownloader and/or TracWikiToPdfPlugin installed.

Search for clearsilver-*.egg in site-packages and move to another directory.

My clearsilver package name was: clearsilver-0.10.1-py2.6-linux-i686.egg
Restart apache.

Enjoy and say thanks if this solved your problem.


RewriteRules for special characters

Posted: November 18th, 2009 | Author: | Filed under: fun, howto, idiots, linux | Tags: , , , | No Comments »

Let’s say you have to write RewriteRules for special characters (East Asian Languages in this example, but, it should work for any other).

Link that you want to work: http://domain.tls/리눅스
Destination http://domain.tld/linux

First you must convert/encode (I used http://people.w3.org/rishida/scripts/uniview/conversion.php)
리눅스 is converted to %EB%A6%AC%EB%88%85%EC%8A%A4
You can get this from your access.log file of your server if you access it.
Now, you have to escape the % to match the regexp. Replace % with \x:
\xEB\xA6\xAC\xEB\x88\x85\xEC\x8A\xA4

RewriteEngine On #add it in case it was not added above
ewriteCond %{HTTP_HOST} domain.tld
RewriteRule ^/\xEB\xA6\xAC\xEB\x88\x85\xEC\x8A\xA4$ http://http://domain.tld/linux

Save.
Restart or reload.
mod_rewrite should be loaded.
Test!
Debug: read /var/log/httpd/error.log and access.log (or corresponding error/access log file for the vhost you want the rule to be added.