Closed Tas-sos closed 3 years ago
perl: bad interpreter: No such file or directory
When I run this script in my CentOS 7 system, I had the following error :
/usr/lib64/nagios/plugins/check_updates -h -bash: /usr/lib64/nagios/plugins/check_updates: perl: bad interpreter: No such file or directory
I had to run it as follows to avoid the above error:
perl check_updates -h
Please check the INSTALL file and run
perl Makefile.pl make
The script in blib/script/check_updates will contain the correct shebang for your system.
blib/script/check_updates
Fixes :
perl: bad interpreter: No such file or directory
When I run this script in my CentOS 7 system, I had the following error :
I had to run it as follows to avoid the above error:
Proposed Changes