install.sh を介した McAfee Agent の手動インストールは、エラーで失敗します。
この問題は、
install.sh を
winscp/filezilla ツールを使用してコピーし、転送タイプの
Binary を選択した後に発生します。
コマンドを実行すると、以下のエラーが表示されます。
[root@SGPRGC101433 tmp]# sudo bash -x ./install.sh -i > logs.out:
+ dest=/tmp/RelayServer.ini
+ PATH=/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
++ uname
+ platform=Linux
+ '[' Linux '!=' Linux ']'
+ '[' -f /etc/redhat-release ']'
++ cat /etc/redhat-release
++ cut '-d ' -f1
+ LINUX_DIST=CentOS
+ '[' xMcAfee == xCentOS ']'
+ umask 022
+ command=./install.sh
...
+ '[' 89356128 -gt 11596890112 ']'
+ echo 'extracting archive to /tmp/mfeard5Hv... please wait'
++ awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' ./install.sh
+ SKIP=1002
+ tail -n +1002 ./install.sh
++ expr 94060 / 512
+ nblocks=183
...
+ which unzip
+ returncode=1
+ '[' 1 -eq 0 ']'
+ echo 'Warning: Agent installation needs unzip utility. Please install unzip utility'
+ exit 1
[root@SGPRGC101433 tmp]#