Saturday, March 6, 2010

Roll Back Windows Patch - KB


On a Windows box, regulary we should patch and update, on any box, on any operating system updates are important.


But what if after a patch or KB.exe on your pc/server you receive a "blue screen" error?


There is a way of "rolling-back"!
1. Boot from your Windows XP CD or DVD and start the recovery console.
Once you are in the Repair Screen..
2. Type this command: CHDIR $NtUninstallKB977165$\spuninst
3. Type this command: BATCH spuninst.txt
4. Type this command: systemroot
5. When complete, type this command: exit


This should do it.



Tuesday, March 2, 2010

Problem with Squid - signal 6

Squid-cache on a linux machine, was crashing repeatedly with the error:
$ exited due to signal 6

After lots of logs reading and net hunting i found out that this error was corrected on a newer version of squid.

The error was on the following version:
Squid Cache: Version 2.5.STABLE6

I upgraded to:
Squid Cache: Version 2.5.STABLE11
So i upgraded and .... no more crashes.

Some tips and commands that helped on troubleshooting:
Read squid logs:
 - /var/log/squid
     - cache.log


Verify squid cache directory:
- /var/spool/squid

Verify message logging:
 - /var/log/messages

Commands:
to rebuild cache:  squid -z

to start with debug: squid -d 3 -F -N -X
-d 3  --- more debug level
-F     --- don't service any request until cache is rebuild
-N    --- no daemon level
-X     --- force full debug