Archive

Archive for the ‘web::Problem’ Category

Flex컴파일시 css type selector warnings 메세지 제거하기

October 8th, 2008

다음과 같이 컴파일 옵션을 지정한다.
showunused-type-selector-warnings=false

sugo web::Problem ,

[vsftpd] 500 OOPS: cannot change directory

August 19th, 2008

vsftpd설치후 클라이언트에서 접속시 다음과 같은 오류 발생
500 OOPS: cannot change directory:/home/*******
500 OOPS: child died

FTP접속시 디렉토리 접근을 할수 있도록 한다.
setsebool ftpd_disable_trans 1
service vsftpd restart

sugo web::Problem

[Oracle] 서버 인코딩(문자셑) 변경하기

August 19th, 2008

개발용으로 받은 오라클 dmp파일의 인코딩이 KO16KSC5601로 되어 있고, imp할 대상 서버의 인코딩은 WE8ISO8859P15 .. 웩 -ㅠ-
하루종일 뒤진결과 다음과 같이 간단하게 변경이 가능하다 (-_-)b 굳ㅋ

1. 오라클 데이터베이스 관리자로 접속하여 NLS_CHARACTERSET, NCHARCHARACTERSET에 한국어를 지원하도록 파라미터의 속성값을 KO16KSC5601로 변경

[문자셋 변경]
SQL> update sys.props$ set value$=’KO16KSC5601’ where name=’NLS_CHARACTERSET’;
1 row updated.

SQL> update sys.props$ set value$=’KO16KSC5601’ where name=’NLS_NCHAR_CHARACTERSET’;
1 row updated.

[언어셋 변경]
SQL> update sys.props$ set value$=’AMERICAN_AMERICA.KO16KSC5601’ where name=’NLS_LANGUAGE’;
1 row updated.

[변경사항 저장 및 데이터베이스 재연동]
SQL> commit;
Commit complete.

[오라클 재시작]
SQL> shutdown
Database closed.
Database dismounted.
Oracle instance shut down.

SQL>startup
ORACLE instance started.
Total System Global Area 235999352 bytes

Fixed Size 450680 bytes
Variable Size 201326592 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.

[변경사항 확인]
SQL> select * from v$nls_parameters;

2. 문자셋과 마찬가지로 오라클 데이터베이스 관리자로 접속하여 NLS_LANGUAGE 파라미터의 속성값을 AMERICAN_AMERICA.KO16KSC5601로 변경
오라클을 설치할 때 지정해 주었던 .bash_profile 파일에서 Oracle 언어 환경변수를 다음과 같이 변경해 준다.

export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601



아 덥다-_-;;

sugo web::Problem