Archive for February 2010

[gentoo] 排除舊的 lib 相容問題

 * Messages for package sys-devel/libtool-2.2.6b:

 * Old versions of installed libraries were detected on your system.
 * In order to avoid breaking packages that depend on these old libs,
 * the libraries are not being removed.  You need to run revdep-rebuild
 * in order to remove these old dependencies.  If you do not have this
 * helper program, simply emerge the 'gentoolkit' package.
 *
 *   # revdep-rebuild --library libltdl.so.3
 *
 * Once you've finished running revdep-rebuild, it should be safe to
 * delete the old libraries.  Here is a copy & paste for the lazy:
 *   # rm '/usr/lib64/libltdl.so.3'

下了 revdep-rebuild –library libltdl.so.3 會

 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries using libltdl.so.3
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Checking dynamic linking
[ 55% ]  *   found /usr/lib64/apache2/modules/libphp5.so
[ 80% ]  *   found /usr/lib64/php5/bin/php
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/apache2/modules/libphp5.so -> dev-lang/php
 *   /usr/lib64/php5/bin/php -> dev-lang/php
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot  dev-lang/php:5
..........

好炫的耳機

常下的查網路狀態的指令 Analyzing network traffic

tcpdump -nn -i eth1 -c 10000 port 9000 | awk '{print $5}' | cut -d. -f1-4 | sort | uniq -c | sort -n

tcpdump -nn -e -i eth1 port 9000

arping -I eth1 172.25.1.131

Protected: 2010.0204 一團混亂 … 迷霧解開

This post is password protected. To view it please enter your password below:


Protected: sqlrelay server install steps

This post is password protected. To view it please enter your password below:


iscsi 練習