오늘 한일~

iptable 적용 : 웹서버와 메일서버
yum 업데이트 : 파일서버에...

Feb 17 12:40:27 manager kernel: Assertion failure in journal_write_metadata_buffer() at journal.c:406: "buffer_jdirty(jh2bh(jh_in))"
Feb 17 12:40:27 manager kernel: ------------[ cut here ]------------
Feb 17 12:40:27 manager kernel: kernel BUG at journal.c:406!
Feb 17 12:40:27 manager kernel: invalid operand: 0000
Feb 17 12:40:27 manager kernel: nfsd lockd sunrpc binfmt_misc autofs acenic ext3 jbd usb-ohci usbcore qla2300
Feb 17 12:40:27 manager kernel: CPU:    1
Feb 17 12:40:27 manager kernel: EIP:    0010:[]    Not tainted
Feb 17 12:40:27 manager kernel: EFLAGS: 00010282
Feb 17 12:40:27 manager kernel:
Feb 17 12:40:27 manager kernel: EIP is at journal_write_metadata_buffer [jbd] 0x74 (2.4.18-3custom)
Feb 17 12:40:27 manager kernel: eax: 0000001d   ebx: 00000000   ecx: c02f5320   edx: 00003ed6
Feb 17 12:40:27 manager kernel: esi: 00000000   edi: f6a330a0   ebp: c52a13a0   esp: f6c3fe44
Feb 17 12:40:27 manager kernel: ds: 0018   es: 0018   ss: 0018
Feb 17 12:40:27 manager kernel: Process kjournald (pid: 178, stackpage=f6c3f000)
Feb 17 12:40:27 manager kernel: Stack: f8930ea1 00000196 0000032e f774da00 00000000 00000000 d92857f0 00000000
Feb 17 12:40:27 manager kernel:        f6a330a0 c52a13a0 f8929dc4 f6a330a0 d92857f0 f6c3fe98 00000576 c902482e
Feb 17 12:40:27 manager kernel:        00000000 00000f5c caab40a4 00000012 f6a330a0 d1492e50 00000576 f6b50560
Feb 17 12:40:27 manager kernel: Call Trace: [] .rodata.str1.1 [jbd] 0x4e1
Feb 17 12:40:27 manager kernel: [] journal_commit_transaction [jbd] 0x7e4
Feb 17 12:40:27 manager kernel: [] kjournald [jbd] 0x136
Feb 17 12:40:27 manager kernel: [] commit_timeout [jbd] 0x0
Feb 17 12:40:27 manager kernel: [] kernel_thread [kernel] 0x26
Feb 17 12:40:27 manager kernel: [] kjournald [jbd] 0x0
Feb 17 12:40:27 manager kernel:
Feb 17 12:40:27 manager kernel:
Feb 17 12:40:27 manager kernel: Code: 0f 0b 5e 5f 8b 7c 24 28 8b 4f 0c 85 c9 74 2e c7 44 24 0c 01
Feb 17 14:31:39 manager syslogd 1.4.1: restart.

Posted by hongiiv

2006/02/17 18:51 2006/02/17 18:51
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/47

rrdtool install :)

rrdtool 1.2.12 버전을 설치하는 황당한 메세지를 발견했다. 언제부터 있던건지 알 수는 없지만.. 인스톨 과정의 지루함을 한순간에 날려 버렸다.



config.status: executing default commands
checking in... and out again
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just kidding ;-)

----------------------------------------------------------------
Config is DONE!

        With MMAP IO: yes
        Perl Modules: perl_piped perl_shared
         Perl Binary: /usr/bin/perl
        Perl Version: 5.8.6
        Perl Options: PREFIX=/usr/rrdtool LIB=/usr/rrdtool/lib/perl/5.8.6
  Build Tcl Bindings: yes
Build Python Bindings: yes
        Build rrdcgi: yes
     Build librrd MT: yes


Type 'make' to compile the software and use 'make install' to
install everything to: /usr/rrdtool.

     ... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://people.ee.ethz.ch/oetiker/wish and
place an order.

                             -- Tobi Oetiker
----------------------------------------------------------------

Posted by hongiiv

2006/02/14 16:09 2006/02/14 16:09
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/46

script for loadleveler

=========================================================
for serial job (serial.cmd)
=========================================================

#!/bin/bash
# @ job_type = serial
# @ class = normal
# @ resources = ConsumableCpus(1)
# @ wall_clock_limit = 1:00:00
# @ output = serial.$(cluster).$(process).out
# @ error = serial.$(cluster).$process).err
# @ executable = serial
# @ queue

=========================================================
for parallel job (parallel.cmd)
=========================================================

