Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member hostvision's Avatar
    Join Date
    Jul 2005
    Location
    Romania
    Posts
    9

    Angry session_start() [function.session-start]: open(, O_RDWR) failed: Permission denied

    Hello,

    I have 2 new server running with cpanel. One is PHP5.1.6 and one PHP4.4.4. An I get the same errors on both:

    Warning: session_start() [function.session-start]: open(/tmp/sess_18729d25863689e6676fe25b6942ae56, O_RDWR) failed: Permission denied (13) in /home/pnl/public_html/index.php on line 2

    ...
    ...
    What I find out is that once you start an session with one user (one website) and browse other website on the same server you get this error. The session php try to write is the same used for previous user and is own by previous user. Once you close the browser window and the session is destroyed the error is gone till browse other website on the same server.

    Thanks.
    Inregistrare Domenii & Gazduire Web
    http://www.hostvision.ro

  2. #2
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Hi,

    what is the value of session.save_path in php.ini and set the correct permission in it.

    This setting controls the location of server-side session cookies when your script uses PHP's session management functions


    Thanks,
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  3. #3
    Member hostvision's Avatar
    Join Date
    Jul 2005
    Location
    Romania
    Posts
    9

    Default

    Hi,

    I think is some kind of protection in apache. When I recive the error I used /~user/. I tried with domain name and everything is ok. Apache version is 1.3.37 on both servers.
    I'll monitor this issue for a while...
    Inregistrare Domenii & Gazduire Web
    http://www.hostvision.ro

  4. #4
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Hmmm might be... if any woraound, please share it !!!

    Thanks,

    Mitul S.
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  5. #5
    Member hostvision's Avatar
    Join Date
    Jul 2005
    Location
    Romania
    Posts
    9

    Lightbulb session_start() [function.session-start]: open(, O_RDWR) failed: Permission denied

    Hi,

    For the moment I solved the problem. I think is from Imap Module (Version 2004g) or Openssl Support (less probable). I only got a good PHP without these modules.
    If someone find anything else please post it.
    Inregistrare Domenii & Gazduire Web
    http://www.hostvision.ro

Similar Threads & Tags
Similar threads

  1. cpio: open failed - Permission denied
    By sanjuabrahamk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-26-2009, 10:19 AM
  2. Replies: 1
    Last Post: 11-13-2007, 10:32 AM
  3. Permission denied: failed to open tmp/
    By pats in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2006, 04:40 AM
  4. Replies: 1
    Last Post: 01-21-2006, 11:29 AM
  5. Permission denied when trying to open /etc/named.conf via SS
    By ThunderHostingDotCom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2002, 08:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube