Archive for January, 2010

mysql: Incorrect information in file:

January 30, 2010

Incorrect information in file /path/test.frm This indicates that skip-innodb is enabled in the my.cnf file ..

Posted in MySQL | Comments Off

IIS7 | Drupal install with fastcgi

January 24, 2010

OMG!!!! Ok that was out of the way. performing a Drupal install for the first time using IIS version 7 and windows 2k8 server. After entering the database information I was faced with a 500 error message that gave me a lot of information. SIKE The 500 error gave me nothing at all, did not [...]

Posted in Windows | Comments Off

sQL: SQL 2000 truncate logs using DBCC

January 22, 2010

DBCC statememnts act as Database Console commands. You can use the below listed queries, sprcifically the DBCC ones to shrink your transaction log. – To GET the name of the log and data files select name from dbo.sysfiles – SEE the active transactions as well as the File ID dbcc loginfo(‘db_Name’) – Mark transactions inactive [...]

Posted in SQL | Comments Off

PHP/IIS7 – IIS to return a 502 Bad Gateway

January 16, 2010

php-cgi.exe does work on IIS7. You need to modify PHP.INI to have the line: cgi.force_redirect = 0 If you do not do this modification, PHP-CGI.EXE outputs a security warning response without proper response headers, which causes IIS to return a 502 Bad Gateway. Strangely, running PHP-CGI.EXE from the commandline does not generate this error – [...]

Posted in PHP, Windows | Comments Off

Malware toolkit | browser redirects

January 13, 2010

I must say this Malware is getting out of control. Recently I had the pleasure of working on a system that got infected. Now I thought this would be a 30min job tops. But it ended up being 2 days worth of work. I brought in the usual fellas (hijackthis, superantispyware, malwarebytes, AVG, Avast, Windows [...]

Posted in Windows | Comments Off