#!/bin/bash
# @ job_type = parallel
# @ class = p_normal
# @ input = /dev/null
# @ step_name = parallel
# @ output = $(step_name).$(cluster).out
# @ error = $(step_name).$(cluster).err
# @ resources = ConsumableCpus(1)
# @ wall_clock_limit = 00:10:00
# @ node = 2
# @ tasks_per_node = 2
# @ queue

echo "----------------------------------------------------"
echo LOADL_STEP_ID=$LOADL_STEP_ID
echo "----------------------------------------------------"

ll_get_machine_list > /tmp/machinelist.$LOADL_SETP_ID
machine_count=`cat /tmp/machinelist.$LOADL_SETP_ID | wc -l`

echo $machine_count
echo MachineList:
cat /tmp/machinelist.$LOADL_SETP_ID
echo "----------------------------------------------------"

mpirun -np $machine_count -machinefile /tmp/machinelist.$LOADL_SETP_ID pi3
rm /tmp/machinelist.$LOADL_SETP_ID

=========================================================
script for compile ll_get_machine_list
=========================================================
# Export MODFLAGS & WORDSIZE if building for 64-bit POWER systems running Linux
export MODFLAGS=-m64
export WORDSIZE=64

# We assume that LoadLeveler has been installed at: /opt/ibmll/LoadL/full
BASEDIR=/optibmll/LoadL/full
CC=g++

${CC} ${MODFLAGS} -o ll_get_machine_list -I${BASEDIR}/include -L/usr/lib64 -L/usr/lib -lllapi ll_get_machine_list.c

Posted by hongiiv

2006/02/10 13:30 2006/02/10 13:30
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/45

새 노트북 thinkpad t42


my new notebook thinkpad t42
Originally uploaded by hongiiv.
후지쯔 노트북이 떠난지 거의 일년만에 다시 생긴 노트북 thinkpad t42 지금은 리눅스를 설치해서 쓰고 있다.

Posted by hongiiv

2006/01/11 20:22 2006/01/11 20:22
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/39

리눅스상에서 ms office


running ms powerpoint with crossover on linux
Originally uploaded by hongiiv.

crossover(wine을 사용)를 통해서 파워포인트를 설치하고 리눅스상에서 실행 시킨 화면 :)

Posted by hongiiv

2006/01/11 16:27 2006/01/11 16:27
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/38

linux screenshot


thinkpad t42 linux screenshot
Originally uploaded by hongiiv.

27노드 리눅스 클러스터의 모니터링툴인 ganglia와 pestat로 현재 클러스터의 job 상황을 모니터링하고 있다. :)

Posted by hongiiv

2006/01/10 13:16 2006/01/10 13:16
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/37

ibm keyboard


사진 005
Originally uploaded by hongiiv.

good~~

Posted by hongiiv

2005/12/29 13:29 2005/12/29 13:29
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/36

SUSE Linux Enterprise Server 9

사진 006


사진 004

Posted by hongiiv

2005/12/28 23:04 2005/12/28 23:04
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/35

Comparison of NFS vs. others

http://wiki.linux-nfs.org/index.php/Comparison_of_NFS_vs._others

어떤 놈을 써야 할지 아직도 모르겠단 말이지... :(

Posted by hongiiv

2005/12/26 20:25 2005/12/26 20:25
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/33

최종 랙구성 모습

앞줄에 HP 장비를 뒷쪽엔 IBM과 SUN 장비를 놓았다.


사진 329


사진 321

Posted by hongiiv

2005/12/23 16:25 2005/12/23 16:25
Response
No Trackback , 2 Comments
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/31

Send Log Messages to Your Jabber Client

Linux Server Hack Volume Two의 9장 로그와 모니터링의 84번 Hack `Send Log Messages to Your Jabber Client`

50개의 서로 다른 터미널 윈도우를 띄워 놓고 `tail -f -n 40 /var/log/message` 명령어로 휙휙 지나가는 로그를 본다는 것은 별로 생산성있는 일은 아닐 것이다.

여기서는 syslog filter를 이용하여 로그를 `/var/log/log-fifo`로 보내고 이것을 다시 Jabber client 프로그래밍을 통해 Jabber 메세지를 생성하여 메세지를 보내게 된다.


1) syslog configure(`/etc/syslog`)를 수정하여 자신이 원하는 log message를 `/var/log/log-fifo`로 보내도록 설정한다.
우선 생성되는 모든 메세지를 보내도록 설정해 놓는다. 자신이 원하는 로그만 보내도록 설정하면 된다.

*.*   /var/log/log-fifo

2) `mkfifo /var/log/log-fifo` 명령으로 log-fifo named pipe를 생성한다.

# mkfifo /var/log/log-fifo

3) syslog service를 재시작한다.

# service syslog restart

