System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

error: Execute permission denied.

 
SOLVED
Go to solution
David Willams
Super Advisor

error: Execute permission denied.

/opt/ignite/bin print_manifest
sh: /opt/ignite/bin: Execute permission denied.
7 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: error: Execute permission denied.

You missed a '/'.

If you are trying to provide the full path to the command you should run:

/opt/ignite/bin/print_manifest
David Willams
Super Advisor

Re: error: Execute permission denied.

This gives me the complete output but I have
a NOTE there :-

# /opt/ignite/bin/print_manifest

NOTE: Could not read the /etc/resolv.conf file.

#cat /etc/resolv.conf
cat: Cannot open /etc/resolv.conf: No such file or directory


This file does not exist... does it mean anything
James R. Ferguson
Acclaimed Contributor

Re: error: Execute permission denied.

Hi David:

The error means exactly what it says. You can't execute a directory and that's what '/opt/ignite/bin' is.

Regards!

...JRF...
David Willams
Super Advisor

Re: error: Execute permission denied.

This gives me the complete output but I have
a NOTE there :-

# /opt/ignite/bin/print_manifest

NOTE: Could not read the /etc/resolv.conf file.

#cat /etc/resolv.conf
cat: Cannot open /etc/resolv.conf: No such file or directory


This file does not exist... does it mean anything
James R. Ferguson
Acclaimed Contributor

Re: error: Execute permission denied.

Hi (again) David:

> cat /etc/resolv.conf
cat: Cannot open /etc/resolv.conf: No such file or directory

This means that you are not running DNS for Name-to-IPaddress translation.

Regards!

...JRF...
David Willams
Super Advisor

Re: error: Execute permission denied.

thanks
Don Morris_1
Honored Contributor

Re: error: Execute permission denied.

Well, assuming based on your prompt that you're root [and should be able to read such a file] it likely means that either no one configured DNS on the system or you/someone deleted the file.

What that means is best covered by the man page `man resolv.conf` (aliases to `man 4 resolver` on my system).