Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(13) Permission denied: mod_mime_magic: can't read

Status
Not open for further replies.

kwatts59

Programmer
Oct 1, 2010
2
US
I was getting the following errors in my error log file:

mod_mime_magic: can't read `/var/ referer: (13)Permission denied: exec of '/var/ failed, referer: Premature end of script headers: testprogram, referer:
The problem is the security of SELinux is preventing mod_mime_magic access to the testprogram.

This happens when context of the program (in this case testprogram) does not match the directory.
To change to the appropriate context, use the UNIX command "chcon".

See the following website for more details:

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top