Apache HTTPD cannot create temp file for here-document: No such file or directory

Solution Verified - Updated -

Issue

After Apache HTTPD is running for some time, I start seeing this message in httpd error_log:

[Mon Apr 04 09:50:30 2016] [cgi:error] [pid 12345] [client 192.168.1.1:12345] AH01215: /var/www/cgi-bin/test.cgi: line 4: cannot create temp file for here-document: No such file or directory

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.