Unable to execute log_collect.sh on CWPS Azure
search cancel

Unable to execute log_collect.sh on CWPS Azure

book

Article ID: 269115

calendar_today

Updated On:

Products

Cloud Workload Protection

Issue/Introduction

You attempted to upload and run log_collect.sh script for CWPS on Azure and the execution of the script failed with the exec format error. 

Error exec format error at line:1 char:1

Environment

Release : 1

Cause

log_collect.sh script was missing line #!/bin/sh

Resolution

If you experience exec format error please edit the script and add the line below as the first line in the script.

#!/bin/sh