4) syslog의 output을 jabber message로 forwarding 하는 perl 프로그램을 실행한다. 이 perl 프로그램은 몇개의 perl module을 필요로 한다.

require perl modules
    Authen-SASL-2.09, Encode-2.00, Net-Jabber-2.0, Net-XMPP-1.0, XML-Stream-1.22

5) Jabber 계정을 생성하고 소스코드에서 Jabber 서버 및 계정 정보를 수정하고 프로그램을 실행한다.

#perl program-name

6) 아무곳이나 가서 Jabber Client를 로그인하여 메세지를 받아본다. :)


   

Posted by hongiiv

2005/12/23 09:56 2005/12/23 09:56
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/29

한번 쭉 읊어 볼까나?

1. 한글
2. msn
3. nate on
4. microsoft office
5. editplus
6. eclipse
7. altools
8. ssh secure shell client
9. mozilla thunderbird
10. mozilla firefox

이상 끝.

Posted by hongiiv

2005/12/21 12:16 2005/12/21 12:16
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/26

Automate backups on Linux

백업의 중요성은 더이상 말이 필요없다. 리눅스 서버 관리 Hacks 100(O'Reilly)에서도 심도 있게 다룬 내용이었는데, 비슷한 내용을 IBM DeveloperWorks에서도 보게 되었다.

Simple backup
Advanced backups
Secure remote access using public/private keys
Automating machine access using ssh-agent
Simplifying key access using keychain
Scripting backup process
Scheduling
Veriifying your backups
Additional security precautions
Conclusion
Resources

Posted by hongiiv

2005/12/18 20:46 2005/12/18 20:46
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/23

듀얼(랜 포트가 두개다) 랜카드가 들어와 버렸다.
설치 문서대로 하니 커널 버전이 맞지 않는다고 투덜대서 버전 체크하는 부분을 없애버리고 설치하니 잘 된다. ㅋㅋ :)

설치과정

1. 우선 커널 소스부터 준비한다.
2. make mrproper
3. make -e KERNELRELEASE=`uname -r` oldconfig
4. make -e KERNELRELEASE=`uname -r` dep
5. rpm -ivh e1000-.src.rpm
여기에서 추가로 소스코드 풀고 커널버전 체크하는 부분 주석처리하고 다시 압축해야 한다.
RedHat 7.3버전의 Kernel 2.4.18-3 이어야만 하는 상황 :(
6. rpmbuild -bb SPECS/e1000.spec
7. /etc/modules.conf

alias eth0 e1000
alias eth1 e1000
alias eth2 e1000

Posted by hongiiv

2005/12/13 11:17 2005/12/13 11:17
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/18

Optimizing NFS Performance

The Linux Documentation ProjectLinux NFS-HOWTO 문서의 5장에 NFS의 성능을 최적화 하는 방법이 나와있다.
LDP를 통해 보는 것보다 linux.com의 포맷이 더 마음에 들어 링크는 linux.com으로 연결해 놨다 :)

추가로 GFS와 NFS를 비교한 기사인데 Red Hat MagazineRedHat GFS vs. NFS: Imporving performance and scalability 별 내용은 없다. 참고하길... :)

이어지는 내용

Posted by hongiiv

2005/11/27 19:17 2005/11/27 19:17
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/11

놀고(?) 계신 웹 서버~

rrdtool 1.2로 무장한 ganglia로 cpu 모니터링 결과 놀고 있다. cpu 한개를 기준으로 ()안의 숫자는 4개일 경우
  • 1(4)을 전후로 하면 Good!!
  • 3(12?)이면 특정 하드웨어나 메모리 업그레이드 요!!
  • 6(24?)이면 시스템에 이상이 생길지도... sendmail의 경우 sendmail.cf에 "O RefuseLA=18" load가 18이상이면 커넥션 자체를 거부하기도 하고 커넥션은 되는데 메세지 퀴잉을 하지 않도록 된다. 그럼 우리 메일 서버 설정은 어떻게 되어있나 하면 주석으로 꽉 막아놨다. 시스템에 load가 많아져서 문제가 생기기라도 한다면... 그럴일 없다.
rrdtool 1.2 에 대한 내용은 이곳에서

ganglia의 load에 대한 legend
  • Red      Over 100% Utilization. Utilization is: (1 min load) / (number of CPUs) * 100%.
  • Orange    75-100%
  • Yellow    50-74%
  • Green    25-49%
  • Blue    0-24%
  • Crossbones    The node is dead. We consider a node dead when the reporting node has not heard from it in 60 sec.

Posted by hongiiv

2005/11/24 19:18 2005/11/24 19:18
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/5



야후 블로그 벳지


Site Stats

Total hits:
291973
Today:
143
Yesterday:
234