AIX 환경에서 유용한 것들

2010.05.11 11:19

조인상 조회 수:28228

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


* AIX 에서 패키지 설치할때
# inutoc .
# installp -aXgd . all



* AIX 패치 버전 확인
oslevel -r



* AIX cpu 비트확인
bootinfo -y (가능한 비트)
bootinfo -K (현재 비트)



* AIX 설치패키지 확인
lslpp -l



* AIX 에서 gcc 설치하기
- gmake 설치
- gcc rpm 으로 설치



* AIX 4.3.3 에서 gcc 설치
- gcc 2.95.0 으로설치
- bos.adt.include 도 설치

* AIX 에서 컴파일시 library libm not found 메세지 나올때
- bos.adt.libm 설치하기 (aix 5.1)
- smit 에서 소프트웨어 설치로 1번씨디

* gcc: installation problem, cannot exec `as': A file or directory in the path name does not exist.  라는 에러 메세지 나올때
- bos.adt.base 설치



* ld: 0706-003 Cannot find or read import file: /lib/syscalls.exp    라는 에러 메세지 나올때
- bos.adt.syscalls 를 설치할것



* 아무튼 bos.adt.* 다 설치하는게 좋다.



* AIX 5.2 에서 gcc 버그 (?)
[Bug c/13532] Parse error with pthread.h on AIX 5.2 with gcc 3.3.2
- AIX 5.2 에서는 gcc 2.95.0 으로 할것


* AIX gcc 깔때 ibm 홈페이지에서 받은 rpm 으로 깔면됨.



* AIX 에서 CPU 정보 아는법
# lsdev -Cc processor
# lsattr -El proc0



* AIX 에서 전체메모리
- vmstat 로 구하자


* AIX 에서
exec(): 0509-036 Cannot load program gcc because of the following errors:
        0509-150  Dependent module libintl.a(shr.o) could not be loaded.
        0509-022 Cannot load module libintl.a(shr.o).
        0509-026 System error: A file or directory in the path name does not exist.
- gettext 설치할것



* AIX 에서 32/64bit 전환하기
64-bit 모드로 바꾸기
-------------------
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -r


32-bit 모드로 바꾸기
-------------------
# ln -sf /usr/lib/boot/unix_mp /unix
# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -r




* AIX 에서 full 났을때 파일찾기
- find /var -mtime 1 -ls | sort -n +6 -7 -r




* Xm.h 파일(libXm.a) 없을때

- X11.motif.lib 패키지 설치



출처 : http://blog.naver.com/hankawiii?Redirect=Log&logNo=90000125900
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 108818
51 dump device 설정 조인상 2010.05.11 14982
50 VMM memory tuning 방법. 조인상 2010.05.11 14911
49 IBM p시리즈에 ess800 볼륨 멀티패스로 붙이기 file 조인상 2010.05.11 14891
48 아답터 hot plug(hot swap) 방법 조인상 2010.05.11 14834
47 Log device 에 관한 에러와 수정하는 방법 조인상 2010.05.11 14832
46 IBM Total Storage DS4000 시리즈 매뉴얼 file 조인상 2010.05.11 14791
45 NFS를 이용한 백업스크립트 조인상 2010.05.11 14731
44 패스워드 변경된 시간이나 타임을 로그로 쌓아주는거 없나요? 조인상 2010.05.11 14719
43 cde 로그인 문제시 조인상 2010.05.11 14582
42 AIX 5L V5.3 TL5 부터 제공되는 보안 설정 조인상 2011.04.21 14569
41 root 패스워드 잊어 버렸을때 지우는 방법 조인상 2010.05.11 14568
40 default gateway odm에서 정보 삭제하는 방법 조인상 2010.05.11 14422
39 서버 TCP/IP 네트워크 성능테스트에 사용할 수 있는 명령어 조인상 2010.05.11 14296
38 Remote Tape Drive Backup 조인상 2010.05.11 14202
37 Power5 Hardware Information Reference Code file 조인상 2010.11.10 14164
36 FastT600 어레이 구성방법 메뉴얼 file 조인상 2010.05.11 14072
35 pSeries_Family_Nutshell - 20060907 file 조인상 2010.05.11 14050
34 IBM Power Systems Facts and Features 200907 file 조인상 2010.11.17 14014
33 시간 동기화시키기 조인상 2010.05.11 13969
32 gcc 4.11 다운 받는곳 조인상 2010.05.11 13920
서버에 요청 중입니다. 잠시만 기다려 주십시오...