#質問
Ansibleでパッチインストールを実行したときに、下記出力結果のように「\b\b\b\b・・・」がたくさん出力されます。これはどのような時に出力されるのでしょうか?また、出力されないようにできるのでしょうか?
※「\b\b\b\b・・・」が大量に出力されているのでところどころ省略しています。
#出力結果[Ansible実行]
TASK [SplxPatch : install patch8] ********************************************************************************************** fatal: [node01]: FAILED! => {"changed": true, "cmd": "./splx_30_lx_en_sp1_patch8.bin", "delta": "0:00:30.775543", "end": "2020-11-09 18:52:21.796208", "msg": "command exceeded timeout", "rc": null, "start": "2020-11-09 18:51:51.020665", "stdout": "Installing ServerProtect for Linux 3.0 Service Pack 1 patch 8:\r\nPatch 8 must remove the previous SPLX 3.0 Patch RPM information from the RPM Database to avoid inconsistencies if a rollback is required.\r\nThe removed RPM information will be stored in /opt/TrendMicro/SProtectLinux/Version.ini .\r\nFor more detailed information, please refer to the patch readme file.\r\nDo you want to continue and remove the previous RPM information? (yes or no) \r\nUnpacking...\r\nInstalling rpm file...\r\n準備しています... (100%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b# ・・・省略・・・ (100%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b## ・・・省略・・・####### [100%]\r\n更新中 / インストール中...\r\n 1:splx-3.0-sp1-patch8-1.0-1575 ( 2%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b# ( 55%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b################### ( 99%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b################################# [100%]\r\nShutting down ServerProtect for Linux:\r\nShutting down splxcore:\r\nShutting down vsapiapp\u001b[60G[\u001b[0;31mFAILED\u001b[0;39m]\r\r\nUnloading splx kernel module:\u001b[60G[\u001b[0;31mFAILED\u001b[0;39m]\r\r\nShutting down entity: \u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]\r\r\n\u001b[0;32mServerProtect for Linux core stopped normally.\r\n\u001b[0;39m\u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]\r\r\nShutting down splxhttpd:\r\nShutting down splxhttpd: \u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]\r\r\n\u001b[0;32mServerProtect for Linux httpd stopped normally.\r\n\u001b[0;39m\u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]\r\r\n\u001b[0;32mServerProtect for Linux stopped normally.\r\n\u001b[0;39m", "stdout_lines": ["Installing ServerProtect for Linux 3.0 Service Pack 1 patch 8:", "Patch 8 must remove the previous SPLX 3.0 Patch RPM information from the RPM Database to avoid inconsistencies if a rollback is required.", "The removed RPM information will be stored in /opt/TrendMicro/SProtectLinux/Version.ini .", "For more detailed information, please refer to the patch readme file.", "Do you want to continue and remove the previous RPM information? (yes or no) ", "Unpacking...", "Installing rpm file...", "準備しています... (100%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b#(100%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b###(100%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b################################# [100%]", "更新中 / インストール中...", " 1:splx-3.0-sp1-patch8-1.0-1575 ( 2%)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b# ( 99%)################################ [100%]", "Shutting down ServerProtect for Linux:", "Shutting down splxcore:", "Shutting down vsapiapp\u001b[60G[\u001b[0;31mFAILED\u001b[0;39m]", "", "Unloading splx kernel module:\u001b[60G[\u001b[0;31mFAILED\u001b[0;39m]", "", "Shutting down entity: \u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]", "", "\u001b[0;32mServerProtect for Linux core stopped normally.", "\u001b[0;39m\u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]", "", "Shutting down splxhttpd:", "Shutting down splxhttpd: \u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]", "", "\u001b[0;32mServerProtect for Linux httpd stopped normally.", "\u001b[0;39m\u001b[60G[ \u001b[0;32mOK\u001b[0;39m ]", "", "\u001b[0;32mServerProtect for Linux stopped normally.", "\u001b[0;39m"]}
#出力結果[手動実行]
[root@node02 splx]# /etc/init.d/splx restart Shutting down ServerProtect for Linux: Shutting down splxcore: Shutting down vsapiapp [FAILED] Unloading splx kernel module: [FAILED] Shutting down entity: [ OK ] ServerProtect for Linux core stopped normally. [ OK ] Shutting down splxhttpd: Shutting down splxhttpd: [ OK ] ServerProtect for Linux httpd stopped normally. [ OK ] ServerProtect for Linux stopped normally. Starting ServerProtect for Linux: Checking configuration file: There is an error in configuration file. Can't read value "Scan|MoveToWhiteList". Type man tmsplx.xml for more information. [FAILED] [root@node02 splx]#
#コード
- name: install patch8 expect: command: ./splx_30_lx_en_sp1_patch8.bin responses: "Do you want to continue and remove the previous RPM information*": "y" args: chdir: /tmp/splx
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/01/22 04:41