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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content