LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2011, 03:22 PM   #1
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Warning: Unknown: open(/tmp/sess_xxxxxxxxxx, O_RDWR) failed: Permission ...


Hi all,

Recently I am getting this message from time to time when loading a php page.

Code:
Warning: Unknown: open(/tmp/sess_xxxxxxxxxxxx, O_RDWR) failed: Permission denied (13) in Unknown on line 0
I don't know at what stage of changing the php script this issue was introduced.
And to be honest, I would think it is not related to the php script.

Anyone got this error or can point me out what is going wrong?

I didn't do any OS update.

I have used google but could not come up with a solution.

Thanks in advance
 
Old 07-30-2011, 04:00 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you have space in your /tmp directory? Also, what permissions is your /tmp area mounted with?
 
Old 07-30-2011, 08:16 PM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Original Poster
Rep: Reputation: 79
Quote:
Originally Posted by gilead View Post
Do you have space in your /tmp directory? Also, what permissions is your /tmp area mounted with?
I do have space:
Code:
df -h /tmp
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1e    496M     22K    456M     0%    /tmp
Permissions:
Code:
ls -ldh /tmp/
drwxrwxrwt  9 root  wheel   1.0K Jul 31 03:04 /tmp/
Note that I am not always getting this message.
I am using jquery to refresh a div tag.
So each 10 seconds the contents get reloaded.
I get this message frequently.
 
Old 07-31-2011, 07:08 AM   #4
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Original Poster
Rep: Reputation: 79
I just noticed I am experiencing this issue with phpMyAdmin as well.
 
Old 08-02-2011, 03:01 AM   #5
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Original Poster
Rep: Reputation: 79
I have rebooted the server and the issue seems to have gone away. :s
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ISO Master warning: failed to open config file for reading, trying to create Aquarius_Girl Linux - Software 1 01-11-2011 01:36 AM
(process:280): GLib-WARNING **:getpwuid_r():failed due to unknown userid(0) cre84j Linux - Security 7 11-05-2010 06:42 PM
[SOLVED] Apache 2 Warning: Unknown: failed to open stream: Permission denied madsovenielsen Linux - Server 2 06-14-2010 11:04 AM
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 migabriel.84 Linux - Server 1 11-25-2009 03:36 PM
move_uploaded_file failed to open stream: Permission denied zawmn83 Linux - Server 3 05-04-2009 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration