Permission issues, not able to run script as root
Make sure that your partition is not mounted with the noexec
flag (which - as the name suggests - prevents making any files executable)
Kindly make sure the permission and ownership for the script.sh file, also try
# chmod 755 script.sh # chown root.root script.sh
Thanks.