[VNIX] 설치 과정에서 'perl: command not found' 오류가 발생합니다.
1. 개요
V3 Net for Linux Server 설치 과정에서 아래의 화면과 같이 'perl: command not found' 메시지가 발생하며 정상적으로 설치가 되지 않는 증상입니다.
[root@test v3net]# ./install.sh
V3 Net for Linux Server Installation
Installation Path(default: /usr/local/v3net):
HTTP Port (default: 80):
Company: test
User Name: test
Select Language (1:Korean, 2:English, 3:Simplified Chinese): 1
Product No.(example: 12345678-12345678): 12345678-12345678
./install.sh: line 178: perl: command not found
./install.sh: line 179: perl: command not found
./install.sh: line 180: perl: command not found
Interoperate with AhnLab Policy Center?(y/n): n
................................................................................
........../install.sh: line 283: perl: command not found
./install.sh: line 284: perl: command not found
./install.sh: line 285: perl: command not found
./install.sh: line 286: perl: command not found
./install.sh: line 287: perl: command not found
Installation completed.
Installation Path: /usr/local/v3net
HTTP Port: 80
Company: test
UserName: test
./install.sh: line 300: perl: command not found
Language : Korean
2. 원인
V3 Net for Linux Server 설치 스크립트는 Perl 을 사용합니다. 따라서, 아래의 상황에서 해당 오류 메시지가 발생합니다.
1) Perl이 설치되어 있지 않을 경우 오류가 발생합니다.
2) Perl이 설치되어 있어도 PATH 환경변수에 설정되어 있지 않을 경우 오류가 발생합니다.
3. 조치 방법
1) (Perl이 설치되어 있지 않을 경우) yum 등 패키지 설치 도구를 사용하여 Perl 을 설치합니다.
2) (PATH에 없는 경우) find / -name perl -print 명령어로 Perl 경로를 확인하여 PATH에 등록합니다.