Archive for April, 2008

windows xp with sp3… waff

Hmmm… I have just installed sp3 for windows xp, (in PL and EN version)… because of test purposes, I made it at vmware virtual machine (at clean install)

sp3 view

so the thoughts:

  • no visual changes (maybe just in properiences in “my computer” :) )
  • no performance improvements (hard to test in virtual machine environment, but in a few days I’ll test it at some laptop or PC and make a comment)
  • instalation is rather simple, and with no complications only one reboot is needed (it is a 3 times better than vista SP1 :twisted:)
  • I’m going to test NAP, because it is the most interesting thing which was implemented in SP3…

so… see you in the future :)

Tags: , , ,

Tuesday, April 29th, 2008 Tips, considers, windows No Comments

gg servers status part 4

New version of GG server status has been published.

I’ve implemented a every day checking of whole GG class. It is done by another server (I do not want to get ban or sth from GG S.A. :) ) at about 2:00 AM (the time when there is no big traffic at GG servers, but they works :) ).

You can find the new version here (the same address at previous)

Tags: , ,

Wednesday, April 16th, 2008 Tips, considers 1 Comment

cribs… first some SNAT script

What is SNAT:

Process of network address translation done in a secure way (also known as source network address translation or SNAT for short). This process involves re-writing the source and/or destination addresses of IP packets as they pass through a router or firewall.

very simple bash script to SNAT to common use (with no fireworks :))

#! /bin/bash
# Marcin Rybak
#
# External IP (from WAN side)
EXTIP=”xxx.xxx.xxx.xxx”

# External iface
EXTIF=”eth0″

# Local network to SNAT”
INT_NET=”192.168.0.0/24″

# Path to IPTABLES (check if in your system is the same)
IPTABLES=”/usr/sbin/iptables”

echo “[+] Enabling ip forwarding”
echo “1″ > /proc/sys/net/ipv4/ip_forward

echo “[+] Cleaning existing tables”
$IPTABLES -t nat -F POSTROUTING
$IPTABLES -t nat -F PREROUTING
$IPTABLES -F FORWARD
$IPTABLES -P FORWARD ACCEPT

echo “[+] Turning on SNAT”
$IPTABLES -A POSTROUTING -t nat -s $INT_NET -j SNAT –to $EXTIP
echo “[+] I think it’s DONE”

Tags: , , ,

Thursday, April 10th, 2008 Linux, Tips, cribs No Comments

can I mix a chipkill and non-chipkill

Totday my client asked me about mixing memory with chipkill and non-chipkill in the IBM System X 3650. First, you have to know, what is chipkill:

IBM Servers

In computer memory systems, Chipkill is IBM’s trademark for a form of advanced Error Checking and Correcting (ECC) computer memory technology that protects computer memory systems from any single memory chip failure as well as multi-bit errors from any portion of a single memory chip. It performs this function by scattering the bits of an ECC word across multiple memory chips, such that the failure of any one memory chip will affect only one ECC bit. This allows memory contents to be reconstructed despite the complete failure of one chip. The equivalent system from Sun Microsystems is called Extended ECC. The equivalent system from HP is called Chipspare.

Chipkill is frequently combined with dynamic bit-steering, so that if a chip fails (or has exceeded a threshold of bit errors), another, spare, memory chip is used to replace the failed chip. The concept is similar to that of RAID, which protects against disk failure, except that now the concept is applied to individual memory chips. The technology was developed by the IBM Corporation in the early and middle 1990s. An important RAS feature, Chipkill technology is deployed primarily on SSDs, mainframes and midrange Unix or Linux servers.

I looked up in IBM doc’s and the answer is (referfing to: IBM SystemX x3655 sales guide):

If Chipkill-enabled and non-Chipkill memory is used in the same system, Chipkill protection is disabled for all DIMMs.

Tags: , , , , ,

Wednesday, April 9th, 2008 IBM, Tips, considers 2 Comments

client denied by server configuration

Today I got sth like this after configuring a vhost, it was stragne, because I didn’t noticed anything like that before (I have about 10 vhosts more, and the problem was only with this one).

/var/log/httpd/error_log

[Mon Apr 07 14:53:42 2008] [error] [client 192.168.0.68] client denied by server configuration: /home/users/dumie/file.txt

The information from browser was “access denied”. First I was thinking about privilages, but even chmod 777 to whole path didn’t work. The only difference was that this vhost pointed to homedir not to special directory made for www users.

After checking documentation the solution was adding a

<directory /home/users/dumie>
allow from all
</directory>

into the <VirtualHost> </VirtualHost> section

Monday, April 7th, 2008 Uncategorized 9 Comments

soooorrryyyy for everyone

I have just deleted every comments you’ve made… sorry for this :) It was made just before the backup so…

Next time I’ll be more carefull :)

Tags:

Sunday, April 6th, 2008 Personal No Comments

why emerge -pv world does not upgrade everything

Today my friend showed me an glsa-check tool. I was mixed because there was a package not listed at my almost every day duty ‘emerge -pv world’ (to check what needs upgrade). I do some research and:

# cat /var/lib/portage/world |wc -l
107
# epm -qa |wc -l
366

so there is a difference, but it is not bad, but… I tried to:

# regenworld
add to world: dev-lang/perl
add to world: sys-apps/debianutils
add to world: dev-libs/libxml2

nothing new…
finally guys from #gentoo.pl gave me a tip to use ‘emerge -pvuD world’, and that is my new everyday duty :)

Tags: , ,

Saturday, April 5th, 2008 Linux, Tips No Comments

what is package coloring :)

After upgrade some packages in pld i got sth like this:

Retrieving ac-updates-security::pdksh-5.2.14-46.i686.rpm…
………………………… 100.0% [231.7K (231.7K/s)]
error: pdksh-5.2.14-46.i686 package color (0) is not equal to pdksh-5.2.14-46.i686.rpm’s one (1)
There were package coloring mismatches. Proceed? [N/y]

WTF is this? (It is my fav question in case of any problem :P)

google, as usually was my best friend!

So… package coloring has been made for double architecure systems (in RPM). Packages and files are colored in case of architecture they are made for. Dependencies are checked in field of the same color.

Why in single architecture system I got this error? Because it is has two different (i686 and… noarch :) )

More information can be found here .

Tags: , ,

Saturday, April 5th, 2008 Linux, Tips No Comments