LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Solved] Failed to create temp file with mkstemp()

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-05-2011, 10:52 AM
sophrosyne sophrosyne is offline
Member
 
Join Date: Jul 2011
Location: Michigan
Posts: 15
Default [Solved] Failed to create temp file with mkstemp()

Trying to output a report using the Zend Pdf library throws this error in stderror log:

2011-09-05 13:20:35.444 [STDERR] Failed to create temp file with mkstemp(): Permission denied
2011-09-05 13:20:35.444 [STDERR] Failed to increase temp file size with ftrancate(): Bad file descriptor

This error in the error.log:

2011-09-05 13:45:25.228 [ERROR] [216.234.104.50:50982-0#APVH_207.32.184.195_example.com] Failed to initialize VMemBuf.
2011-09-05 13:45:25.228 [INFO] [216.234.104.50:50982-0#APVH_207.32.184.195_example.com] connection to [/tmp/lshttpd/APVH_demo.example.com_Suphp.sock.480] on request #0, confirmed, 1, associated process: 1011, running: 1, error: Illegal seek!
2011-09-05 13:45:25.228 [NOTICE] [216.234.104.50:50982-0#APVH_207.32.184.195_example.com] oops! 503 Service Unavailable
2011-09-05 13:45:25.228 [NOTICE] [216.234.104.50:50982-0#APVH_207.32.184.195_snowleotards.com] Content len: 74, Request line:
POST /catalog/index.php/admin/sales_order/pdfinvoices/key/e5b2f8a77e012d61aa38d36fef25f6fe/ HTTP/1.1

INFO:

Litespeed Web Server Enterprise v4.0.15

PHP 5.2.17 (cli) (built: Jun 13 2011 14:23:24)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.0.8, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

I checked permissions on /tmp and it's open to all rw. Suggestions on where to look?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:11 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.