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
서버에 요청 중입니다. 잠시만 기다려 주십시오...